summaryrefslogtreecommitdiffstats
path: root/res/layout/selector.xml
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2014-11-11 10:44:49 +0100
committerMichael Bestas <mikeioannina@gmail.com>2015-10-25 11:55:22 +0200
commit09618116991575a0bd725dcaa3434c72d1bf8060 (patch)
treecac4d3e0eaaa714d173c75f04d686deb12fd2152 /res/layout/selector.xml
parentfe0bf1fbbba83e8906c3062184fe4d1dd04eac8e (diff)
downloadandroid_packages_wallpapers_PhaseBeam-09618116991575a0bd725dcaa3434c72d1bf8060.tar.gz
android_packages_wallpapers_PhaseBeam-09618116991575a0bd725dcaa3434c72d1bf8060.tar.bz2
android_packages_wallpapers_PhaseBeam-09618116991575a0bd725dcaa3434c72d1bf8060.zip
Bring over PhaseBeam recoloring from cm-11.0 branch.
Change-Id: Idea935647ce4aa4c1e60657c071b6bd921712bce
Diffstat (limited to 'res/layout/selector.xml')
-rw-r--r--res/layout/selector.xml82
1 files changed, 82 insertions, 0 deletions
diff --git a/res/layout/selector.xml b/res/layout/selector.xml
new file mode 100644
index 0000000..32cd68b
--- /dev/null
+++ b/res/layout/selector.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 The CyanogenMod 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.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/backgroundview"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginStart="15dip"
+ android:layout_marginEnd="15dip"
+ android:layout_marginBottom="20dip" >
+
+ <CheckBox
+ android:id="@+id/recolor"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/hue_text"
+ android:layout_marginBottom="10dip"
+ android:text="@string/enable_recoloring" />
+
+ <TextView
+ android:id="@+id/hue_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/hue"
+ android:layout_marginBottom="5dip"
+ android:text="@string/color_label" />
+
+ <SeekBar
+ android:id="@+id/hue"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/saturation_text"
+ android:layout_marginStart="5dip"
+ android:layout_marginBottom="10dip"
+ android:max="1000" />
+
+ <TextView
+ android:id="@+id/saturation_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/saturation"
+ android:layout_marginBottom="5dip"
+ android:text="@string/saturation_label" />
+
+ <SeekBar
+ android:id="@+id/saturation"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/brightness_text"
+ android:layout_marginStart="5dip"
+ android:max="1000" />
+
+ <TextView
+ android:id="@+id/brightness_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/brightness"
+ android:layout_marginBottom="5dip"
+ android:text="@string/brightness_label" />
+
+ <SeekBar
+ android:id="@+id/brightness"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="5dip"
+ android:layout_alignParentBottom="true"
+ android:max="1000" />
+
+</RelativeLayout>