diff options
| author | wqi <wqi@codeaurora.org> | 2016-03-11 17:34:24 +0800 |
|---|---|---|
| committer | wqi <wqi@codeaurora.org> | 2016-03-11 17:35:15 +0800 |
| commit | 5f46d7af2c022ef7c32d19d30f7d9ee3f42c4c83 (patch) | |
| tree | 7833fe6fb26ed22720e810258f72d549ad2e6741 /res | |
| parent | ee586846cc5e3916398dc25fe59ed9f2601a4790 (diff) | |
| download | android_packages_apps_Gallery2-5f46d7af2c022ef7c32d19d30f7d9ee3f42c4c83.tar.gz android_packages_apps_Gallery2-5f46d7af2c022ef7c32d19d30f7d9ee3f42c4c83.tar.bz2 android_packages_apps_Gallery2-5f46d7af2c022ef7c32d19d30f7d9ee3f42c4c83.zip | |
Gallery2: Remove frame button in photo edit.
Remove frame button in photo edit and keep other buttons
average width of parent view.
Change-Id: I00dfa4cac6944f53ab0e94a109c3293cc6db3833
CRs-Fixed: 988037
Diffstat (limited to 'res')
| -rw-r--r-- | res/layout/filtershow_main_panel.xml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/res/layout/filtershow_main_panel.xml b/res/layout/filtershow_main_panel.xml index ee9990d3d..00d63c154 100644 --- a/res/layout/filtershow_main_panel.xml +++ b/res/layout/filtershow_main_panel.xml @@ -46,13 +46,13 @@ <LinearLayout android:id="@+id/effectsContainer" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="10dp" > <ImageButton android:id="@+id/fxButton" - android:layout_width="@dimen/thumbnail_size" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:background="@android:color/transparent" @@ -67,11 +67,12 @@ android:background="@android:color/transparent" android:padding="2dip" android:scaleType="centerInside" + android:visibility="gone" android:src="@drawable/frames" /> <ImageButton android:id="@+id/geometryButton" - android:layout_width="@dimen/thumbnail_size" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:background="@android:color/transparent" @@ -81,7 +82,7 @@ <ImageButton android:id="@+id/colorsButton" - android:layout_width="@dimen/thumbnail_size" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:background="@android:color/transparent" @@ -144,13 +145,13 @@ <LinearLayout android:id="@+id/effectsText" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="5dp" > <TextView android:id="@+id/tvColor" - android:layout_width="@dimen/thumbnail_size" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/color" @@ -166,11 +167,12 @@ android:text="@string/frames" android:textColor="#ffffff" android:gravity="center" + android:visibility="gone" android:textSize="@dimen/edit_main_font" /> <TextView android:id="@+id/tvCrop" - android:layout_width="@dimen/thumbnail_size" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/crop" @@ -180,7 +182,7 @@ <TextView android:id="@+id/tvExposure" - android:layout_width="@dimen/thumbnail_size" + android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="@string/exposure" |
