1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 ~ Copyright (C) 2013 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="wrap_content" 19 android:layout_height="match_parent" 20 android:orientation="vertical" 21 android:background="@color/circle_background" 22 android:id="@+id/time_picker_dialog" 23 android:focusable="true" > 24 <FrameLayout 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:background="@color/white" > 28 <include 29 layout="@layout/time_header_label" 30 android:layout_width="match_parent" 31 android:layout_height="@dimen/header_height" 32 android:layout_gravity="center" /> 33 </FrameLayout> 34 <com.android.datetimepicker.time.RadialPickerLayout 35 android:id="@+id/time_picker" 36 android:layout_height="@dimen/picker_dimen" 37 android:layout_width="wrap_content" 38 android:layout_gravity="center" 39 android:focusable="true" 40 android:focusableInTouchMode="true" /> 41 <View 42 android:layout_width="match_parent" 43 android:layout_height="1dip" 44 android:background="@color/line_background" /> 45 <LinearLayout 46 style="?android:attr/buttonBarStyle" 47 android:layout_width="match_parent" 48 android:layout_height="wrap_content" 49 android:orientation="horizontal" > 50 <Button 51 android:id="@+id/done_button" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:minHeight="48dp" 55 android:text="@string/done_label" 56 android:textSize="@dimen/done_label_size" 57 android:textColor="@color/done_text_color" 58 style="?android:attr/buttonBarButtonStyle" /> 59 </LinearLayout> 60 </LinearLayout> 61