1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2021 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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 <LinearLayout 21 android:layout_width="@dimen/progress_fragment_content_width" 22 android:layout_height="wrap_content" 23 android:orientation="horizontal" 24 android:layoutDirection="locale" 25 android:gravity="center_vertical" 26 android:layout_gravity="center"> 27 28 <FrameLayout 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:paddingHorizontal="@dimen/fullscreen_icon_horizontal_padding" 32 android:paddingVertical="@dimen/fullscreen_icon_vertical_padding" 33 android:clipToPadding="false" 34 android:layout_marginEnd="@dimen/fullscreen_icon_margin_end" 35 android:layout_gravity="center"> 36 <ImageView 37 android:id="@+id/icon" 38 android:layout_height="@dimen/fullscreen_remote_icon_size" 39 android:layout_width="wrap_content" 40 android:adjustViewBounds="true" 41 android:scaleType="fitXY" 42 android:src="@drawable/ic_atv_remote" 43 android:background="@drawable/ic_atv_remote_elevation" 44 android:elevation="@dimen/fullscreen_remote_icon_elevation"/> 45 </FrameLayout> 46 47 <LinearLayout 48 android:orientation="vertical" 49 android:gravity="start" 50 android:layout_width="match_parent" 51 android:layout_height="wrap_content"> 52 <TextView 53 android:id="@+id/fullscreen_title" 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:gravity="center_vertical" 57 android:text="@string/settings_bt_update" 58 android:layout_marginBottom="@dimen/fullscreen_title_margin_bottom" 59 style="@style/SettingsStyle.TextAppearanceLarge" /> 60 <TextView 61 android:id="@+id/fullscreen_summary" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:text="@string/settings_bt_update_summary" 65 style="@style/SettingsStyle.TextAppearanceMedium" /> 66 <LinearLayout 67 android:orientation="horizontal" 68 android:gravity="center_vertical" 69 android:layout_width="wrap_content" 70 android:layout_height="wrap_content" 71 android:layout_marginTop="@dimen/fullscreen_progress_margin_top" 72 android:layout_marginBottom="@dimen/fullscreen_progress_margin_bottom"> 73 <ProgressBar 74 android:id="@+id/fullscreen_progressbar" 75 android:layout_width="@dimen/fullscreen_progress_progressbar_width" 76 android:layout_height="wrap_content" 77 android:layout_centerVertical="true" 78 android:visibility="invisible" 79 style="@style/BtProgressBar" /> 80 <ImageView 81 android:id="@+id/check_icon" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 android:layout_marginStart="20dp" 85 android:visibility="invisible" 86 android:height="@dimen/fullscreen_notice_icon_size" 87 android:width="@dimen/fullscreen_notice_icon_size" 88 android:src="@drawable/ic_baseline_check_24dp" /> 89 90 </LinearLayout> 91 </LinearLayout> 92 </LinearLayout> 93</FrameLayout> 94