diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-03-22 13:35:39 +0000 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-11-19 01:08:47 +0000 |
commit | 7e9e4157cc332066a359825df8c179285a7fe30c (patch) | |
tree | 7a336f4b5481d7e142f538bca56ea38faf92e99f /res/layout | |
parent | ff27b283f9b3c1353204d8a8d32af120f18ae46d (diff) | |
download | packages_apps_trebuchet-7e9e4157cc332066a359825df8c179285a7fe30c.zip packages_apps_trebuchet-7e9e4157cc332066a359825df8c179285a7fe30c.tar.gz packages_apps_trebuchet-7e9e4157cc332066a359825df8c179285a7fe30c.tar.bz2 |
DoubleNumberPickerPreference
Change-Id: I9e71b1f889e98e134b99c965452192e503ff2f08
Diffstat (limited to 'res/layout')
-rwxr-xr-x | res/layout/double_number_picker_dialog.xml | 64 |
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 0000000..8c9fb8e --- /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> |