Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 1 | <?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 Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 35 | android:layout_width="45dp" |
| 36 | android:layout_height="47dp"> |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 37 | |
| 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 Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 46 | android:layout_width="35dp" |
| 47 | android:layout_height="35dp" |
Sergey Nikolaienkov | 8dfc49b | 2020-06-22 11:38:35 +0200 | [diff] [blame] | 48 | android:layout_marginStart="6dp" |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 49 | android:layout_marginTop="6dp" |
| 50 | android:layout_marginBottom="6dp"> |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 51 | |
| 52 | <View |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 53 | android:layout_width="27dp" |
| 54 | android:layout_height="27dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 55 | android:layout_gravity="center" |
| 56 | android:background="@drawable/tv_circle_dark"/> |
| 57 | |
| 58 | <ImageView |
| 59 | android:id="@+id/pulsating_circle" |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 60 | android:layout_width="27dp" |
| 61 | android:layout_height="27dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 62 | android:layout_gravity="center" |
| 63 | android:background="@drawable/tv_circle_white_translucent"/> |
| 64 | |
| 65 | <ImageView |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 66 | android:layout_width="27dp" |
| 67 | android:layout_height="27dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 68 | android:layout_gravity="center" |
| 69 | android:src="@drawable/tv_ring_white"/> |
| 70 | |
| 71 | <ImageView |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 72 | android:layout_width="16dp" |
| 73 | android:layout_height="16dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 74 | 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 Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 83 | android:layout_height="47dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 84 | android:background="@color/tv_audio_recording_indicator_background" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 85 | android:orientation="vertical" |
| 86 | android:visibility="visible"> |
| 87 | |
| 88 | <TextView |
| 89 | android:layout_width="wrap_content" |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 90 | android:layout_height="14dp" |
| 91 | android:layout_marginTop="10dp" |
| 92 | android:layout_marginBottom="1dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 93 | android:text="@string/mic_active" |
| 94 | android:textColor="@android:color/white" |
| 95 | android:fontFamily="sans-serif" |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 96 | android:textSize="10dp"/> |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 97 | |
| 98 | <TextView |
| 99 | android:id="@+id/text" |
| 100 | android:layout_width="wrap_content" |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 101 | android:layout_height="14dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 102 | android:singleLine="true" |
| 103 | android:text="SomeApplication accessed your microphone" |
| 104 | android:textColor="@android:color/white" |
| 105 | android:fontFamily="sans-serif" |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 106 | android:textSize="8dp"/> |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 107 | |
| 108 | </LinearLayout> |
| 109 | |
| 110 | </LinearLayout> |
| 111 | |
| 112 | </FrameLayout> |
| 113 | |
| 114 | <View |
Sergey Nikolaienkov | 8dfc49b | 2020-06-22 11:38:35 +0200 | [diff] [blame] | 115 | android:id="@+id/bg_end" |
Sergey Nikolaienkov | 3e2fee2 | 2019-12-21 15:57:31 +0100 | [diff] [blame] | 116 | android:layout_width="12dp" |
| 117 | android:layout_height="47dp" |
Sergey Nikolaienkov | 5b514ee | 2019-12-06 10:42:59 +0100 | [diff] [blame] | 118 | android:background="@drawable/tv_rect_dark_right_rounded" |
| 119 | android:visibility="visible"/> |
| 120 | |
| 121 | </LinearLayout> |