1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 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<androidx.constraintlayout.motion.widget.MotionLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:layout_height="@dimen/fullscreen_indicator_height" 21 android:layout_width="@dimen/fullscreen_indicator_container_width" 22 android:layout_marginTop="@dimen/fullscreen_indicator_padding_vertical" 23 app:layout_constraintEnd_toEndOf="parent" 24 app:layout_constraintTop_toTopOf="parent" 25 app:layoutDescription="@xml/immersive_privacy_chip_scene"> 26 <ImageView 27 android:id="@+id/immersive_privacy_microphone" 28 android:contentDescription="@null" 29 android:layout_height="@dimen/fullscreen_indicator_height" 30 android:layout_width="@dimen/fullscreen_indicator_width" 31 android:scaleType="center" 32 android:src="@drawable/ic_mic_dark" 33 android:background="@drawable/privacy_chip_active_background_pill" 34 android:visibility="gone" 35 app:layout_constraintBottom_toBottomOf="parent" 36 app:layout_constraintStart_toStartOf="parent" 37 app:layout_constraintTop_toTopOf="parent"/> 38 <ImageView 39 android:id="@+id/immersive_privacy_camera" 40 android:contentDescription="@null" 41 android:layout_height="@dimen/fullscreen_indicator_height" 42 android:layout_width="@dimen/fullscreen_indicator_width" 43 android:scaleType="center" 44 android:src="@drawable/ic_camera_dark" 45 android:background="@drawable/privacy_chip_active_background_pill" 46 android:visibility="gone" 47 app:layout_constraintBottom_toBottomOf="parent" 48 app:layout_constraintEnd_toEndOf="parent" 49 app:layout_constraintTop_toTopOf="parent"/> 50 <ImageView 51 android:id="@+id/immersive_privacy_dot" 52 android:contentDescription="@null" 53 android:layout_height="wrap_content" 54 android:layout_width="wrap_content" 55 android:scaleType="center" 56 android:src="@drawable/system_animation_ongoing_dot" 57 android:visibility="gone" 58 app:layout_constraintEnd_toEndOf="parent" 59 app:layout_constraintTop_toTopOf="parent"/> 60</androidx.constraintlayout.motion.widget.MotionLayout> 61