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 <LinearLayout 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 
     21     <LinearLayout
     22         android:id="@+id/timers_list_page"
     23         android:layout_width="match_parent"
     24         android:layout_height="match_parent"
     25         android:orientation="vertical">
     26         <ListView
     27             android:id="@+id/timers_list"
     28             android:layout_weight="1"
     29             android:divider="@null"
     30             android:dividerHeight="@dimen/timer_divider_height"
     31             android:layout_width="match_parent"
     32             android:layout_height="0dip"/>
     33         <FrameLayout
     34             android:id="@+id/timer_footer"
     35             android:layout_marginTop="@dimen/button_footer_height_neg"
     36             android:background="@drawable/footer_bg"
     37             android:layout_width="match_parent"
     38             android:layout_height="wrap_content" >
     39             <View
     40                 android:layout_width="match_parent"
     41                 android:layout_height="1dip"
     42                 android:background="#28ffffff" />
     43             <ImageButton
     44                   android:id="@+id/timer_add_timer"
     45                   android:contentDescription="@string/timer_add_timer"
     46                   android:layout_width="match_parent"
     47                   android:src="@drawable/ic_add"
     48                   style="@style/button"
     49                   android:background="@drawable/item_background"
     50                   android:layout_height="48dip" />
     51          </FrameLayout>
     52     </LinearLayout>
     53     <LinearLayout
     54         android:id="@+id/new_timer_page"
     55         android:layout_width="match_parent"
     56         android:layout_height="match_parent"
     57         android:layout_marginLeft="8dip"
     58         android:layout_marginRight="8dip"
     59         android:paddingTop="?android:attr/actionBarSize"
     60         android:orientation="vertical">
     61         <com.android.deskclock.TimerSetupView
     62             android:id="@+id/timer_setup"
     63             android:layout_marginLeft="8dip"
     64             android:layout_marginRight="8dip"
     65             android:layout_width="match_parent"
     66             android:layout_height="0dip"
     67             android:layout_weight="1" />
     68         <FrameLayout
     69             android:layout_width="match_parent"
     70             android:layout_height="48dip">
     71             <View
     72                 android:layout_width="match_parent"
     73                 android:layout_height="1dip"
     74                 android:background="#28ffffff" />
     75             <LinearLayout
     76                 android:layout_width="match_parent"
     77                 android:layout_height="wrap_content" >
     78                <Button
     79                     android:id="@+id/timer_cancel"
     80                     android:text="@string/timer_cancel"
     81                     android:layout_width="match_parent"
     82                     style="@style/button"
     83                     android:layout_weight="1"
     84                     android:background="@drawable/item_background"
     85                     android:layout_height="wrap_content" />
     86                 <View
     87                     android:id="@+id/timer_button_sep"
     88                     android:layout_height="match_parent"
     89                     android:layout_marginTop="8dip"
     90                     android:layout_marginBottom="8dip"
     91                     android:layout_width="1dip"
     92                     android:background="#28ffffff" />
     93                <Button
     94                     android:id="@+id/timer_start"
     95                     android:text="@string/timer_start"
     96                     android:layout_width="match_parent"
     97                     style="@style/button"
     98                     android:layout_weight="1"
     99                     android:background="@drawable/item_background"
    100                     android:layout_height="wrap_content" />
    101               </LinearLayout>
    102            </FrameLayout>
    103     </LinearLayout>
    104 </LinearLayout>
    105