Home | History | Annotate | Download | only in layout-land
      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="horizontal"
     20     android:baselineAligned="false">
     21 
     22     <Space
     23             android:id="@+id/start_space"
     24             android:visibility="gone"
     25             android:layout_weight="0.5"
     26             android:layout_width="0dip"
     27             android:layout_height="match_parent"/>
     28 
     29     <LinearLayout
     30         android:layout_width="wrap_content"
     31         android:layout_height="match_parent"
     32         android:layout_marginBottom="@dimen/stopwatch_circle_margin_bottom"
     33         android:gravity="center"
     34         android:orientation="vertical">
     35 
     36         <com.android.deskclock.CircleButtonsLayout
     37             android:id="@+id/stopwatch_circle"
     38             android:layout_width="@dimen/circle_size"
     39             android:layout_height="@dimen/circle_size"
     40             android:layout_marginStart="32dip"
     41             android:layout_marginEnd="32dip"
     42             android:gravity="center">
     43 
     44             <com.android.deskclock.timer.CountingTimerView
     45                 android:id="@+id/stopwatch_time_text"
     46                 android:layout_width="match_parent"
     47                 android:layout_height="match_parent" />
     48 
     49             <com.android.deskclock.CircleTimerView
     50                 android:id="@+id/stopwatch_time"
     51                 android:layout_width="match_parent"
     52                 android:layout_height="match_parent"
     53                 android:background="@null" />
     54 
     55         </com.android.deskclock.CircleButtonsLayout>
     56 
     57     </LinearLayout>
     58 
     59     <ListView
     60         android:id="@+id/laps_list"
     61         android:layout_width="0dip"
     62         android:layout_height="wrap_content"
     63         android:layout_weight="2"
     64         android:layout_marginBottom="8dip"
     65         android:layout_gravity="center" />
     66 
     67     <Space
     68             android:id="@+id/end_space"
     69             android:visibility="gone"
     70             android:layout_weight="0.5"
     71             android:layout_width="0dip"
     72             android:layout_height="match_parent"/>
     73 
     74 </LinearLayout>
     75