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:paddingTop="32dip"
     21     android:baselineAligned="false">
     22 
     23     <Space
     24             android:id="@+id/start_space"
     25             android:visibility="gone"
     26             android:layout_weight="0.5"
     27             android:layout_width="0dip"
     28             android:layout_height="match_parent"/>
     29 
     30     <com.android.deskclock.CircleButtonsLayout
     31         android:id="@+id/stopwatch_circle"
     32         android:layout_width="@dimen/circle_size"
     33         android:layout_height="@dimen/circle_size"
     34         android:layout_gravity="center"
     35         android:layout_marginLeft="32dip"
     36         android:layout_marginBottom="32dip"
     37         android:layout_marginRight="32dip">
     38 
     39         <com.android.deskclock.timer.CountingTimerView
     40             android:id="@+id/stopwatch_time_text"
     41             android:layout_width="match_parent"
     42             android:layout_height="match_parent" />
     43 
     44         <com.android.deskclock.CircleTimerView
     45             android:id="@+id/stopwatch_time"
     46             android:layout_width="match_parent"
     47             android:layout_height="match_parent"
     48             android:background="@null" />
     49 
     50     </com.android.deskclock.CircleButtonsLayout>
     51 
     52     <ListView
     53         android:id="@+id/laps_list"
     54         android:layout_marginTop="32dip"
     55         android:layout_marginBottom="48dip"
     56         android:layout_marginStart="@dimen/stopwatch_list_margin_start"
     57         android:layout_marginEnd="16dip"
     58         android:layout_gravity="center"
     59         android:layout_width="wrap_content"
     60         android:layout_height="wrap_content" />
     61 
     62     <Space
     63             android:id="@+id/end_space"
     64             android:visibility="gone"
     65             android:layout_weight="0.5"
     66             android:layout_width="0dip"
     67             android:layout_height="match_parent"/>
     68 
     69 </LinearLayout>
     70