summaryrefslogtreecommitdiffstats
path: root/res/layout/timezonepickerview.xml
diff options
context:
space:
mode:
authorMichael Chan <mchan@android.com>2013-03-07 09:33:49 -0800
committerMichael Chan <mchan@android.com>2013-04-03 06:05:10 -0700
commitb1b7080deea42aa533c3757b585cf765c6b76732 (patch)
treec777b8eb7182209f16f1213bea0c8deea38fcd7b /res/layout/timezonepickerview.xml
parent0e791fedeb7517d315ed9f7524fa49f9476382e8 (diff)
downloadandroid_frameworks_opt_timezonepicker-b1b7080deea42aa533c3757b585cf765c6b76732.tar.gz
android_frameworks_opt_timezonepicker-b1b7080deea42aa533c3757b585cf765c6b76732.tar.bz2
android_frameworks_opt_timezonepicker-b1b7080deea42aa533c3757b585cf765c6b76732.zip
First Draft for Timezone picker
Change-Id: I23ce51e9962aced60468b441a12611c75ff8f0d4
Diffstat (limited to 'res/layout/timezonepickerview.xml')
-rw-r--r--res/layout/timezonepickerview.xml70
1 files changed, 70 insertions, 0 deletions
diff --git a/res/layout/timezonepickerview.xml b/res/layout/timezonepickerview.xml
new file mode 100644
index 0000000..f794bb0
--- /dev/null
+++ b/res/layout/timezonepickerview.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 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"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="300dp"
+ android:descendantFocusability="beforeDescendants"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
+ android:orientation="vertical" >
+
+ <AutoCompleteTextView
+ android:id="@+id/searchBox"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:completionThreshold="1"
+ android:dropDownHeight="250dp"
+ android:hint="@string/hint_time_zone_search"
+ android:imeOptions="actionDone"
+ android:minHeight="48dp"
+ android:singleLine="true" >
+ </AutoCompleteTextView>
+
+ <ListView
+ android:id="@+id/timezonelist"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:background="#FFECECEC"
+ android:choiceMode="singleChoice" >
+ </ListView>
+
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:background="?android:attr/listDivider"
+ tools:ignore="PxUsage" />
+
+ <TextView
+ style="@style/font_family_thin"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="#FFECECEC"
+ android:ellipsize="marquee"
+ android:paddingBottom="8dp"
+ android:paddingLeft="16dp"
+ android:paddingRight="16dp"
+ android:paddingTop="8dp"
+ android:text="@string/dst_note"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+
+</LinearLayout> \ No newline at end of file