diff options
| author | nicolasroard <nicolasroard@google.com> | 2013-09-12 15:01:09 -0700 |
|---|---|---|
| committer | nicolasroard <nicolasroard@google.com> | 2013-09-12 15:01:38 -0700 |
| commit | 80be412507340d47fc9dbb8a23ba2628f4e3ad1f (patch) | |
| tree | 86d219a687b20d93e2fb483b8923e76c32653b31 | |
| parent | e10fd68874fa3cff0e5c3ca07f1e5b9d40be1299 (diff) | |
| download | android_packages_apps_Gallery2-80be412507340d47fc9dbb8a23ba2628f4e3ad1f.tar.gz android_packages_apps_Gallery2-80be412507340d47fc9dbb8a23ba2628f4e3ad1f.tar.bz2 android_packages_apps_Gallery2-80be412507340d47fc9dbb8a23ba2628f4e3ad1f.zip | |
Fix triangle indicator
bug:10705772
Change-Id: Ib79f9894c57c77c12f8364fc689638a0aad582e6
| -rw-r--r-- | res/drawable/filtershow_menu_marker.png | bin | 1164 -> 1196 bytes | |||
| -rw-r--r-- | res/layout-land/filtershow_editor_panel.xml | 1 | ||||
| -rw-r--r-- | res/layout/filtershow_editor_panel.xml | 4 | ||||
| -rw-r--r-- | src/com/android/gallery3d/filtershow/editors/Editor.java | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/res/drawable/filtershow_menu_marker.png b/res/drawable/filtershow_menu_marker.png Binary files differindex 1537a7169..cf720e129 100644 --- a/res/drawable/filtershow_menu_marker.png +++ b/res/drawable/filtershow_menu_marker.png diff --git a/res/layout-land/filtershow_editor_panel.xml b/res/layout-land/filtershow_editor_panel.xml index e49725236..18b13a43a 100644 --- a/res/layout-land/filtershow_editor_panel.xml +++ b/res/layout-land/filtershow_editor_panel.xml @@ -84,7 +84,6 @@ android:layout_height="fill_parent" android:layout_gravity="center" android:background="@android:color/transparent" - android:gravity="center" android:text="@string/apply_effect" android:textSize="18dip" android:drawableRight="@drawable/filtershow_menu_marker" diff --git a/res/layout/filtershow_editor_panel.xml b/res/layout/filtershow_editor_panel.xml index 7332657a4..dd915352c 100644 --- a/res/layout/filtershow_editor_panel.xml +++ b/res/layout/filtershow_editor_panel.xml @@ -87,11 +87,11 @@ android:layout_height="fill_parent" android:layout_gravity="center" android:background="@android:color/transparent" - android:gravity="center" android:text="@string/apply_effect" android:textSize="18dip" android:drawableRight="@drawable/filtershow_menu_marker" - android:textAllCaps="true" /> + android:textAllCaps="true" + /> </LinearLayout> diff --git a/src/com/android/gallery3d/filtershow/editors/Editor.java b/src/com/android/gallery3d/filtershow/editors/Editor.java index 5f8e8f6f6..59ad1b6a6 100644 --- a/src/com/android/gallery3d/filtershow/editors/Editor.java +++ b/src/com/android/gallery3d/filtershow/editors/Editor.java @@ -285,7 +285,7 @@ public class Editor implements OnSeekBarChangeListener, SwapButton.SwapButtonLis protected void setMenuIcon(boolean on) { mEditTitle.setCompoundDrawablesRelativeWithIntrinsicBounds( - 0, 0, on ? R.drawable.filtershow_menu_marker : 0, 0); + 0, 0, 0, on ? R.drawable.filtershow_menu_marker : 0); } protected void createMenu(int[] strId, View button) { |
