summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authornebkat <nebkat@teamhacksung.org>2012-03-22 13:35:39 +0000
committernebkat <nebkat@teamhacksung.org>2012-03-22 13:35:39 +0000
commit59aee3360049e1a1706a043bb26984670f02fb0f (patch)
tree4c0cf2e7c9a21cf8a1d8226a1fe6b34fa7824a50 /res/layout
parent43b2332494946486aa764ff7e0d1c60fcfa78743 (diff)
downloadandroid_packages_apps_Trebuchet-59aee3360049e1a1706a043bb26984670f02fb0f.tar.gz
android_packages_apps_Trebuchet-59aee3360049e1a1706a043bb26984670f02fb0f.tar.bz2
android_packages_apps_Trebuchet-59aee3360049e1a1706a043bb26984670f02fb0f.zip
DoubleNumberPickerPreference
Change-Id: I9e71b1f889e98e134b99c965452192e503ff2f08
Diffstat (limited to 'res/layout')
-rwxr-xr-xres/layout/double_number_picker_dialog.xml64
1 files changed, 64 insertions, 0 deletions
diff --git a/res/layout/double_number_picker_dialog.xml b/res/layout/double_number_picker_dialog.xml
new file mode 100755
index 000000000..8c9fb8ef8
--- /dev/null
+++ b/res/layout/double_number_picker_dialog.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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:orientation="horizontal"
+ android:gravity="center_horizontal"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent">
+
+ <LinearLayout
+ android:gravity="center"
+ android:orientation="vertical"
+ android:layout_height="fill_parent"
+ android:layout_width="0dp"
+ android:layout_weight="1">
+
+ <TextView
+ android:id="@+id/picker_title_1"
+ android:textAppearance="?android:textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <NumberPicker
+ android:id="@+id/number_picker_1"
+ android:layout_centerInParent="true"
+ android:layout_width="50dip"
+ android:layout_height="match_parent" />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:gravity="center"
+ android:orientation="vertical"
+ android:layout_height="fill_parent"
+ android:layout_width="0dp"
+ android:layout_weight="1">
+
+ <TextView
+ android:id="@+id/picker_title_2"
+ android:textAppearance="?android:textAppearanceMedium"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <NumberPicker
+ android:id="@+id/number_picker_2"
+ android:layout_centerInParent="true"
+ android:layout_width="50dip"
+ android:layout_height="match_parent" />
+
+ </LinearLayout>
+
+</LinearLayout>