OSDN Git Service

auto import from //depot/cupcake/@135843
[android-x86/packages-apps-DeskClock.git] / res / layout-land / alarm_alert.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7   
8           http://www.apache.org/licenses/LICENSE-2.0
9   
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16
17 <LinearLayout
18     xmlns:android="http://schemas.android.com/apk/res/android"
19     android:id="@+id/root"
20     android:layout_width="fill_parent" 
21     android:layout_height="fill_parent"
22     android:paddingTop="2dp">
23
24     <LinearLayout
25         android:layout_width="wrap_content" 
26         android:layout_height="fill_parent"
27         android:orientation="vertical">
28
29         <LinearLayout
30             android:id="@+id/clockView"
31             android:layout_width="wrap_content"
32             android:layout_height="wrap_content"
33             android:gravity="center"/>
34
35         <TextView android:id="@+id/silencedText"
36             android:layout_width="wrap_content"
37             android:layout_height="wrap_content"
38             android:paddingLeft="4dp"
39             android:paddingTop="2dp"
40             android:paddingBottom="2dp"
41             android:textAppearance="?android:attr/textAppearanceSmall"
42             android:visibility="gone"
43             android:gravity="center"
44             android:textColor="@color/red"
45             android:text="@string/alarm_alert_alert_silenced"/>
46     </LinearLayout>
47
48     <LinearLayout
49         android:layout_width="wrap_content" 
50         android:layout_height="fill_parent"
51         android:orientation="vertical">
52
53         <Button
54             android:id="@+id/snooze"
55             android:layout_width="108dip"
56             android:layout_height="wrap_content"
57             android:layout_weight="1" 
58             android:text="@string/alarm_alert_snooze_text" />
59
60         <!-- blank stretchable view -->
61         <View
62             android:layout_width="2dip"
63             android:layout_gravity="fill_vertical" 
64             android:layout_weight="1" 
65             android:layout_height="2dip"/>
66
67         <Button
68             android:id="@+id/dismiss"
69             android:layout_width="108dip"
70             android:layout_height="wrap_content"
71             android:layout_weight="1" 
72             android:text="@string/alarm_alert_dismiss_text" />
73
74     </LinearLayout>
75
76 </LinearLayout>