diff options
author | jinwu <jinwu@codeaurora.org> | 2018-08-01 11:17:32 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-07-31 23:12:40 -0700 |
commit | 9f0b1bb88cd8a216b62d1fe89559fc088d92386d (patch) | |
tree | eff95c2955c9430f3167b2fa602efcda304c9b4e /res | |
parent | 2b2801858b3cf35ea9b06e1def8ec8836d08bc8a (diff) | |
download | android_packages_apps_Gallery2-9f0b1bb88cd8a216b62d1fe89559fc088d92386d.tar.gz android_packages_apps_Gallery2-9f0b1bb88cd8a216b62d1fe89559fc088d92386d.tar.bz2 android_packages_apps_Gallery2-9f0b1bb88cd8a216b62d1fe89559fc088d92386d.zip |
Fix the layout of editor panel.
Change-Id: Icef29d1cab42d735b6782636c9eeedd80d2493b4
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/filtershow_main_panel.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/res/layout/filtershow_main_panel.xml b/res/layout/filtershow_main_panel.xml index 5b0510a1c..74d0e0d4a 100644 --- a/res/layout/filtershow_main_panel.xml +++ b/res/layout/filtershow_main_panel.xml @@ -37,8 +37,8 @@ <FrameLayout android:id="@+id/category_panel_container" android:layout_width="match_parent" android:visibility="visible" - android:layout_height="0dip" - android:layout_gravity="center" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" android:paddingRight="5dp" android:paddingLeft="5dp" android:background="@color/crop_panel_background_color" @@ -49,5 +49,6 @@ android:layout_width="match_parent" android:layout_height="@dimen/bottom_panel_height" android:visibility="visible" - android:layout_gravity="center"/> + android:layout_gravity="center_horizontal" + android:layout_weight="1"/> </LinearLayout> |