Home | History | Annotate | Download | only in layout-sw600dp-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2013 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 <FrameLayout
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:id="@+id/main"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:paddingTop="?android:attr/actionBarSize" >
     23 
     24     <LinearLayout
     25         android:id="@+id/alarm_layout"
     26         android:layout_width="match_parent"
     27         android:layout_height="match_parent"
     28         android:orientation="horizontal"
     29         android:baselineAligned="false" >
     30 
     31         <ListView
     32             android:id="@+id/alarms_list"
     33             android:layout_width="0dip"
     34             android:layout_height="match_parent"
     35             android:layout_weight="1"
     36             android:clipToPadding="false"
     37             android:descendantFocusability="beforeDescendants"
     38             android:divider="@null"
     39             android:dividerHeight="6dp"
     40             />
     41 
     42         <include layout="@layout/alarm_timeline_layout"
     43             android:id="@+id/timeline_layout"
     44             android:layout_width="@dimen/alarm_timeline_layout_width"
     45             android:layout_height="match_parent"
     46         />
     47     </LinearLayout>
     48 
     49     <FrameLayout
     50         android:id="@+id/alarms_footer_view"
     51         android:background="@drawable/footer_bg"
     52         android:layout_width="match_parent"
     53         android:layout_height="wrap_content"
     54         android:layout_gravity="bottom" >
     55         <ImageButton
     56             android:id="@+id/alarm_add_alarm"
     57             android:contentDescription="@string/add_alarm"
     58             android:layout_width="@dimen/footer_button_size"
     59             android:layout_height="@dimen/footer_button_size"
     60             android:layout_marginTop="@dimen/footer_button_layout_margin"
     61             android:layout_marginBottom="@dimen/footer_button_layout_margin"
     62             android:layout_marginRight="@dimen/footer_button_layout_margin"
     63             android:layout_marginEnd="@dimen/footer_button_layout_margin"
     64             android:layout_marginLeft="@dimen/footer_button_layout_margin"
     65             android:layout_marginStart="@dimen/footer_button_layout_margin"
     66             android:layout_gravity="center"
     67             android:src="@drawable/ic_add"
     68             style="@style/button"
     69             android:background="@drawable/main_button_normal" />
     70         <ImageButton
     71             android:id="@+id/menu_button"
     72             android:contentDescription="@string/button_menu"
     73             style="?android:attr/actionOverflowButtonStyle"
     74             android:background="@drawable/item_background"
     75             android:layout_gravity="end|center_vertical"
     76             android:layout_width="@dimen/footer_button_size"
     77             android:layout_height="@dimen/footer_button_size" />
     78     </FrameLayout>
     79     <TextView
     80             android:id="@+id/alarms_empty_view"
     81             style="@style/no_alarms"
     82             android:layout_width="wrap_content"
     83             android:layout_height="wrap_content"
     84             android:layout_gravity="center"
     85             android:contentDescription="@string/no_alarms"
     86             android:drawableTop="@drawable/ic_noalarms"
     87             android:text="@string/no_alarms"
     88             android:textColor="#4cffffff"
     89             android:paddingBottom="88dp" />
     90     <FrameLayout android:id="@+id/undo_frame"
     91         android:layout_width="match_parent"
     92         android:layout_height="match_parent"
     93         android:visibility="gone" >
     94         <com.android.deskclock.widget.ActionableToastBar
     95             android:id="@+id/undo_bar"
     96             android:layout_width="match_parent"
     97             android:layout_height="64dip"
     98             android:layout_gravity="bottom"
     99             android:layout_marginBottom="96dp"
    100             android:layout_marginLeft="@dimen/alarm_undo_bar_horizontal_margin"
    101             android:layout_marginStart="@dimen/alarm_undo_bar_horizontal_margin"
    102             android:layout_marginRight="@dimen/alarm_undo_bar_horizontal_margin"
    103             android:layout_marginEnd="@dimen/alarm_undo_bar_horizontal_margin"
    104             style="@style/ToastBarStyle" />
    105     </FrameLayout>
    106 </FrameLayout>
    107