1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3/** 4 * Copyright (C) 2021 The Android Open Source Project 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18--> 19<RelativeLayout 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/provisioning_progress_container" 22 android:layout_width="match_parent" 23 android:layout_height="wrap_content"> 24 <FrameLayout 25 android:id="@+id/sud_items_icon_container" 26 android:layout_alignTop="@+id/sud_items_title" 27 android:layout_alignBottom="@+id/sud_items_title" 28 android:layout_width="wrap_content" 29 android:layout_height="match_parent" 30 android:layout_marginEnd="@dimen/spacer_16"> 31 <ImageView 32 android:id="@+id/sud_items_icon" 33 android:layout_gravity="center_vertical" 34 android:layout_width="@dimen/sud_items_icon_size" 35 android:layout_height="@dimen/sud_items_icon_size" 36 android:scaleType="centerInside" /> 37 </FrameLayout> 38 <TextView 39 android:id="@+id/sud_items_title" 40 android:layout_toEndOf="@+id/sud_items_icon_container" 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:gravity="start" 44 style="@style/Provisioning2Theme.Text.Primary.Medium" 45 android:textDirection="locale" /> 46 <TextView 47 android:id="@+id/sud_items_summary" 48 android:layout_below="@+id/sud_items_title" 49 android:layout_width="match_parent" 50 android:layout_height="wrap_content" 51 android:gravity="start" 52 android:layout_marginStart="@dimen/sud_items_summary_margin_start" 53 android:layout_marginTop="@dimen/sud_items_summary_margin_top" 54 style="@style/Provisioning2Theme.Text.Primary.Small" 55 android:textDirection="locale" /> 56</RelativeLayout>