Home | History | Annotate | Download | only in layout-land
      1 <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2016 The Android Open Source Project
      2 
      3      Licensed under the Apache License, Version 2.0 (the "License");
      4      you may not use this file except in compliance with the License.
      5      You may obtain a copy of the License at
      6 
      7           http://www.apache.org/licenses/LICENSE-2.0
      8 
      9      Unless required by applicable law or agreed to in writing, software
     10      distributed under the License is distributed on an "AS IS" BASIS,
     11      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12      See the License for the specific language governing permissions and
     13      limitations under the License.
     14 -->
     15 
     16 <LinearLayout
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="wrap_content"
     20     android:gravity="center_horizontal"
     21     android:orientation="vertical">
     22 
     23     <FrameLayout
     24         android:layout_width="wrap_content"
     25         android:layout_height="0dp"
     26         android:layout_weight="1">
     27 
     28         <com.android.deskclock.AnalogClock
     29             android:id="@+id/analog_clock"
     30             android:layout_width="wrap_content"
     31             android:layout_height="wrap_content"
     32             android:layout_marginEnd="@dimen/analog_clock_margin"
     33             android:layout_marginLeft="@dimen/analog_clock_margin"
     34             android:layout_marginRight="@dimen/analog_clock_margin"
     35             android:layout_marginStart="@dimen/analog_clock_margin"
     36             android:layout_marginTop="@dimen/circle_margin_top" />
     37 
     38         <com.android.deskclock.widget.AutoSizingTextClock
     39             android:id="@+id/digital_clock"
     40             style="@style/display_time"
     41             android:layout_width="wrap_content"
     42             android:layout_height="wrap_content"
     43             android:ellipsize="none"
     44             android:singleLine="true"
     45             android:textSize="@dimen/main_clock_digital_font_size" />
     46 
     47     </FrameLayout>
     48 
     49     <include layout="@layout/date_and_next_alarm_time" />
     50 
     51     <View
     52         android:id="@+id/hairline"
     53         android:layout_width="match_parent"
     54         android:layout_height="@dimen/hairline_height"
     55         android:layout_marginTop="24dp"
     56         android:background="@color/hairline"
     57         android:visibility="gone" />
     58 
     59 </LinearLayout>
     60