diff options
author | nicolasroard <nicolasroard@google.com> | 2013-04-08 20:54:45 -0700 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-04-08 20:57:24 -0700 |
commit | fa0ae38e43b574d9d67e58f47aa1e5a5a6e7f54a (patch) | |
tree | 84974158eb982d4d90cf5841ec84d417694cb9c1 /res | |
parent | 96f739af12ccb08351dc548d6851fd9bd9cdbcd1 (diff) | |
download | android_packages_apps_Snap-fa0ae38e43b574d9d67e58f47aa1e5a5a6e7f54a.tar.gz android_packages_apps_Snap-fa0ae38e43b574d9d67e58f47aa1e5a5a6e7f54a.tar.bz2 android_packages_apps_Snap-fa0ae38e43b574d9d67e58f47aa1e5a5a6e7f54a.zip |
Fix positioning of cancel/done buttons
Change-Id: Ie229a20d882841444ece28a3ab63cbc6ea916699
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/filtershow_editor_panel.xml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/res/layout/filtershow_editor_panel.xml b/res/layout/filtershow_editor_panel.xml index 2d085a802..2afd3b286 100644 --- a/res/layout/filtershow_editor_panel.xml +++ b/res/layout/filtershow_editor_panel.xml @@ -42,23 +42,23 @@ <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="94dip" android:layout_weight="1" android:background="@color/filtershow_background" android:orientation="horizontal" + android:baselineAligned="false" android:visibility="visible" > <ImageButton android:id="@+id/cancelFilter" android:layout_width="wrap_content" - android:layout_height="94dip" + android:layout_height="fill_parent" android:layout_gravity="left|center_vertical" - android:layout_weight=".1" android:background="@drawable/filtershow_button_background" + android:layout_weight=".1" android:gravity="center" android:src="@drawable/ic_menu_cancel_holo_light" - android:textSize="18dip" - style="@style/FilterShowBottomButton" /> + android:textSize="18dip" /> <ImageView android:layout_width="2dp" @@ -93,14 +93,13 @@ <ImageButton android:id="@+id/applyFilter" android:layout_width="wrap_content" - android:layout_height="94dip" + android:layout_height="fill_parent" android:layout_gravity="right|center_vertical" android:layout_weight=".1" android:background="@drawable/filtershow_button_background" android:gravity="center" android:src="@drawable/ic_menu_done_holo_light" - android:textSize="18dip" - style="@style/FilterShowBottomButton" /> + android:textSize="18dip" /> </LinearLayout> </LinearLayout> |