OSDN Git Service

Fix triangle indicator
authornicolasroard <nicolasroard@google.com>
Thu, 12 Sep 2013 22:01:09 +0000 (15:01 -0700)
committernicolasroard <nicolasroard@google.com>
Thu, 12 Sep 2013 22:01:38 +0000 (15:01 -0700)
bug:10705772

Change-Id: Ib79f9894c57c77c12f8364fc689638a0aad582e6

res/drawable/filtershow_menu_marker.png
res/layout-land/filtershow_editor_panel.xml
res/layout/filtershow_editor_panel.xml
src/com/android/gallery3d/filtershow/editors/Editor.java

index 1537a71..cf720e1 100644 (file)
Binary files a/res/drawable/filtershow_menu_marker.png and b/res/drawable/filtershow_menu_marker.png differ
index e497252..18b13a4 100644 (file)
@@ -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"
index 7332657..dd91535 100644 (file)
                         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>
 
index 5f8e8f6..59ad1b6 100644 (file)
@@ -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) {