summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-08-27 17:18:50 -0700
committerJohn Hoford <hoford@google.com>2013-08-29 11:13:36 -0700
commit37f8e432f4eb94d0ab483bfdc2a1fa024508e85f (patch)
treeffba4df533e758c6a7f9c6c1ef3471dbf75e59d8 /res/layout-land
parente40690d73eb611f3f461f51a2841e73bcbd01f79 (diff)
downloadandroid_packages_apps_Gallery2-37f8e432f4eb94d0ab483bfdc2a1fa024508e85f.tar.gz
android_packages_apps_Gallery2-37f8e432f4eb94d0ab483bfdc2a1fa024508e85f.tar.bz2
android_packages_apps_Gallery2-37f8e432f4eb94d0ab483bfdc2a1fa024508e85f.zip
vignette fix & enhance to remove center focus
Change-Id: Ide19925c5a9113518815d3aacc2204ef5ab9661d
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/filtershow_vignette_controls.xml119
1 files changed, 119 insertions, 0 deletions
diff --git a/res/layout-land/filtershow_vignette_controls.xml b/res/layout-land/filtershow_vignette_controls.xml
new file mode 100644
index 000000000..9bfb29f41
--- /dev/null
+++ b/res/layout-land/filtershow_vignette_controls.xml
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:fadeScrollbars="false">
+
+ <GridLayout
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:alignmentMode="alignBounds"
+ android:useDefaultMargins="true"
+ android:columnOrderPreserved="false"
+ android:columnCount="2">
+
+ <TextView
+ android:layout_gravity="left|center_vertical"
+ android:text="@string/vignette_exposure"
+ android:textStyle="bold"
+ android:layout_marginLeft="8dp"
+ android:visibility="gone"/>
+ <TextView
+ android:layout_gravity="right|center_vertical"
+ android:id="@+id/exposureValue"
+ android:layout_marginRight="16dp"
+ android:visibility="gone"/>
+ <SeekBar
+ android:id="@+id/exposureSeekBar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/FilterShowSlider"
+ android:layout_columnSpan="2"
+ android:visibility="gone"/>
+
+ <TextView
+ android:layout_gravity="left|center_vertical"
+ android:text="@string/vignette_saturation"
+ android:textStyle="bold"
+ android:layout_marginLeft="8dp"/>
+ <TextView
+ android:layout_gravity="right|center_vertical"
+ android:id="@+id/saturationValue"
+ android:layout_marginRight="16dp"/>
+ <SeekBar
+ android:id="@+id/saturationSeekBar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/FilterShowSlider"
+ android:layout_columnSpan="2"/>
+
+ <TextView
+ android:layout_gravity="left|center_vertical"
+ android:text="@string/vignette_contrast"
+ android:textStyle="bold"
+ android:layout_marginLeft="8dp"/>
+ <TextView
+ android:layout_gravity="right|center_vertical"
+ android:id="@+id/contrastValue"
+ android:layout_marginRight="16dp"/>
+ <SeekBar
+ android:id="@+id/contrastSeekBar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/FilterShowSlider"
+ android:layout_columnSpan="2"/>
+
+ <TextView
+ android:layout_gravity="left|center_vertical"
+ android:text="@string/vignette_falloff"
+ android:textStyle="bold"
+ android:layout_marginLeft="8dp"/>
+ <TextView
+ android:layout_gravity="right|center_vertical"
+ android:id="@+id/falloffValue"
+ android:layout_marginRight="16dp"/>
+ <SeekBar
+ android:id="@+id/falloffSeekBar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/FilterShowSlider"
+ android:layout_columnSpan="2"/>
+
+ </GridLayout>
+ </ScrollView>
+
+ <GridLayout
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="128dp"
+ android:alignmentMode="alignBounds"
+ android:useDefaultMargins="true"
+ android:columnOrderPreserved="false"
+ android:layout_weight="1"
+ android:columnCount="2">
+
+ <TextView
+ android:layout_gravity="left|center_vertical"
+ android:text="@string/vignette_main"
+ android:layout_marginLeft="8dp"/>
+ <TextView
+ android:layout_gravity="right|center_vertical"
+ android:id="@+id/mainVignetteValue"
+ android:layout_marginRight="16dp"/>
+ <SeekBar
+ android:id="@+id/mainVignetteSeekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/FilterShowSlider"
+ android:layout_columnSpan="2"/>
+ </GridLayout>
+
+</LinearLayout> \ No newline at end of file