blob: 1d2340dadb8a6ce801b3e540f26ba9c58ba86e4b [file] [log] [blame]
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +01001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2019 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="wrap_content"
20 android:layout_height="wrap_content"
21 android:orientation="horizontal"
22 android:padding="32dp">
23
24 <FrameLayout
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content">
27
28 <LinearLayout
29 android:id="@+id/icon_texts_container"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:orientation="horizontal">
33
34 <FrameLayout
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010035 android:layout_width="45dp"
36 android:layout_height="47dp">
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010037
38 <View
39 android:id="@+id/icon_container_bg"
40 android:layout_width="match_parent"
41 android:layout_height="match_parent"
42 android:background="@drawable/tv_rect_dark_left_rounded"/>
43
44 <FrameLayout
45 android:id="@+id/icon_mic"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010046 android:layout_width="35dp"
47 android:layout_height="35dp"
Sergey Nikolaienkov8dfc49b2020-06-22 11:38:35 +020048 android:layout_marginStart="6dp"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010049 android:layout_marginTop="6dp"
50 android:layout_marginBottom="6dp">
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010051
52 <View
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010053 android:layout_width="27dp"
54 android:layout_height="27dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010055 android:layout_gravity="center"
56 android:background="@drawable/tv_circle_dark"/>
57
58 <ImageView
59 android:id="@+id/pulsating_circle"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010060 android:layout_width="27dp"
61 android:layout_height="27dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010062 android:layout_gravity="center"
63 android:background="@drawable/tv_circle_white_translucent"/>
64
65 <ImageView
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010066 android:layout_width="27dp"
67 android:layout_height="27dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010068 android:layout_gravity="center"
69 android:src="@drawable/tv_ring_white"/>
70
71 <ImageView
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010072 android:layout_width="16dp"
73 android:layout_height="16dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010074 android:layout_gravity="center"
75 android:background="@drawable/tv_ic_mic_white"/>
76 </FrameLayout>
77
78 </FrameLayout>
79
80 <LinearLayout
81 android:id="@+id/texts_container"
82 android:layout_width="wrap_content"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010083 android:layout_height="47dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010084 android:background="@color/tv_audio_recording_indicator_background"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010085 android:orientation="vertical"
86 android:visibility="visible">
87
88 <TextView
89 android:layout_width="wrap_content"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010090 android:layout_height="14dp"
91 android:layout_marginTop="10dp"
92 android:layout_marginBottom="1dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010093 android:text="@string/mic_active"
94 android:textColor="@android:color/white"
95 android:fontFamily="sans-serif"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +010096 android:textSize="10dp"/>
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +010097
98 <TextView
99 android:id="@+id/text"
100 android:layout_width="wrap_content"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +0100101 android:layout_height="14dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +0100102 android:singleLine="true"
103 android:text="SomeApplication accessed your microphone"
104 android:textColor="@android:color/white"
105 android:fontFamily="sans-serif"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +0100106 android:textSize="8dp"/>
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +0100107
108 </LinearLayout>
109
110 </LinearLayout>
111
112 </FrameLayout>
113
114 <View
Sergey Nikolaienkov8dfc49b2020-06-22 11:38:35 +0200115 android:id="@+id/bg_end"
Sergey Nikolaienkov3e2fee22019-12-21 15:57:31 +0100116 android:layout_width="12dp"
117 android:layout_height="47dp"
Sergey Nikolaienkov5b514ee2019-12-06 10:42:59 +0100118 android:background="@drawable/tv_rect_dark_right_rounded"
119 android:visibility="visible"/>
120
121</LinearLayout>