<!--
  ~ Copyright (C) 2025 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="@dimen/volume_dialog_width"
    android:layout_height="@dimen/volume_dialog_button_size"
    android:layout_gravity="bottom|end">

    <View
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginBottom="@dimen/volume_dialog_background_top_margin"
        android:layout_marginTop="@dimen/volume_dialog_background_vertical_margin"
        android:background="@drawable/volume_dialog_ringer_background" />

    <TextView xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/volume_number"
        android:layout_width="@dimen/volume_dialog_button_size"
        android:layout_height="@dimen/volume_dialog_button_size"
        android:layout_gravity="center"
        android:background="@drawable/tv_volume_dialog_circle"
        android:fontFeatureSettings="tnum"
        android:gravity="center"
        android:maxLength="3"
        android:textColor="@color/tv_volume_dialog_accent"
        android:textSize="@dimen/tv_volume_number_text_size" />

</FrameLayout>