diff options
| author | John Hoford <hoford@google.com> | 2013-08-14 12:14:54 -0700 |
|---|---|---|
| committer | John Hoford <hoford@google.com> | 2013-08-14 12:14:54 -0700 |
| commit | 5d1cf1f9c8c6359905988e096b50f07ce326df21 (patch) | |
| tree | 78ccdde6f5f3f82a6b7d331148b1aecd5e995d11 /res/layout | |
| parent | 3130144bcd9403153b9385f9b91d4262d626a113 (diff) | |
| download | android_packages_apps_Gallery2-5d1cf1f9c8c6359905988e096b50f07ce326df21.tar.gz android_packages_apps_Gallery2-5d1cf1f9c8c6359905988e096b50f07ce326df21.tar.bz2 android_packages_apps_Gallery2-5d1cf1f9c8c6359905988e096b50f07ce326df21.zip | |
Add close button to info panel
Change-Id: Iba4c64af4e37bc3d03cc3cb1ee371158d210c5f8
Diffstat (limited to 'res/layout')
| -rw-r--r-- | res/layout/filtershow_info_panel.xml | 47 |
1 files changed, 44 insertions, 3 deletions
diff --git a/res/layout/filtershow_info_panel.xml b/res/layout/filtershow_info_panel.xml index e2da73f95..39446dfbf 100644 --- a/res/layout/filtershow_info_panel.xml +++ b/res/layout/filtershow_info_panel.xml @@ -18,8 +18,49 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - android:background="#3a4e56" - android:padding="16dp"> + android:background="#3a4e56"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:background="#222"> + + <ImageButton + android:id="@+id/cancelInfo" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_gravity="left|center_vertical" + android:background="@android:color/transparent" + android:layout_weight=".1" + android:gravity="left" + android:src="@drawable/ic_menu_cancel_holo_light" + android:textSize="18dip"/> + + <ImageView + android:layout_width="2dp" + android:layout_height="fill_parent" + android:src="@drawable/filtershow_vertical_bar"/> + + <TextView + style="?android:textAppearanceLarge" + android:textStyle="bold" + android:textColor="#fff" + android:layout_weight="1" + android:layout_gravity="left|center_vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="8dip" + android:text="@string/filtershow_show_info_panel"/> + + </LinearLayout> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:background="#3a4e56" + android:padding="16dp"> <ScrollView android:layout_width="match_parent" @@ -115,5 +156,5 @@ android:layout_height="wrap_content"/> </LinearLayout> </ScrollView> - + </LinearLayout> </LinearLayout>
\ No newline at end of file |
