OSDN Git Service

add support for black and white filters, add rotation API to tiny planet
authorJohn Hoford <hoford@google.com>
Tue, 23 Oct 2012 22:17:12 +0000 (15:17 -0700)
committerJohn Hoford <hoford@google.com>
Tue, 23 Oct 2012 22:55:48 +0000 (15:55 -0700)
bug:7386370
bug:7389189
Change-Id: I1720893000c39edf28a356fb7b56634f004ef120

res/layout/filtershow_activity.xml
res/values/filtershow_strings.xml

index 6cebb36..f6900b3 100644 (file)
                         android:src="@drawable/filtershow_button_colors_contrast"
                         android:text="@string/saturation" />
 
+                    <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+                        android:id="@+id/bwfilterButton"
+                        style="@style/FilterShowBottomButton"
+                        android:src="@drawable/filtershow_button_colors_contrast"
+                        android:text="@string/bwfilter" />
+
                 </LinearLayout>
             </HorizontalScrollView>
         </FrameLayout>
index 3862865..852ef74 100644 (file)
     <string name="vibrance">Vibrance</string>
     <!--  Label for the saturation filter button [CHAR LIMIT=15] -->
     <string name="saturation">Saturation</string>
+    <!--  Label for the BW filter button [CHAR LIMIT=15] -->
+    <string name="bwfilter">BW Filter</string>
     <!--  Label for the White Balance filter button [CHAR LIMIT=15] -->
     <string name="wbalance">Autocolor</string>
     <!--  Label for the Hue filter button [CHAR LIMIT=15] -->