1<!-- 2 ~ Copyright (C) 2025 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 17<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="@dimen/volume_dialog_width" 19 android:layout_height="@dimen/volume_dialog_button_size" 20 android:layout_gravity="bottom|end"> 21 22 <View 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:layout_marginBottom="@dimen/volume_dialog_background_top_margin" 26 android:layout_marginTop="@dimen/volume_dialog_background_vertical_margin" 27 android:background="@drawable/volume_dialog_ringer_background" /> 28 29 <TextView xmlns:android="http://schemas.android.com/apk/res/android" 30 android:id="@+id/volume_number" 31 android:layout_width="@dimen/volume_dialog_button_size" 32 android:layout_height="@dimen/volume_dialog_button_size" 33 android:layout_gravity="center" 34 android:background="@drawable/tv_volume_dialog_circle" 35 android:fontFeatureSettings="tnum" 36 android:gravity="center" 37 android:maxLength="3" 38 android:textColor="@color/tv_volume_dialog_accent" 39 android:textSize="@dimen/tv_volume_number_text_size" /> 40 41</FrameLayout>