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     <com.android.deskclock.timer.TimerView
     22             android:id="@+id/timer_time_text"
     23             android:layoutDirection="ltr"
     24             android:orientation="horizontal"
     25             android:layout_width="match_parent"
     26             android:layout_height="wrap_content"
     27             android:paddingTop="@dimen/medium_font_padding"
     28             android:paddingBottom="@dimen/medium_font_padding"
     29             android:gravity="center_horizontal">
     30 
     31         <include layout="@layout/timer_h_mm_ss_view"/>
     32 
     33         <ImageButton
     34                 android:id="@+id/delete"
     35                 android:layout_width="wrap_content"
     36                 android:layout_height="match_parent"
     37                 android:layout_gravity="center"
     38                 android:layout_marginStart="@dimen/timer_setup_delete_start_margin"
     39                 android:padding="@dimen/timer_setup_delete_padding"
     40                 android:src="@drawable/ic_backspace"
     41                 android:background="@drawable/item_background"
     42                 android:contentDescription="@string/timer_delete"/>
     43 
     44     </com.android.deskclock.timer.TimerView>
     45 
     46     <View
     47         android:layout_width="match_parent"
     48         android:layout_height="1dip"
     49         android:layout_marginBottom="8dip"
     50         android:background="@color/dialog_gray" />
     51     <include layout="@layout/three_keys_view"
     52         android:id="@+id/first" />
     53 
     54     <include layout="@layout/three_keys_view"
     55         android:id="@+id/second"/>
     56 
     57     <include layout="@layout/three_keys_view"
     58         android:id="@+id/third"/>
     59 
     60     <include layout="@layout/three_keys_view"
     61         android:id="@+id/fourth" />
     62 
     63     <View
     64         android:layout_width="match_parent"
     65         android:layout_height="1dip"
     66         android:background="#28ffffff"/>
     67 
     68     <LinearLayout
     69             android:layout_width="match_parent"
     70             android:layout_weight="0.5"
     71             android:layout_height="0dip">
     72 
     73         <Button
     74                 android:id="@+id/timer_cancel"
     75                 android:text="@string/timer_cancel"
     76                 android:layout_width="0dp"
     77                 style="@style/bold_button"
     78                 android:textSize="@dimen/timer_setup_button_size"
     79                 android:layout_weight="1"
     80                 android:background="@drawable/item_background"
     81                 android:layout_height="match_parent"/>
     82 
     83         <View
     84                 android:id="@+id/timer_button_sep"
     85                 android:layout_height="match_parent"
     86                 android:layout_marginTop="8dip"
     87                 android:layout_marginBottom="8dip"
     88                 android:layout_width="1dip"
     89                 android:background="#28ffffff"/>
     90 
     91         <Button
     92                 android:id="@+id/timer_start"
     93                 android:text="@string/timer_start"
     94                 android:layout_width="0dp"
     95                 style="@style/bold_button"
     96                 android:textSize="@dimen/timer_setup_button_size"
     97                 android:layout_weight="1"
     98                 android:background="@drawable/item_background"
     99                 android:layout_height="match_parent"/>
    100 
    101     </LinearLayout>
    102 
    103 </LinearLayout>
    104