Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2012 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 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     17     android:layout_width="match_parent"
     18     android:layout_height="match_parent"
     19     android:orientation="vertical"
     20     android:paddingTop="?android:attr/actionBarSize" >
     21 
     22     <FrameLayout
     23         android:id="@+id/timers_list_page"
     24         android:layout_width="match_parent"
     25         android:layout_height="match_parent"
     26         android:orientation="vertical">
     27         <com.android.deskclock.widget.sgv.StaggeredGridView
     28             android:id="@+id/timers_list"
     29             android:divider="@null"
     30             android:dividerHeight="@dimen/timer_divider_height"
     31             android:layout_width="match_parent"
     32             android:layout_height="match_parent"
     33             android:paddingBottom="88dp"/>
     34         <FrameLayout
     35             android:id="@+id/timer_footer"
     36             android:background="@drawable/footer_bg"
     37             android:layout_width="match_parent"
     38             android:layout_height="wrap_content"
     39             android:layout_gravity="bottom" >
     40             <ImageButton
     41                 android:id="@+id/timer_add_timer"
     42                 android:contentDescription="@string/timer_add_timer"
     43                 android:layout_width="56dip"
     44                 android:layout_height="56dip"
     45                 android:layout_marginTop="16dp"
     46                 android:layout_marginBottom="16dp"
     47                 android:layout_marginRight="16dp"
     48                 android:layout_marginEnd="16dp"
     49                 android:layout_marginLeft="16dp"
     50                 android:layout_marginStart="16dp"
     51                 android:layout_gravity="center"
     52                 android:src="@drawable/ic_add"
     53                 style="@style/button"
     54                 android:background="@drawable/main_button_normal" />
     55          </FrameLayout>
     56     </FrameLayout>
     57 
     58 
     59     <com.android.deskclock.TimerSetupView
     60             android:id="@+id/timer_setup"
     61             android:layout_width="match_parent"
     62             android:layout_height="match_parent"
     63             android:layout_marginLeft="16dip"
     64             android:layout_marginStart="16dip"
     65             android:layout_marginRight="16dip"
     66             android:layout_marginEnd="16dip"/>
     67 
     68 </FrameLayout>
     69