diff options
author | Wilhelm Fitzpatrick <rafial@cyngn.com> | 2014-10-16 14:42:15 -0700 |
---|---|---|
committer | linus_lee <llee@cyngn.com> | 2014-11-20 12:51:33 -0800 |
commit | b54c63fb2afa84d4cdc3003bd5e3b63884127212 (patch) | |
tree | 77a0ba49f8535b8325024e4b25d6375806fdba91 /res/layout/grid_items_normal.xml | |
parent | 71009ac868432fef9891ff0957c8c2dd061c5238 (diff) | |
download | android_packages_apps_Eleven-b54c63fb2afa84d4cdc3003bd5e3b63884127212.tar.gz android_packages_apps_Eleven-b54c63fb2afa84d4cdc3003bd5e3b63884127212.tar.bz2 android_packages_apps_Eleven-b54c63fb2afa84d4cdc3003bd5e3b63884127212.zip |
Eleven: updated Album Tab to v2 redlines
Had to partially redo the AlbumAdapter to get the top padding to
scroll correctly, since GridView doesn't natively support headers
Change-Id: I856712a5d215d0a684fff87187fce8d37e519d5a
Diffstat (limited to 'res/layout/grid_items_normal.xml')
-rw-r--r-- | res/layout/grid_items_normal.xml | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/res/layout/grid_items_normal.xml b/res/layout/grid_items_normal.xml index 91f9374..320a926 100644 --- a/res/layout/grid_items_normal.xml +++ b/res/layout/grid_items_normal.xml @@ -28,21 +28,26 @@ android:background="@drawable/cardcontainer" android:paddingLeft="@dimen/grid_item_padding_left" > - <TextView - android:id="@+id/line_one" - style="@style/ListItemMainText.Grid.Single" + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_toLeftOf="@+id/popup_menu_button"/> + android:orientation="vertical" + android:layout_centerVertical="true" + android:layout_toLeftOf="@+id/popup_menu_button"> - <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:layout_toLeftOf="@id/popup_menu_button" /> + <TextView + android:id="@+id/line_one" + style="@style/ListItemMainText.Grid.Single" + android:paddingBottom="1dp" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <TextView + android:id="@+id/line_two" + style="@style/ListItemSecondaryText.Grid.Single" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + </LinearLayout> <com.cyngn.eleven.widgets.PopupMenuButton android:id="@id/popup_menu_button" @@ -50,6 +55,7 @@ android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_centerVertical="true" + android:paddingRight="@dimen/grid_item_padding_right" android:src="@drawable/menu_button" /> </RelativeLayout> |