-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b0b7843
Showing
110 changed files
with
4,157 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.