Skip to content

Commit

Permalink
Imported from bitMPC v2.0.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywarrior authored and Jille committed Dec 14, 2013
0 parents commit b0b7843
Show file tree
Hide file tree
Showing 110 changed files with 4,157 additions and 0 deletions.
18 changes: 18 additions & 0 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="bitendian.bitmpc" android:versionCode="1" android:versionName="1.0">
<application android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar" android:hasCode="true" android:icon="@drawable/icon">
<activity android:name="bitendian.bitmpc.activity.BitMPC"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="3" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<uses-permission android:name="android.permission.VIBRATE"></uses-permission>

</manifest>
Binary file added art/browse_file.xcf
Binary file not shown.
Binary file added art/browse_folder.xcf
Binary file not shown.
Binary file added art/browse_playlist.xcf
Binary file not shown.
Binary file added art/menu_about.xcf
Binary file not shown.
Binary file added art/menu_hosts.xcf
Binary file not shown.
Binary file added art/repeat_off.xcf
Binary file not shown.
Binary file added art/repeat_on.xcf
Binary file not shown.
Binary file added art/shuffle_off.xcf
Binary file not shown.
Binary file added art/shuffle_on.xcf
Binary file not shown.
Binary file added art/status_connect.xcf
Binary file not shown.
Binary file added art/tab_browse_selected.xcf
Binary file not shown.
Binary file added art/tab_browse_unselected.xcf
Binary file not shown.
Binary file added art/tab_playlist_selected.xcf
Binary file not shown.
Binary file added art/tab_playlist_unselected.xcf
Binary file not shown.
Binary file added art/tab_rss_selected.xcf
Binary file not shown.
Binary file added art/tab_rss_unselected.xcf
Binary file not shown.
Binary file added art/tab_search_selected.xcf
Binary file not shown.
Binary file added art/tab_search_unselected.xcf
Binary file not shown.
13 changes: 13 additions & 0 deletions default.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "build.properties", and override values to adapt the script to your
# project structure.

# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-3
40 changes: 40 additions & 0 deletions doc/bitmpc.faq
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
* Where player controls are?

All player controls, volume bar and URL player buttons appears when you slide the bottom panel (notice SLIDER label at middle bottom).

* How gestures works?

With gestures activated:
A gesture over item from left/middle to right, (at least 80 pixels) ending at right edge deletes playlist item
A gesture over item from right/middle to left, (at least 80 pixels) ending at left edge begins playlist item move.

* How move works?

With move state activated (by context menu or gesture) moving can be cancelled touching any other playlist item. Touching moving item lets drags item up or down. List can be scrolled while moving just keeping moving element on the top (or bottom) while touching.

* Can I handle the player without sliding the control panel?

Yes. The little icon at left on status bar is clickable.

click long click
playing pause stop
paused play stop
stoped play disconnect
disconnected connect not used

* Can I (de)activate repeat or random?

Yes. Status bar icons are clickable.

* How rss works?

As any other rss player. You can subscribe to your favorite podcasts on your bitmpc client and load any audio chapter on MPD server by clicking on it. All rss info (URL, picture) is saved on client. bitmpc loads rss audio resource like any other URL playing on server. Subscription is updated when needed, audio resources lists are not cached.

* bitmpc doesn't works on android X.Y in my Z device.

We're sorry. You can send us an email with your configuration and we'll try to run it on an emulator, and if it fails, we'll try to fix it. Or you can try to compile it for your platform and send us a how to or a patch. You can ask for source code emailing the authors.

* bitmpc is not eyecandy as others.

Well. We put all our effort on it, but [lamentablemente] we are not graphical designers. If you have some idea, or even better, if you have some graphic work to share with us, we'll very happy to integrate it in this application. (We are looking for some grey little icons for audio tags; like song, artist, genre... now)

Binary file added res/drawable/browse_file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/browse_folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/browse_playlist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/menu_about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/menu_hosts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/next.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/pause.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/play.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/previous.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/repeat_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/repeat_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions res/drawable/repeat_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="false" android:drawable="@drawable/repeat_off"/>
<item android:state_selected="true" android:drawable="@drawable/repeat_on"/>
</selector>
Binary file added res/drawable/search_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/shuffle_off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/shuffle_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions res/drawable/shuffle_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="false" android:drawable="@drawable/shuffle_off"/>
<item android:state_selected="true" android:drawable="@drawable/shuffle_on"/>
</selector>
Binary file added res/drawable/status_connect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/status_pause.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/status_play.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/status_stop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/stop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/tab_browse_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions res/drawable/tab_browse_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="false" android:drawable="@drawable/tab_browse_unselected"/>
<item android:state_selected="true" android:drawable="@drawable/tab_browse_selected"/>
</selector>
Binary file added res/drawable/tab_browse_unselected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/tab_playlist_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions res/drawable/tab_playlist_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="false" android:drawable="@drawable/tab_playlist_unselected"/>
<item android:state_selected="true" android:drawable="@drawable/tab_playlist_selected"/>
</selector>
Binary file added res/drawable/tab_playlist_unselected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable/tab_rss_selected.png
4 changes: 4 additions & 0 deletions res/drawable/tab_rss_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="false" android:drawable="@drawable/tab_rss_unselected"/>
<item android:state_selected="true" android:drawable="@drawable/tab_rss_selected"/>
</selector>
Binary file added res/drawable/tab_rss_unselected.png
Binary file added res/drawable/tab_search_selected.png
4 changes: 4 additions & 0 deletions res/drawable/tab_search_selector.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="false" android:drawable="@drawable/tab_search_unselected"/>
<item android:state_selected="true" android:drawable="@drawable/tab_search_selected"/>
</selector>
Binary file added res/drawable/tab_search_unselected.png
Binary file added res/drawable/url.png
56 changes: 56 additions & 0 deletions res/layout/about.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:gravity="top">
<ImageView android:layout_width="wrap_content" android:id="@+id/about_logo"
android:layout_height="wrap_content" android:src="@drawable/logo"
android:scaleType="fitStart">
</ImageView>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="horizontal" android:gravity="center_horizontal"
android:paddingTop="50px">
<TextView android:text="@string/app_name"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="horizontal"
android:paddingTop="10px" android:gravity="center_horizontal">
<TextView android:text="@string/about_version"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
<TextView android:text="@string/about_current"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="horizontal"
android:paddingTop="10px" android:gravity="center_horizontal">
<TextView android:text="@string/about_author"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
<TextView android:text="@string/about_juanan"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:orientation="horizontal"
android:paddingTop="10px" android:gravity="center_horizontal">
<TextView android:text="@string/about_email"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
<TextView android:text="@string/about_jguerrero"
android:layout_width="wrap_content" android:layout_height="wrap_content">
</TextView>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="horizontal" android:gravity="center_horizontal"
android:paddingTop="10px">
<TextView android:text="@string/about_url_app"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:autoLink="web">
</TextView>
</LinearLayout>
</LinearLayout>
65 changes: 65 additions & 0 deletions res/layout/connection.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:orientation="vertical"
android:layout_width="fill_parent">
<ScrollView android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent" android:orientation="vertical"
android:layout_width="fill_parent">
<TextView android:layout_height="wrap_content" android:text="@string/connection_name"
android:layout_width="wrap_content" style="@style/label"></TextView>
<EditText android:layout_height="wrap_content" android:id="@+id/connection_name"
android:layout_alignParentRight="true" android:layout_width="fill_parent"></EditText>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/connection_ip"
style="@style/label"></TextView>
<LinearLayout android:layout_height="wrap_content"
android:orientation="horizontal" android:layout_width="wrap_content"
android:gravity="right">
<EditText android:layout_height="wrap_content" android:id="@+id/connection_ip0"
android:width="50px" android:layout_width="50sp" android:digits="0123456789"
android:maxLength="3" android:selectAllOnFocus="true"
android:gravity="right" android:inputType="number"></EditText>
<EditText android:layout_height="wrap_content" android:id="@+id/connection_ip1"
android:width="50px" android:layout_width="50sp" android:digits="0123456789"
android:maxLength="3" android:gravity="right"
android:selectAllOnFocus="true" android:inputType="number"></EditText>
<EditText android:layout_height="wrap_content" android:id="@+id/connection_ip2"
android:width="50px" android:layout_width="50sp" android:digits="0123456789"
android:maxLength="3" android:gravity="right"
android:selectAllOnFocus="true" android:inputType="number"></EditText>
<EditText android:layout_height="wrap_content" android:id="@+id/connection_ip3"
android:width="50px" android:layout_width="50sp" android:digits="0123456789"
android:maxLength="3" android:selectAllOnFocus="true"
android:gravity="right" android:inputType="number"></EditText>
</LinearLayout>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/connection_port"
style="@style/label"></TextView>
<LinearLayout android:layout_height="wrap_content"
android:orientation="horizontal" android:layout_width="wrap_content">
<EditText android:layout_height="wrap_content" android:id="@+id/connection_port"
android:width="100px" android:layout_width="100sp"
android:maxLength="5" android:digits="0123456789" android:gravity="right"></EditText>
</LinearLayout>
<CheckBox android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/connection_auth"
android:id="@+id/connection_auth" style="@style/label"></CheckBox>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/connection_password"
style="@style/label"></TextView>
<EditText android:layout_height="wrap_content" android:id="@+id/connection_password"
android:layout_width="200px" android:password="true"></EditText>
<LinearLayout android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="right">
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@android:string/ok"
android:width="100px" android:id="@+id/connection_button_ok"></Button>
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@android:string/cancel"
android:width="100px" android:id="@+id/connection_button_cancel"></Button>
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
16 changes: 16 additions & 0 deletions res/layout/connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:paddingLeft="10sp"
android:paddingRight="10sp">
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@+id/connections_add"
android:text="@string/add"></Button>
<ListView android:layout_height="wrap_content" android:id="@+id/connections_connections"
android:layout_weight="1" android:layout_width="fill_parent">
</ListView>
<ToggleButton android:layout_height="wrap_content"
android:id="@+id/connections_connect" android:layout_width="fill_parent"
android:text="@string/hosts_connect">
</ToggleButton>
</LinearLayout>
60 changes: 60 additions & 0 deletions res/layout/control.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content" android:id="@+id/sliding_slider">
<SlidingDrawer android:layout_height="wrap_content"
android:handle="@+id/sliding_text" android:content="@+id/sliding_content"
android:layout_width="wrap_content" android:soundEffectsEnabled="true">
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="@string/playlist_slide"
android:id="@id/sliding_text" style="@style/label">
</TextView>
<LinearLayout android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@id/sliding_content"
android:orientation="vertical" android:background="#F0444444"
android:clickable="true" android:gravity="center_horizontal">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@id/sliding_content"
android:gravity="center_horizontal">
<ImageButton android:layout_width="wrap_content"
android:layout_weight="1" android:layout_height="wrap_content"
android:src="@drawable/previous" android:id="@+id/playlist_previous"
android:layout_marginTop="10px">
</ImageButton>
<ImageButton android:layout_width="wrap_content"
android:layout_weight="1" android:layout_height="wrap_content"
android:src="@drawable/stop" android:id="@+id/playlist_stop"
android:layout_marginTop="10px">
</ImageButton>
<ImageButton android:layout_width="wrap_content"
android:layout_weight="1" android:layout_height="wrap_content"
android:src="@drawable/play" android:id="@+id/playlist_play"
android:layout_marginTop="10px">
</ImageButton>
<ImageButton android:layout_width="wrap_content"
android:layout_weight="1" android:layout_height="wrap_content"
android:src="@drawable/pause" android:id="@+id/playlist_pause"
android:layout_marginTop="10px">
</ImageButton>
<ImageButton android:layout_width="wrap_content"
android:layout_weight="1" android:layout_height="wrap_content"
android:src="@drawable/next" android:id="@+id/playlist_next"
android:layout_marginTop="10px">
</ImageButton>
</LinearLayout>
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:id="@id/sliding_content"
android:paddingTop="5px" android:gravity="center_vertical">
<SeekBar android:id="@+id/playlist_volume"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="10px" android:layout_marginRight="10px"
android:layout_weight="1">
</SeekBar>
<ImageButton android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/url"
android:id="@+id/playlist_url" android:layout_margin="2px">
</ImageButton>
</LinearLayout>
</LinearLayout>
</SlidingDrawer>
</FrameLayout>
11 changes: 11 additions & 0 deletions res/layout/icon_listitem.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:gravity="center_vertical"
android:layout_height="wrap_content">
<ImageView android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@+id/icon_listitem_image"
android:padding="5sp"></ImageView>
<TextView android:layout_width="fill_parent" style="@style/listitem_main"
android:padding="5sp" android:gravity="center_vertical" android:id="@+id/icon_listitem_text"
android:lines="2" android:layout_height="wrap_content"></TextView>
</LinearLayout>
24 changes: 24 additions & 0 deletions res/layout/image_listitem.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:gravity="center_vertical"
android:layout_height="wrap_content">
<ImageView android:id="@+id/image_listitem_image"
android:padding="1sp" android:scaleType="fitCenter"
android:layout_width="64px" android:layout_height="64px"></ImageView>
<LinearLayout android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_weight="1"
android:orientation="vertical">
<TextView android:layout_height="wrap_content"
android:layout_width="fill_parent" style="@style/listitem_main"
android:paddingLeft="5sp" android:paddingRight="5sp"
android:paddingTop="2sp" android:paddingBottom="2sp" android:lines="2"
android:gravity="center_vertical" android:id="@+id/image_listitem_main">
</TextView>
<TextView android:layout_height="wrap_content"
android:layout_width="fill_parent" style="@style/listitem_sub"
android:paddingLeft="5sp" android:paddingRight="5sp"
android:paddingTop="2sp" android:paddingBottom="2sp" android:lines="1"
android:gravity="center_vertical" android:id="@+id/image_listitem_sub">
</TextView>
</LinearLayout>
</LinearLayout>
17 changes: 17 additions & 0 deletions res/layout/listitem.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="vertical" android:id="@+id/listitem_item">
<TextView android:layout_height="fill_parent"
android:layout_width="fill_parent" style="@style/listitem_main"
android:paddingLeft="5sp" android:paddingRight="5sp"
android:paddingTop="2sp" android:paddingBottom="2sp" android:lines="1"
android:gravity="center_vertical" android:id="@+id/listitem_main">
</TextView>
<TextView android:layout_height="fill_parent"
android:layout_width="fill_parent" style="@style/listitem_sub"
android:paddingLeft="5sp" android:paddingRight="5sp"
android:paddingTop="2sp" android:paddingBottom="2sp" android:lines="1"
android:gravity="center_vertical" android:id="@+id/listitem_sub">
</TextView>
</LinearLayout>
Loading

0 comments on commit b0b7843

Please sign in to comment.