1<?xml version="1.0" encoding="utf-8"?><!-- 2~ Copyright (C) 2021 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 17 android:id="@+id/scrim_layout" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 21 <ImageView 22 android:id="@+id/status_icon" 23 android:scaleType="centerCrop" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" /> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="match_parent" 30 android:weightSum="1" 31 android:orientation="vertical"> 32 <ImageView 33 android:layout_weight=".2" 34 android:layout_width="match_parent" 35 android:layout_height="0dp" /> 36 <ImageView 37 android:background="@drawable/people_tile_status_scrim" 38 android:layout_weight=".8" 39 android:scaleType="centerCrop" 40 android:layout_width="match_parent" 41 android:layout_height="0dp" /> 42 </LinearLayout> 43 <LinearLayout 44 android:layout_width="match_parent" 45 android:layout_height="match_parent" 46 android:weightSum="1" 47 android:orientation="vertical"> 48 <ImageView 49 android:layout_weight=".66" 50 android:layout_width="match_parent" 51 android:layout_height="0dp" /> 52 <ImageView 53 android:background="@drawable/people_tile_status_scrim" 54 android:layout_weight=".33" 55 android:layout_width="match_parent" 56 android:layout_height="0dp" /> 57 </LinearLayout> 58</RelativeLayout> 59