You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.6 KiB
68 lines
2.6 KiB
<?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="wrap_content"
|
|
android:minWidth="300dp"
|
|
android:orientation="vertical" >
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical" >
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/searchBox"
|
|
style="@style/font_family_thin"
|
|
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:hint="@string/hint_time_zone_search"
|
|
android:imeOptions="actionDone"
|
|
android:minHeight="48dp"
|
|
android:singleLine="true"
|
|
android:paddingRight="30dp" >
|
|
</AutoCompleteTextView>
|
|
<ImageButton
|
|
android:id="@+id/clear_search"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="8dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingBottom="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_gravity="right|center_vertical"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:src="@drawable/ic_clear_search_holo_light"
|
|
android:visibility="gone"
|
|
android:contentDescription="@string/searchview_description_clear" />
|
|
</FrameLayout>
|
|
|
|
<ListView
|
|
android:id="@+id/timezonelist"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#FFECECEC"
|
|
android:choiceMode="singleChoice" >
|
|
</ListView>
|
|
</LinearLayout> |