diff options
Diffstat (limited to 'res/layout/selector.xml')
-rw-r--r-- | res/layout/selector.xml | 82 |
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> |