summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/alert_dialog.xml30
-rw-r--r--res/layout/color_camera.xml46
-rw-r--r--res/layout/color_combinations.xml77
-rw-r--r--res/layout/color_rgb.xml88
-rw-r--r--res/layout/color_sensor.xml43
-rw-r--r--res/layout/connect.xml63
-rw-r--r--res/layout/device_list.xml36
-rw-r--r--res/layout/device_name.xml21
-rw-r--r--res/layout/display.xml75
-rw-r--r--res/layout/home.xml164
-rw-r--r--res/layout/home_button.xml28
-rw-r--r--res/layout/licenses.xml14
-rw-r--r--res/layout/preset_name_dialog.xml44
-rw-r--r--res/layout/presets.xml21
-rw-r--r--res/layout/seekbar_preference.xml27
-rw-r--r--res/layout/time_dialog.xml14
16 files changed, 791 insertions, 0 deletions
diff --git a/res/layout/alert_dialog.xml b/res/layout/alert_dialog.xml
new file mode 100644
index 0000000..f8c0aed
--- /dev/null
+++ b/res/layout/alert_dialog.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/username_view"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_marginLeft="20dip"
+ android:layout_marginRight="20dip"
+ android:text="@string/set_bt_name_title"
+ android:gravity="left"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <EditText
+ android:id="@+id/btname_edit"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginLeft="20dip"
+ android:layout_marginRight="20dip"
+ android:scrollHorizontally="true"
+ android:autoText="false"
+ android:capitalize="none"
+ android:gravity="fill_horizontal"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/color_camera.xml b/res/layout/color_camera.xml
new file mode 100644
index 0000000..87a9157
--- /dev/null
+++ b/res/layout/color_camera.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+
+ <RelativeLayout
+ android:id="@+id/camera_frame"
+ android:layout_width="match_parent"
+ android:layout_height="300dip"
+ >
+
+ <SurfaceView
+ android:id="@+id/camera_surface"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_centerInParent="true"
+ />
+
+ <View tools:ignore="PxUsage"
+ android:layout_width="40px"
+ android:layout_height="40px"
+ android:layout_centerInParent="true"
+ android:background="#ff000000"
+ />
+
+ <View tools:ignore="PxUsage"
+ android:id="@+id/sample_preview"
+ android:layout_width="160px"
+ android:layout_height="160px"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:visible="false"
+ />
+
+ </RelativeLayout>
+
+ <Button
+ android:id="@+id/color_sample_button"
+ android:layout_width="50dip"
+ android:layout_height="50dip"
+ android:layout_below="@+id/camera_frame"
+ android:layout_centerHorizontal="true"
+ />
+
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/color_combinations.xml b/res/layout/color_combinations.xml
new file mode 100644
index 0000000..a29713f
--- /dev/null
+++ b/res/layout/color_combinations.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:padding="25dip" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="64dp" >
+
+ <View
+ android:id="@+id/color_combo1"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@color/combination_color" />
+
+ <View
+ android:id="@+id/color_combo2"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@color/combination_color" />
+
+ <View
+ android:id="@+id/color_combo3"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@color/combination_color" />
+
+ <View
+ android:id="@+id/color_combo4"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@color/combination_color" />
+
+ <View
+ android:id="@+id/color_combo5"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@color/combination_color" />
+ </LinearLayout>
+
+ <RadioGroup
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/color_combination_group"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="25dip" >
+
+ <RadioButton
+ android:id="@+id/radio_monochromatic"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/monochromatic" />
+
+ <RadioButton
+ android:id="@+id/radio_analogous"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/analogous" />
+
+ <RadioButton
+ android:id="@+id/radio_triad"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/triad" />
+ </RadioGroup>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/color_rgb.xml b/res/layout/color_rgb.xml
new file mode 100644
index 0000000..6236391
--- /dev/null
+++ b/res/layout/color_rgb.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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="match_parent"
+ android:orientation="vertical"
+ android:padding="25dip"
+ tools:ignore="NestedWeights" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="25dip"
+ android:orientation="horizontal" >
+
+ <View
+ android:id="@+id/original_color"
+ android:layout_width="0dip"
+ android:layout_height="50dip"
+ android:layout_weight="1"
+ android:background="#ff0000" />
+
+ <View
+ android:id="@+id/new_color"
+ android:layout_width="0dip"
+ android:layout_height="50dip"
+ android:layout_weight="1"
+ android:background="#ffff00" />
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="25dip"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/color_hex"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1.5"
+ android:gravity="center_horizontal"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/color_r"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_horizontal"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/color_g"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_horizontal"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <TextView
+ android:id="@+id/color_b"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="center_horizontal"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+ </LinearLayout>
+
+ <com.google.android.apps.adk2.views.Slider
+ android:id="@+id/seek_bar_r"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="25dip" />
+
+ <com.google.android.apps.adk2.views.Slider
+ android:id="@+id/seek_bar_g"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="25dip" />
+
+ <com.google.android.apps.adk2.views.Slider
+ android:id="@+id/seek_bar_b"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="25dip" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/color_sensor.xml b/res/layout/color_sensor.xml
new file mode 100644
index 0000000..dcff0ae
--- /dev/null
+++ b/res/layout/color_sensor.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <View
+ android:layout_width="0dip"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:gravity="center" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dip"
+ android:gravity="center"
+ android:text="@string/capture_prompt"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
+
+ <com.google.android.apps.adk2.views.ColorSensorView
+ android:id="@+id/color_sensor_view"
+ android:layout_width="200dip"
+ android:layout_height="200dip"
+ android:layout_gravity="center"
+ android:layout_margin="25dip"
+ android:gravity="center" />
+
+ <Button
+ android:id="@+id/color_sample_button"
+ android:layout_width="match_parent"
+ android:layout_height="80dip"
+ android:layout_margin="25dip"
+ android:gravity="center"
+ android:text="@string/capture" />
+
+ <View
+ android:layout_width="0dip"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:gravity="center" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/connect.xml b/res/layout/connect.xml
new file mode 100644
index 0000000..2aefb0f
--- /dev/null
+++ b/res/layout/connect.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:padding="5dp" >
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:text="@string/connect_please"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+ <ImageView
+ android:id="@+id/imageView1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:contentDescription="@string/adk_description"
+ android:src="@drawable/adk_outline" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:text="@string/plug_in_or_use_bluetooth"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+ <Button
+ android:id="@+id/connect_bluetooth_button"
+ android:layout_width="match_parent"
+ android:layout_height="80dip"
+ android:layout_margin="25dip"
+ android:gravity="center"
+ android:text="@string/bluetooth" />
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/device_list.xml b/res/layout/device_list.xml
new file mode 100644
index 0000000..866d36e
--- /dev/null
+++ b/res/layout/device_list.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2009 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"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/title_paired_devices"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/title_paired_devices"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:visibility="gone" />
+
+ <ListView
+ android:id="@+id/paired_devices"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/device_name.xml b/res/layout/device_name.xml
new file mode 100644
index 0000000..8fa358c
--- /dev/null
+++ b/res/layout/device_name.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textSize="18sp"
+ android:padding="5dp"
+/> \ No newline at end of file
diff --git a/res/layout/display.xml b/res/layout/display.xml
new file mode 100644
index 0000000..d30ad23
--- /dev/null
+++ b/res/layout/display.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RadioGroup xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/display_group"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:padding="25dip" >
+
+ <!--
+ AdkShowAnimation,
+ AdkShowAccel,
+ AdkShowMag,
+ AdkShowTemp,
+ AdkShowHygro,
+ AdkShowBaro,
+ AdkShowProx,
+ AdkShowColor,
+ -->
+
+ <RadioButton
+ android:id="@+id/radio_animation"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/leds_animation" />
+
+ <RadioButton
+ android:id="@+id/radio_accell"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/accel" />
+
+ <RadioButton
+ android:id="@+id/radio_mag"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/mag" />
+
+ <RadioButton
+ android:id="@+id/radio_temperature"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/temperature" />
+
+ <RadioButton
+ android:id="@+id/radio_hygro"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/hygro" />
+
+ <RadioButton
+ android:id="@+id/radio_baro"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/baro" />
+
+ <RadioButton
+ android:id="@+id/radio_prox"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/prox" />
+
+ <RadioButton
+ android:id="@+id/radio_color"
+ style="@android:style/TextAppearance.DeviceDefault.Large"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/color" />
+
+</RadioGroup> \ No newline at end of file
diff --git a/res/layout/home.xml b/res/layout/home.xml
new file mode 100644
index 0000000..b0c5133
--- /dev/null
+++ b/res/layout/home.xml
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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="match_parent"
+ android:orientation="vertical"
+ >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:orientation="horizontal"
+ >
+
+ <include
+ tools:ignore="NestedWeights"
+ layout="@layout/home_button"
+ android:id="@+id/clock_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ <View tools:ignore="PxUsage"
+ android:layout_width="1px"
+ android:layout_height="match_parent"
+ android:background="@color/home_activity_divider"
+ />
+
+ <include layout="@layout/home_button"
+ android:id="@+id/alarm_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ </LinearLayout>
+
+ <View tools:ignore="PxUsage"
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/home_activity_divider"
+ />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:orientation="horizontal"
+ >
+
+ <include
+ tools:ignore="NestedWeights"
+ layout="@layout/home_button"
+ android:id="@+id/volume_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ <View
+ tools:ignore="PxUsage"
+ android:layout_width="1px"
+ android:layout_height="match_parent"
+ android:background="@color/home_activity_divider"
+ />
+
+ <include
+ layout="@layout/home_button"
+ android:id="@+id/color_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ </LinearLayout>
+
+ <View
+ tools:ignore="PxUsage"
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/home_activity_divider"
+ />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:orientation="horizontal"
+ >
+
+ <include
+ tools:ignore="NestedWeights"
+ layout="@layout/home_button"
+ android:id="@+id/brightness_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ <View tools:ignore="PxUsage"
+ android:layout_width="1px"
+ android:layout_height="match_parent"
+ android:background="@color/home_activity_divider"
+ />
+
+ <include
+ layout="@layout/home_button"
+ android:id="@+id/display_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ </LinearLayout>
+
+ <View
+ tools:ignore="PxUsage"
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/home_activity_divider"
+ />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:orientation="horizontal"
+ >
+
+ <include
+ tools:ignore="NestedWeights"
+ layout="@layout/home_button"
+ android:id="@+id/presets_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ <View
+ tools:ignore="PxUsage"
+ android:layout_width="1px"
+ android:layout_height="match_parent"
+ android:background="@color/home_activity_divider"
+ />
+
+ <include
+ layout="@layout/home_button"
+ android:id="@+id/lock_button"
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ />
+
+ </LinearLayout>
+
+ <View
+ tools:ignore="PxUsage"
+ android:layout_width="match_parent"
+ android:layout_height="1px"
+ android:background="@color/home_activity_divider"
+ />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/home_button.xml b/res/layout/home_button.xml
new file mode 100644
index 0000000..1854d55
--- /dev/null
+++ b/res/layout/home_button.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:background="@drawable/home_button_bg"
+ android:clickable="true"
+ >
+
+ <ImageView tools:ignore="ContentDescription"
+ android:id="@+id/icon"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="14dip"
+ android:scaleType="center"
+ />
+
+ <TextView
+ android:id="@+id/label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_alignParentBottom="true"
+ android:layout_marginBottom="14dip"
+ android:textColor="@color/home_button_label"
+ />
+
+</RelativeLayout>
diff --git a/res/layout/licenses.xml b/res/layout/licenses.xml
new file mode 100644
index 0000000..7bd39d6
--- /dev/null
+++ b/res/layout/licenses.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/license_scroll"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/license_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+ </TextView>
+
+</ScrollView> \ No newline at end of file
diff --git a/res/layout/preset_name_dialog.xml b/res/layout/preset_name_dialog.xml
new file mode 100644
index 0000000..339bb73
--- /dev/null
+++ b/res/layout/preset_name_dialog.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/preset_name_root_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:padding="10dp" >
+
+ <TextView
+ android:id="@+id/preset_name_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/name"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+
+ <EditText
+ android:id="@+id/preset_name_edit"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:inputType="text" >
+
+ <requestFocus />
+ </EditText>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+
+ <Button
+ android:id="@+id/preset_edit_cancel"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@android:string/cancel" />
+
+ <Button
+ android:id="@+id/preset_edit_rename"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:text="@string/rename" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/presets.xml b/res/layout/presets.xml
new file mode 100644
index 0000000..0a7d73a
--- /dev/null
+++ b/res/layout/presets.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <ListView
+ android:id="@android:id/list"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:drawSelectorOnTop="false"
+ android:choiceMode="multipleChoiceModal" />
+
+ <TextView
+ android:id="@android:id/empty"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:text="@string/no_presets" />
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/layout/seekbar_preference.xml b/res/layout/seekbar_preference.xml
new file mode 100644
index 0000000..2fc3a29
--- /dev/null
+++ b/res/layout/seekbar_preference.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="10dip"
+ android:paddingLeft="8dip"
+ android:paddingBottom="14dip"
+ android:paddingRight="?android:attr/scrollbarSize"
+ >
+
+ <TextView android:id="@+android:id/title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:ellipsize="marquee"
+ android:fadingEdge="horizontal"
+ />
+
+ <SeekBar android:id="@+id/seekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dip"
+ android:layout_below="@android:id/title"
+ android:layout_alignLeft="@android:id/title"
+ />
+</RelativeLayout>
diff --git a/res/layout/time_dialog.xml b/res/layout/time_dialog.xml
new file mode 100644
index 0000000..3ef9dd2
--- /dev/null
+++ b/res/layout/time_dialog.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ >
+
+ <TimePicker android:id="@+id/time_picker"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ />
+
+</LinearLayout> \ No newline at end of file