1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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<FrameLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="match_parent"
21    android:orientation="vertical">
22
23    <android.support.v4.view.ViewPager
24        android:id="@+id/desk_clock_pager"
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"/>
27
28    <LinearLayout
29        android:layout_width="match_parent"
30        android:layout_height="wrap_content"
31        android:layout_gravity="bottom"
32        android:orientation="horizontal">
33
34        <FrameLayout
35            android:layout_width="0dp"
36            android:layout_height="match_parent"
37            android:layout_gravity="start|center_vertical"
38            android:layout_weight="1">
39
40            <ImageButton
41                android:id="@+id/left_button"
42                android:layout_width="wrap_content"
43                android:layout_height="match_parent"
44                android:layout_gravity="center_horizontal"
45                android:background="?android:attr/selectableItemBackgroundBorderless"
46                android:scaleType="center"
47                android:contentDescription="@null" />
48
49        </FrameLayout>
50
51        <FrameLayout
52            android:layout_width="0dp"
53            android:layout_height="wrap_content"
54            android:layout_weight="1">
55
56            <ImageButton
57                android:id="@+id/fab"
58                android:layout_width="@dimen/footer_button_size"
59                android:layout_height="@dimen/footer_button_size"
60                android:layout_margin="@dimen/footer_button_layout_margin"
61                android:layout_gravity="center_horizontal"
62                android:background="@drawable/floating_action_button"
63                android:elevation="8dip"
64                android:scaleType="center"
65                android:contentDescription="@null" />
66
67        </FrameLayout>
68
69        <FrameLayout
70            android:layout_width="0dp"
71            android:layout_height="match_parent"
72            android:layout_gravity="end|center_vertical"
73            android:layout_weight="1">
74
75            <ImageButton
76                android:id="@+id/right_button"
77                android:layout_width="wrap_content"
78                android:layout_height="match_parent"
79                android:layout_gravity="center_horizontal"
80                android:background="?android:attr/selectableItemBackgroundBorderless"
81                android:scaleType="center"
82                android:contentDescription="@null" />
83
84        </FrameLayout>
85
86    </LinearLayout>
87
88</FrameLayout>
89