1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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 xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="wrap_content"
19    android:layout_height="wrap_content"
20    android:minHeight="?android:attr/listPreferredItemHeight"
21    android:orientation="horizontal"
22    >
23
24    <LinearLayout
25        android:id="@+id/option1"
26        android:layout_width="64dp"
27        android:layout_height="match_parent"
28        android:background="?android:attr/actionBarItemBackground"
29        android:contentDescription="@string/silent_mode_silent"
30        android:focusable="true"
31        >
32        <ImageView
33            android:layout_width="48dp"
34            android:layout_height="match_parent"
35            android:layout_gravity="center"
36            android:layout_marginStart="8dp"
37            android:layout_marginEnd="8dp"
38            android:layout_marginTop="6dp"
39            android:layout_marginBottom="6dp"
40            android:src="@drawable/ic_audio_ring_notif_mute"
41            android:scaleType="center"
42            android:duplicateParentState="true"
43            android:background="@drawable/silent_mode_indicator"
44            />
45    </LinearLayout>
46    <!-- Spacer -->
47    <View android:layout_width="0dp"
48        android:layout_height="match_parent"
49        android:layout_weight="1"
50        android:visibility="invisible"/>
51
52    <LinearLayout
53        android:id="@+id/option2"
54        android:layout_width="64dp"
55        android:layout_height="match_parent"
56        android:background="?android:attr/actionBarItemBackground"
57        android:contentDescription="@string/silent_mode_vibrate"
58        android:focusable="true"
59        >
60        <ImageView
61            android:layout_width="48dp"
62            android:layout_height="match_parent"
63            android:layout_gravity="center"
64            android:layout_marginStart="8dp"
65            android:layout_marginEnd="8dp"
66            android:layout_marginTop="6dp"
67            android:layout_marginBottom="6dp"
68            android:src="@drawable/ic_audio_ring_notif_vibrate"
69            android:scaleType="center"
70            android:duplicateParentState="true"
71            android:background="@drawable/silent_mode_indicator"
72            />
73    </LinearLayout>
74
75    <!-- Spacer -->
76    <View android:layout_width="0dp"
77        android:layout_height="match_parent"
78        android:layout_weight="1"
79        android:visibility="invisible"/>
80
81    <LinearLayout
82        android:id="@+id/option3"
83        android:layout_width="64dp"
84        android:layout_height="match_parent"
85        android:background="?android:attr/actionBarItemBackground"
86        android:contentDescription="@string/silent_mode_ring"
87        android:focusable="true"
88        >
89        <ImageView
90            android:layout_width="48dp"
91            android:layout_height="match_parent"
92            android:layout_gravity="center"
93            android:layout_marginStart="8dp"
94            android:layout_marginEnd="8dp"
95            android:layout_marginTop="6dp"
96            android:layout_marginBottom="6dp"
97            android:src="@drawable/ic_audio_ring_notif"
98            android:scaleType="center"
99            android:duplicateParentState="true"
100            android:background="@drawable/silent_mode_indicator"
101            />
102    </LinearLayout>
103</LinearLayout>