summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/drawable/filtershow_background.pngbin0 -> 653905 bytes
-rwxr-xr-xres/drawable/filtershow_border_black.9.pngbin0 -> 688 bytes
-rwxr-xr-xres/drawable/filtershow_border_film.pngbin0 -> 36176 bytes
-rw-r--r--res/drawable/filtershow_border_film2.9.pngbin0 -> 22656 bytes
-rw-r--r--res/drawable/filtershow_border_film3.9.pngbin0 -> 23574 bytes
-rwxr-xr-xres/drawable/filtershow_border_rounded_black.9.pngbin0 -> 1113 bytes
-rwxr-xr-xres/drawable/filtershow_border_rounded_white.9.pngbin0 -> 1219 bytes
-rw-r--r--res/drawable/filtershow_border_scratch3.9.pngbin0 -> 16043 bytes
-rwxr-xr-xres/drawable/filtershow_border_white.9.pngbin0 -> 687 bytes
-rw-r--r--res/drawable/filtershow_button_background.xml8
-rw-r--r--res/drawable/filtershow_button_border.pngbin0 -> 1021 bytes
-rw-r--r--res/drawable/filtershow_button_colors.pngbin0 -> 1277 bytes
-rw-r--r--res/drawable/filtershow_button_colors_contrast.pngbin0 -> 1218 bytes
-rw-r--r--res/drawable/filtershow_button_colors_curve.pngbin0 -> 1574 bytes
-rw-r--r--res/drawable/filtershow_button_colors_sharpen.pngbin0 -> 1378 bytes
-rw-r--r--res/drawable/filtershow_button_colors_vignette.pngbin0 -> 2147 bytes
-rw-r--r--res/drawable/filtershow_button_current.pngbin0 -> 1355 bytes
-rw-r--r--res/drawable/filtershow_button_fx.pngbin0 -> 1115 bytes
-rw-r--r--res/drawable/filtershow_button_geometry.pngbin0 -> 975 bytes
-rw-r--r--res/drawable/filtershow_button_geometry_crop.pngbin0 -> 999 bytes
-rw-r--r--res/drawable/filtershow_button_geometry_flip.pngbin0 -> 1809 bytes
-rw-r--r--res/drawable/filtershow_button_geometry_rotate.pngbin0 -> 2185 bytes
-rw-r--r--res/drawable/filtershow_button_geometry_straighten.pngbin0 -> 3104 bytes
-rw-r--r--res/drawable/filtershow_button_operations.pngbin0 -> 1270 bytes
-rw-r--r--res/drawable/filtershow_button_origin.pngbin0 -> 1069 bytes
-rw-r--r--res/drawable/filtershow_button_redo.pngbin0 -> 964 bytes
-rw-r--r--res/drawable/filtershow_button_selected_background.9.pngbin0 -> 2885 bytes
-rw-r--r--res/drawable/filtershow_button_settings.pngbin0 -> 1062 bytes
-rw-r--r--res/drawable/filtershow_button_show_original.pngbin0 -> 1738 bytes
-rw-r--r--res/drawable/filtershow_button_undo.pngbin0 -> 965 bytes
-rw-r--r--res/layout/filtershow_activity.xml323
-rw-r--r--res/layout/filtershow_history_operation_row.xml57
-rw-r--r--res/menu/filtershow_activity_menu.xml5
-rw-r--r--res/menu/filtershow_menu_curves.xml18
-rw-r--r--res/values/filtershow_color.xml24
-rw-r--r--res/values/filtershow_strings.xml49
-rw-r--r--res/values/filtershow_styles.xml55
-rw-r--r--res/values/filtershow_values_attrs.xml22
38 files changed, 561 insertions, 0 deletions
diff --git a/res/drawable/filtershow_background.png b/res/drawable/filtershow_background.png
new file mode 100644
index 000000000..e7646c33a
--- /dev/null
+++ b/res/drawable/filtershow_background.png
Binary files differ
diff --git a/res/drawable/filtershow_border_black.9.png b/res/drawable/filtershow_border_black.9.png
new file mode 100755
index 000000000..24bb5e11d
--- /dev/null
+++ b/res/drawable/filtershow_border_black.9.png
Binary files differ
diff --git a/res/drawable/filtershow_border_film.png b/res/drawable/filtershow_border_film.png
new file mode 100755
index 000000000..9fbd637c1
--- /dev/null
+++ b/res/drawable/filtershow_border_film.png
Binary files differ
diff --git a/res/drawable/filtershow_border_film2.9.png b/res/drawable/filtershow_border_film2.9.png
new file mode 100644
index 000000000..bef5e1061
--- /dev/null
+++ b/res/drawable/filtershow_border_film2.9.png
Binary files differ
diff --git a/res/drawable/filtershow_border_film3.9.png b/res/drawable/filtershow_border_film3.9.png
new file mode 100644
index 000000000..8ce70cb94
--- /dev/null
+++ b/res/drawable/filtershow_border_film3.9.png
Binary files differ
diff --git a/res/drawable/filtershow_border_rounded_black.9.png b/res/drawable/filtershow_border_rounded_black.9.png
new file mode 100755
index 000000000..590a34393
--- /dev/null
+++ b/res/drawable/filtershow_border_rounded_black.9.png
Binary files differ
diff --git a/res/drawable/filtershow_border_rounded_white.9.png b/res/drawable/filtershow_border_rounded_white.9.png
new file mode 100755
index 000000000..4ddc97a19
--- /dev/null
+++ b/res/drawable/filtershow_border_rounded_white.9.png
Binary files differ
diff --git a/res/drawable/filtershow_border_scratch3.9.png b/res/drawable/filtershow_border_scratch3.9.png
new file mode 100644
index 000000000..7552785cd
--- /dev/null
+++ b/res/drawable/filtershow_border_scratch3.9.png
Binary files differ
diff --git a/res/drawable/filtershow_border_white.9.png b/res/drawable/filtershow_border_white.9.png
new file mode 100755
index 000000000..d8c88267e
--- /dev/null
+++ b/res/drawable/filtershow_border_white.9.png
Binary files differ
diff --git a/res/drawable/filtershow_button_background.xml b/res/drawable/filtershow_button_background.xml
new file mode 100644
index 000000000..ee8a92dd9
--- /dev/null
+++ b/res/drawable/filtershow_button_background.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:drawable="@android:color/holo_blue_light" android:state_pressed="true"/>
+ <item android:drawable="@drawable/filtershow_button_selected_background" android:state_selected="true"/>
+ <item android:drawable="@android:color/transparent" android:state_selected="false"/>
+
+</selector> \ No newline at end of file
diff --git a/res/drawable/filtershow_button_border.png b/res/drawable/filtershow_button_border.png
new file mode 100644
index 000000000..69195a902
--- /dev/null
+++ b/res/drawable/filtershow_button_border.png
Binary files differ
diff --git a/res/drawable/filtershow_button_colors.png b/res/drawable/filtershow_button_colors.png
new file mode 100644
index 000000000..566773dbe
--- /dev/null
+++ b/res/drawable/filtershow_button_colors.png
Binary files differ
diff --git a/res/drawable/filtershow_button_colors_contrast.png b/res/drawable/filtershow_button_colors_contrast.png
new file mode 100644
index 000000000..ccb2dc630
--- /dev/null
+++ b/res/drawable/filtershow_button_colors_contrast.png
Binary files differ
diff --git a/res/drawable/filtershow_button_colors_curve.png b/res/drawable/filtershow_button_colors_curve.png
new file mode 100644
index 000000000..7046bd8dd
--- /dev/null
+++ b/res/drawable/filtershow_button_colors_curve.png
Binary files differ
diff --git a/res/drawable/filtershow_button_colors_sharpen.png b/res/drawable/filtershow_button_colors_sharpen.png
new file mode 100644
index 000000000..2bd0fff6d
--- /dev/null
+++ b/res/drawable/filtershow_button_colors_sharpen.png
Binary files differ
diff --git a/res/drawable/filtershow_button_colors_vignette.png b/res/drawable/filtershow_button_colors_vignette.png
new file mode 100644
index 000000000..ac3d53fa9
--- /dev/null
+++ b/res/drawable/filtershow_button_colors_vignette.png
Binary files differ
diff --git a/res/drawable/filtershow_button_current.png b/res/drawable/filtershow_button_current.png
new file mode 100644
index 000000000..8c4b379b5
--- /dev/null
+++ b/res/drawable/filtershow_button_current.png
Binary files differ
diff --git a/res/drawable/filtershow_button_fx.png b/res/drawable/filtershow_button_fx.png
new file mode 100644
index 000000000..c887fe4d1
--- /dev/null
+++ b/res/drawable/filtershow_button_fx.png
Binary files differ
diff --git a/res/drawable/filtershow_button_geometry.png b/res/drawable/filtershow_button_geometry.png
new file mode 100644
index 000000000..4b8f3b881
--- /dev/null
+++ b/res/drawable/filtershow_button_geometry.png
Binary files differ
diff --git a/res/drawable/filtershow_button_geometry_crop.png b/res/drawable/filtershow_button_geometry_crop.png
new file mode 100644
index 000000000..eb7da1b21
--- /dev/null
+++ b/res/drawable/filtershow_button_geometry_crop.png
Binary files differ
diff --git a/res/drawable/filtershow_button_geometry_flip.png b/res/drawable/filtershow_button_geometry_flip.png
new file mode 100644
index 000000000..dd74813a7
--- /dev/null
+++ b/res/drawable/filtershow_button_geometry_flip.png
Binary files differ
diff --git a/res/drawable/filtershow_button_geometry_rotate.png b/res/drawable/filtershow_button_geometry_rotate.png
new file mode 100644
index 000000000..fa50ce26f
--- /dev/null
+++ b/res/drawable/filtershow_button_geometry_rotate.png
Binary files differ
diff --git a/res/drawable/filtershow_button_geometry_straighten.png b/res/drawable/filtershow_button_geometry_straighten.png
new file mode 100644
index 000000000..309eb5ae2
--- /dev/null
+++ b/res/drawable/filtershow_button_geometry_straighten.png
Binary files differ
diff --git a/res/drawable/filtershow_button_operations.png b/res/drawable/filtershow_button_operations.png
new file mode 100644
index 000000000..79e9a446b
--- /dev/null
+++ b/res/drawable/filtershow_button_operations.png
Binary files differ
diff --git a/res/drawable/filtershow_button_origin.png b/res/drawable/filtershow_button_origin.png
new file mode 100644
index 000000000..0cd0bc28b
--- /dev/null
+++ b/res/drawable/filtershow_button_origin.png
Binary files differ
diff --git a/res/drawable/filtershow_button_redo.png b/res/drawable/filtershow_button_redo.png
new file mode 100644
index 000000000..9daa01c34
--- /dev/null
+++ b/res/drawable/filtershow_button_redo.png
Binary files differ
diff --git a/res/drawable/filtershow_button_selected_background.9.png b/res/drawable/filtershow_button_selected_background.9.png
new file mode 100644
index 000000000..bb412454c
--- /dev/null
+++ b/res/drawable/filtershow_button_selected_background.9.png
Binary files differ
diff --git a/res/drawable/filtershow_button_settings.png b/res/drawable/filtershow_button_settings.png
new file mode 100644
index 000000000..df3925aca
--- /dev/null
+++ b/res/drawable/filtershow_button_settings.png
Binary files differ
diff --git a/res/drawable/filtershow_button_show_original.png b/res/drawable/filtershow_button_show_original.png
new file mode 100644
index 000000000..925954beb
--- /dev/null
+++ b/res/drawable/filtershow_button_show_original.png
Binary files differ
diff --git a/res/drawable/filtershow_button_undo.png b/res/drawable/filtershow_button_undo.png
new file mode 100644
index 000000000..0a7e0d1b8
--- /dev/null
+++ b/res/drawable/filtershow_button_undo.png
Binary files differ
diff --git a/res/layout/filtershow_activity.xml b/res/layout/filtershow_activity.xml
new file mode 100644
index 000000000..1521585ad
--- /dev/null
+++ b/res/layout/filtershow_activity.xml
@@ -0,0 +1,323 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <LinearLayout
+ android:id="@+id/historyPanel"
+ android:layout_width="200dip"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:visibility="invisible" >
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@android:color/transparent"
+ android:gravity="center"
+ android:padding="2dip"
+ android:text="@string/history"
+ android:textColor="@android:color/white"
+ android:textSize="24sp"
+ android:textStyle="bold" />
+
+ <ListView
+ android:id="@+id/operationsList"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" >
+ </ListView>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <Button
+ android:id="@+id/resetOperationsButton"
+ style="@style/FilterShowHistoryButton"
+ android:text="@string/reset" />
+
+ <Button
+ android:id="@+id/saveOperationsButton"
+ style="@style/FilterShowHistoryButton"
+ android:text="@string/save" />
+ </LinearLayout>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/mainPanel"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layerType="hardware"
+ android:orientation="vertical" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="48dip" >
+
+ <Button
+ android:id="@+id/saveButton"
+ style="@style/FilterShowTopButton"
+ android:layout_weight="1"
+ android:gravity="center_vertical|left"
+ android:text="@string/done" />
+
+ <ImageButton
+ android:id="@+id/showOriginalButton"
+ style="@style/FilterShowTopButton"
+ android:src="@drawable/filtershow_button_show_original" />
+
+ <ImageButton
+ android:id="@+id/undoButton"
+ style="@style/FilterShowTopButton"
+ android:src="@drawable/filtershow_button_undo" />
+
+ <ImageButton
+ android:id="@+id/redoButton"
+ style="@style/FilterShowTopButton"
+ android:src="@drawable/filtershow_button_redo" />
+
+ <ImageButton
+ android:id="@+id/operationsButton"
+ style="@style/FilterShowTopButton"
+ android:src="@drawable/filtershow_button_operations" />
+
+ </LinearLayout>
+
+ <com.android.gallery3d.filtershow.imageshow.ImageShow
+ android:id="@+id/imageShow"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <com.android.gallery3d.filtershow.imageshow.ImageStraighten
+ android:id="@+id/imageStraighten"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:visibility="gone" />
+
+ <com.android.gallery3d.filtershow.ui.ImageCurves
+ android:id="@+id/imageCurves"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:visibility="gone" />
+
+ <com.android.gallery3d.filtershow.imageshow.ImageBorder
+ android:id="@+id/imageBorder"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:visibility="gone" />
+
+ <HorizontalScrollView
+ android:id="@+id/fxList"
+ android:layout_width="match_parent"
+ android:layout_height="96dip" >
+
+ <LinearLayout
+ android:id="@+id/listFilters"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="horizontal" >
+ </LinearLayout>
+ </HorizontalScrollView>
+
+ <HorizontalScrollView
+ android:id="@+id/bordersList"
+ android:layout_width="match_parent"
+ android:layout_height="96dip"
+ android:visibility="gone" >
+
+ <LinearLayout
+ android:id="@+id/listBorders"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="horizontal" >
+ </LinearLayout>
+ </HorizontalScrollView>
+
+ <HorizontalScrollView
+ android:id="@+id/gemoetryList"
+ android:layout_width="fill_parent"
+ android:layout_height="96dip"
+ android:background="@color/background_toolbar"
+ android:visibility="gone" >
+
+ <LinearLayout
+ android:id="@+id/listGeometry"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:orientation="horizontal" >
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/straightenButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_geometry_straighten"
+ android:text="@string/straighten" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/cropButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_geometry_crop"
+ android:text="@string/crop" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/rotateButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_geometry_rotate"
+ android:text="@string/rotate" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/flipButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_geometry_flip"
+ android:text="@string/flip" />
+ </LinearLayout>
+ </HorizontalScrollView>
+
+ <HorizontalScrollView
+ android:id="@+id/colorsFxList"
+ android:layout_width="fill_parent"
+ android:layout_height="96dip"
+ android:background="@color/background_toolbar"
+ android:visibility="gone" >
+
+ <LinearLayout
+ android:id="@+id/listColorsFx"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/vignetteButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_vignette"
+ android:text="@string/vignette" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/curvesButtonRGB"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_curve"
+ android:text="@string/curvesRGB" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/curvesButtonRed"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_curve"
+ android:text="@string/curvesRed" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/curvesButtonGreen"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_curve"
+ android:text="@string/curvesGreen" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/curvesButtonBlue"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_curve"
+ android:text="@string/curvesBlue" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/sharpenButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_sharpen"
+ android:text="@string/sharpen" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/vibranceButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_contrast"
+ android:text="@string/vibrance" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/contrastButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_contrast"
+ android:text="@string/contrast" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/saturationButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_contrast"
+ android:text="@string/saturation" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/exposureButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_contrast"
+ android:text="@string/exposure" />
+
+ <com.android.gallery3d.filtershow.ui.ImageButtonTitle
+ android:id="@+id/shadowRecoveryButton"
+ style="@style/FilterShowBottomButton"
+ android:src="@drawable/filtershow_button_colors_contrast"
+ android:text="@string/shadow_recovery" />
+ </LinearLayout>
+ </HorizontalScrollView>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="48dip"
+ android:background="@color/background_main_toolbar" >
+
+ <ImageButton
+ android:id="@+id/fxButton"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_button_background"
+ android:scaleType="centerInside"
+ android:src="@drawable/filtershow_button_fx" />
+
+ <ImageButton
+ android:id="@+id/borderButton"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_button_background"
+ android:padding="2dip"
+ android:scaleType="centerInside"
+ android:src="@drawable/filtershow_button_border" />
+
+ <ImageButton
+ android:id="@+id/geometryButton"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_button_background"
+ android:padding="2dip"
+ android:scaleType="centerInside"
+ android:src="@drawable/filtershow_button_geometry" />
+
+ <ImageButton
+ android:id="@+id/colorsButton"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_button_background"
+ android:padding="2dip"
+ android:scaleType="centerInside"
+ android:src="@drawable/filtershow_button_colors" />
+ </LinearLayout>
+ </LinearLayout>
+
+</AbsoluteLayout>
diff --git a/res/layout/filtershow_history_operation_row.xml b/res/layout/filtershow_history_operation_row.xml
new file mode 100644
index 000000000..6f9ea1b8f
--- /dev/null
+++ b/res/layout/filtershow_history_operation_row.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:background="@drawable/filtershow_button_background">
+
+ <ImageView
+ android:id="@+id/selectedMark"
+ android:src="@drawable/filtershow_button_current"
+ android:background="@android:color/transparent"
+ android:layout_width="32dip"
+ android:layout_height="match_parent"
+ android:scaleType="centerInside"
+ android:visibility="invisible"
+ >
+ </ImageView>
+
+ <TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/rowTextView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:padding="10dip"
+ android:textSize="16dip" >
+ </TextView>
+
+ <ImageView
+ android:id="@+id/typeMark"
+ android:src="@drawable/filtershow_button_origin"
+ android:background="@android:color/transparent"
+ android:layout_width="32dip"
+ android:layout_height="match_parent"
+ android:scaleType="centerInside"
+ android:paddingRight="4dip"
+ android:visibility="visible"
+ >
+ </ImageView>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/menu/filtershow_activity_menu.xml b/res/menu/filtershow_activity_menu.xml
new file mode 100644
index 000000000..44a11e7db
--- /dev/null
+++ b/res/menu/filtershow_activity_menu.xml
@@ -0,0 +1,5 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:id="@+id/menu_settings"
+ android:title="@string/menu_settings"
+ android:orderInCategory="100" />
+</menu>
diff --git a/res/menu/filtershow_menu_curves.xml b/res/menu/filtershow_menu_curves.xml
new file mode 100644
index 000000000..fe190213a
--- /dev/null
+++ b/res/menu/filtershow_menu_curves.xml
@@ -0,0 +1,18 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <group android:id="@+id/group_popupmenu" >
+ <item
+ android:id="@+id/menu1"
+ android:title="@string/curves_channel_rgb"/>
+ <item
+ android:id="@+id/menu2"
+ android:title="@string/curves_channel_red"/>
+ <item
+ android:id="@+id/menu3"
+ android:title="@string/curves_channel_green"/>
+ <item
+ android:id="@+id/menu4"
+ android:title="@string/curves_channel_blue"/>
+ </group>
+
+</menu> \ No newline at end of file
diff --git a/res/values/filtershow_color.xml b/res/values/filtershow_color.xml
new file mode 100644
index 000000000..2d097edaf
--- /dev/null
+++ b/res/values/filtershow_color.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+ <color name="yellow">#FFFF00</color>
+ <color name="green">#00FF00</color>
+ <color name="red">#FF0000</color>
+ <color name="blue">#0000FF</color>
+ <color name="text_toolbar">#FFFFFF</color>
+ <color name="background_toolbar">#363949</color>
+ <color name="background_main_toolbar">#1e2028</color>
+</resources> \ No newline at end of file
diff --git a/res/values/filtershow_strings.xml b/res/values/filtershow_strings.xml
new file mode 100644
index 000000000..3a0a3afba
--- /dev/null
+++ b/res/values/filtershow_strings.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+
+ <string name="app_name">FilterShow</string>
+ <string name="menu_settings">Settings</string>
+ <string name="title_activity_filter_show">FilterShowActivity</string>
+ <string name="save">Save</string>
+ <string name="done">Done</string>
+ <string name="history">History</string>
+ <string name="reset">Reset</string>
+ <string name="undo">Undo</string>
+ <string name="redo">Redo</string>
+ <string name="straighten">Straighten</string>
+ <string name="crop">Crop</string>
+ <string name="rotate">Rotate</string>
+ <string name="flip">Flip</string>
+ <string name="vignette">Vignette</string>
+ <string name="curvesRGB">Curves (RGB)</string>
+ <string name="curvesRed">Curves (Red)</string>
+ <string name="curvesGreen">Curves (Green)</string>
+ <string name="curvesBlue">Curves (Blue)</string>
+ <string name="sharpen">Sharpen</string>
+ <string name="contrast">Contrast</string>
+ <string name="vibrance">Vibrance</string>
+ <string name="exposure">Exposure</string>
+ <string name="saturation">Saturation</string>
+ <string name="shadow_recovery">Shadow Recovery</string>
+ <string name="curves_channel">Channel</string>
+ <string name="curves_channel_rgb">RGB</string>
+ <string name="curves_channel_red">Red</string>
+ <string name="curves_channel_green">Green</string>
+ <string name="curves_channel_blue">Blue</string>
+
+</resources> \ No newline at end of file
diff --git a/res/values/filtershow_styles.xml b/res/values/filtershow_styles.xml
new file mode 100644
index 000000000..14d0d9446
--- /dev/null
+++ b/res/values/filtershow_styles.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<resources>
+
+ <style name="FilterShowHistoryButton">
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">48dip</item>
+ <item name="android:layout_weight">1</item>
+ <item name="android:background">@drawable/filtershow_button_background</item>
+ <item name="android:gravity">center</item>
+ <item name="android:padding">2dip</item>
+ <item name="android:textColor">@android:color/white</item>
+ <item name="android:textSize">18dip</item>
+ <item name="android:textStyle">bold</item>
+ </style>
+
+ <style name="FilterShowTopButton">
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:background">@drawable/filtershow_button_background</item>
+ <item name="android:gravity">center</item>
+ <item name="android:padding">8dip</item>
+ <item name="android:textColor">@android:color/white</item>
+ <item name="android:textSize">18dip</item>
+ <item name="android:textStyle">bold</item>
+ <item name="android:scaleType">centerInside</item>
+ </style>
+
+ <style name="FilterShowBottomButton">
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:background">@drawable/filtershow_button_background</item>
+ <item name="android:gravity">center</item>
+ <item name="android:paddingBottom">16dip</item>
+ <item name="android:textColor">@android:color/white</item>
+ <item name="android:textSize">18dip</item>
+ <item name="android:textStyle">bold</item>
+ <item name="android:scaleType">centerInside</item>
+ </style>
+
+</resources> \ No newline at end of file
diff --git a/res/values/filtershow_values_attrs.xml b/res/values/filtershow_values_attrs.xml
new file mode 100644
index 000000000..67c645dd8
--- /dev/null
+++ b/res/values/filtershow_values_attrs.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+ <declare-styleable name="ImageButtonTitle">
+ <attr name="android:text"/>
+ <attr name="android:textColor"/>
+ </declare-styleable>
+</resources> \ No newline at end of file