1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2015 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:divider="@drawable/horizontal_divider"
22    android:orientation="vertical"
23    android:showDividers="middle">
24
25    <FrameLayout
26        xmlns:android="http://schemas.android.com/apk/res/android"
27        android:id="@+id/swn_expanded_hitspace"
28        android:layout_width="match_parent"
29        android:layout_height="64dp"
30        android:background="@drawable/notification_background">
31
32        <include layout="@layout/stopwatch_notification_icon" />
33
34        <LinearLayout
35            android:layout_width="match_parent"
36            android:layout_height="wrap_content"
37            android:layout_gravity="fill_vertical"
38            android:layout_marginStart="@dimen/notification_icon_size"
39            android:gravity="center"
40            android:minHeight="@dimen/notification_icon_size"
41            android:orientation="vertical"
42            android:paddingBottom="2dp"
43            android:paddingEnd="8dp"
44            android:paddingTop="2dp">
45
46            <LinearLayout
47                android:id="@+id/line1"
48                android:layout_width="match_parent"
49                android:layout_height="wrap_content"
50                android:layout_marginStart="8dp"
51                android:orientation="horizontal">
52
53                <Chronometer
54                    android:id="@+id/swn_expanded_chronometer"
55                    android:layout_width="0dip"
56                    android:layout_height="wrap_content"
57                    android:layout_weight="1"
58                    android:singleLine="true"
59                    android:textAppearance="@style/TextAppearance.StatusBar.EventContent.Title" />
60            </LinearLayout>
61
62            <TextView
63                android:id="@+id/swn_expanded_laps"
64                android:layout_width="match_parent"
65                android:layout_height="wrap_content"
66                android:layout_marginStart="8dp"
67                android:ellipsize="marquee"
68                android:fadingEdge="horizontal"
69                android:singleLine="true"
70                android:textAppearance="@style/TextAppearance.StatusBar.EventContent"
71                android:visibility="gone" />
72        </LinearLayout>
73    </FrameLayout>
74
75    <LinearLayout
76        android:layout_width="match_parent"
77        android:layout_height="wrap_content"
78        android:layout_marginStart="@dimen/notification_icon_size"
79        android:divider="@drawable/divider"
80        android:dividerPadding="12dp"
81        android:orientation="horizontal"
82        android:showDividers="middle">
83
84        <TextView
85            android:id="@+id/swn_left_button"
86            android:layout_width="0dp"
87            android:layout_height="48dp"
88            android:layout_weight="1"
89            android:background="@drawable/notification_background"
90            android:drawablePadding="8dp"
91            android:ellipsize="end"
92            android:gravity="start|center_vertical"
93            android:paddingStart="8dp"
94            android:singleLine="true"
95            android:textAppearance="@style/TextAppearance.StatusBar.EventContent" />
96
97        <TextView
98            android:id="@+id/swn_right_button"
99            android:layout_width="0dp"
100            android:layout_height="48dp"
101            android:layout_weight="1"
102            android:background="@drawable/notification_background"
103            android:drawablePadding="8dp"
104            android:ellipsize="end"
105            android:gravity="start|center_vertical"
106            android:paddingStart="8dp"
107            android:singleLine="true"
108            android:textAppearance="@style/TextAppearance.StatusBar.EventContent" />
109    </LinearLayout>
110
111</LinearLayout>