| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2007 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. |
| --> |
| |
| <!-- TODO update this view with landscape layout, now it's exactly the same as portrait --> |
| <FrameLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <RelativeLayout |
| android:id="@+id/final_reveal_screen" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <TextView |
| android:id="@+id/final_text" |
| style="@style/alarm_lockscreen_thin" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_centerInParent="true" |
| android:textStyle="bold" |
| android:textColor="@color/white"/> |
| |
| <TextView |
| android:id="@+id/additional_text" |
| style="@style/alarm_lockscreen_thin" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_centerInParent="true" |
| android:layout_below="@id/final_text" |
| android:textColor="@color/white"/> |
| |
| </RelativeLayout> |
| |
| <LinearLayout |
| android:id="@+id/main_layout" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_alignParentTop="true" |
| android:layout_centerHorizontal="true" |
| android:paddingTop="72dip" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:id="@+id/alertTitle" |
| style="@style/header_not_caps" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:ellipsize="end" |
| android:layout_gravity="center" |
| android:singleLine="true" |
| android:textColor="@color/clock_white"/> |
| |
| <TextClock |
| android:id="@+id/digitalClock" |
| style="@style/big_thin" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:baselineAligned="true" |
| android:ellipsize="none" |
| android:format12Hour="@string/main_clock_12_hours_format" |
| android:format24Hour="@string/clock_24_hours_format" |
| android:gravity="top" |
| android:singleLine="true" |
| android:textColor="@color/clock_white"/> |
| |
| <FrameLayout |
| android:id="@+id/ripple_pad" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent"> |
| |
| <ImageView |
| android:id="@+id/snooze_circle" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:visibility="invisible" |
| android:src="@drawable/snooze_circle"/> |
| |
| <ImageView |
| android:id="@+id/snooze_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="32dip" |
| android:scaleX="0.7" |
| android:scaleY="0.7" |
| android:alpha="0.65" |
| android:layout_gravity="center_vertical|left" |
| android:src="@drawable/ic_snooze"/> |
| |
| <com.android.deskclock.alarms.AlarmRipple |
| android:id="@+id/center_ripple" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center"/> |
| |
| <ImageView |
| android:id="@+id/center_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:src="@drawable/ic_fab_alarm"/> |
| |
| <ImageView |
| android:id="@+id/dismiss_circle" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:visibility="invisible" |
| android:src="@drawable/ic_alarm_off_hover"/> |
| |
| <ImageView |
| android:id="@+id/dismiss_button" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:scaleX="0.7" |
| android:scaleY="0.7" |
| android:alpha="0.65" |
| android:layout_marginRight="32dip" |
| android:layout_gravity="center_vertical|right" |
| android:src="@drawable/ic_alarm_off"/> |
| |
| </FrameLayout> |
| |
| </LinearLayout> |
| |
| </FrameLayout> |
| |