summaryrefslogtreecommitdiffstats
path: root/res/layout/grid_items_normal.xml
diff options
context:
space:
mode:
authorlinus_lee <llee@cyngn.com>2014-09-03 19:48:29 -0700
committerlinus_lee <llee@cyngn.com>2014-11-20 11:59:13 -0800
commitb423f726267635f6dfea55d9d612afa99ec8dc51 (patch)
treec6e714dd07cca4ad8509df5e1fc053e9c13d561d /res/layout/grid_items_normal.xml
parent32e9492d3d5d0fae297af88865cfc3cfc22e27c1 (diff)
downloadandroid_packages_apps_Eleven-b423f726267635f6dfea55d9d612afa99ec8dc51.tar.gz
android_packages_apps_Eleven-b423f726267635f6dfea55d9d612afa99ec8dc51.tar.bz2
android_packages_apps_Eleven-b423f726267635f6dfea55d9d612afa99ec8dc51.zip
Eleven: lots of ui tweaks (fonts, padding, grid layout) and cancel tasks smarter
Change-Id: Ifffd2ef386c301d546d4182bc5c3bf303194021c
Diffstat (limited to 'res/layout/grid_items_normal.xml')
-rw-r--r--res/layout/grid_items_normal.xml22
1 files changed, 8 insertions, 14 deletions
diff --git a/res/layout/grid_items_normal.xml b/res/layout/grid_items_normal.xml
index 69c447d..f61af9a 100644
--- a/res/layout/grid_items_normal.xml
+++ b/res/layout/grid_items_normal.xml
@@ -16,37 +16,31 @@
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:gravity="center_vertical" >
<include layout="@layout/square_image_view" />
<RelativeLayout
android:layout_width="match_parent"
- android:layout_height="@dimen/item_normal_height"
- android:layout_alignParentBottom="true"
- android:background="@color/transparent_black"
- android:gravity="center_vertical"
+ android:layout_height="@dimen/grid_bottom_height"
+ android:layout_below="@+id/square_view"
+ android:background="@drawable/cardcontainer"
android:paddingLeft="@dimen/grid_item_padding_left" >
<TextView
android:id="@+id/line_one"
+ style="@style/ListItemMainText.Grid.Single"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:maxLines="2"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold" />
+ android:layout_alignParentTop="true" />
<TextView
android:id="@+id/line_two"
+ style="@style/ListItemSecondaryText.Grid.Single"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@+id/line_one"
- android:singleLine="true"
- android:textColor="@color/transparent_white"
- android:textSize="@dimen/text_size_small" />
+ android:layout_below="@+id/line_one" />
</RelativeLayout>
</RelativeLayout> \ No newline at end of file