summaryrefslogtreecommitdiffstats
path: root/res/layout/track_list_item_common_child.xml
diff options
context:
space:
mode:
authorgu1dry <markus.guidry@gmail.com>2012-01-16 20:45:56 -0500
committergu1dry <markus.guidry@gmail.com>2012-01-16 20:45:56 -0500
commit3a45622d7e2008bc32d577847bc7d07d07964665 (patch)
tree12e033226059d5594aab9c681854e77dd14b4f65 /res/layout/track_list_item_common_child.xml
parent4c5bbe32c29822c20c4189dd5604e867b71fa9c0 (diff)
downloadandroid_packages_apps_Eleven-3a45622d7e2008bc32d577847bc7d07d07964665.tar.gz
android_packages_apps_Eleven-3a45622d7e2008bc32d577847bc7d07d07964665.tar.bz2
android_packages_apps_Eleven-3a45622d7e2008bc32d577847bc7d07d07964665.zip
File layout cleanup.
Diffstat (limited to 'res/layout/track_list_item_common_child.xml')
-rw-r--r--res/layout/track_list_item_common_child.xml85
1 files changed, 85 insertions, 0 deletions
diff --git a/res/layout/track_list_item_common_child.xml b/res/layout/track_list_item_common_child.xml
new file mode 100644
index 0000000..711578a
--- /dev/null
+++ b/res/layout/track_list_item_common_child.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<merge xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true" />
+
+ <TextView
+ android:id="@+id/duration"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignBaseline="@id/line1"
+ android:layout_alignParentRight="true"
+ android:paddingLeft="4.0dip"
+ android:paddingRight="11.0dip"
+ android:singleLine="true"
+ android:textColor="#ff999999"
+ android:textSize="12.0sp"
+ android:textStyle="bold" />
+
+ <TextView
+ android:id="@+id/line1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_toLeftOf="@id/duration"
+ android:layout_toRightOf="@id/icon"
+ android:ellipsize="marquee"
+ android:paddingLeft="9.0dip"
+ android:paddingTop="9.0dip"
+ android:singleLine="true"
+ android:textAppearance="?android:textAppearanceSmall"
+ android:textColor="#ff171717" />
+
+ <TextView
+ android:id="@+id/line2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_below="@id/line1"
+ android:layout_toLeftOf="@id/duration"
+ android:layout_toRightOf="@id/icon"
+ android:ellipsize="end"
+ android:paddingLeft="9.0dip"
+ android:paddingTop="9.0dip"
+ android:scrollHorizontally="true"
+ android:singleLine="true"
+ android:textAppearance="?android:textAppearanceSmall"
+ android:textColor="#801f1f1f"
+ android:visibility="visible" />
+
+ <ImageView
+ android:id="@+id/play_indicator"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:layout_below="@id/duration"
+ android:layout_marginRight="42.0dip"
+ android:layout_marginTop="18.0dip" />
+
+ <FrameLayout
+ android:id="@+id/second_column_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentRight="true"
+ android:background="@drawable/btn_bg"
+ android:clickable="true"
+ android:paddingRight="4.0dip" >
+
+ <ImageView
+ android:id="@+id/CM"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_gravity="center"
+ android:layout_marginRight="5.0dip"
+ android:scaleType="centerInside"
+ android:src="@drawable/btn_context_menu_child" />
+ </FrameLayout>
+
+</merge> \ No newline at end of file