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 
     17 <LinearLayout
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent"
     21     android:baselineAligned="false"
     22     android:orientation="horizontal">
     23 
     24     <!-- Left gutter. -->
     25     <Space
     26         android:layout_width="0dp"
     27         android:layout_height="match_parent"
     28         android:layout_weight="@integer/gutter_width_percent" />
     29 
     30     <!-- Guttered content. -->
     31     <com.android.deskclock.stopwatch.StopwatchLandscapeLayout
     32         android:layout_width="0dp"
     33         android:layout_height="match_parent"
     34         android:layout_weight="@integer/guttered_content_width_percent"
     35         android:paddingBottom="@dimen/fab_height">
     36 
     37         <FrameLayout
     38             android:id="@+id/stopwatch_time_wrapper"
     39             android:layout_width="wrap_content"
     40             android:layout_height="wrap_content"
     41             android:layout_gravity="center">
     42 
     43             <include layout="@layout/stopwatch_time" />
     44 
     45         </FrameLayout>
     46 
     47         <android.support.v7.widget.RecyclerView
     48             android:id="@+id/laps_list"
     49             android:layout_width="wrap_content"
     50             android:layout_height="wrap_content"
     51             android:clipToPadding="false"
     52             android:paddingBottom="@dimen/fab_height" />
     53 
     54     </com.android.deskclock.stopwatch.StopwatchLandscapeLayout>
     55 
     56     <!-- Right gutter. -->
     57     <Space
     58         android:layout_width="0dp"
     59         android:layout_height="match_parent"
     60         android:layout_weight="@integer/gutter_width_percent" />
     61 
     62 </LinearLayout>
     63