Files
app_Settings/res/layout/audio_sharing_device_item.xml
Haijie Hong 36241da3cb Update style in AudioSharingDeviceAdapter
Bug: 399532172
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only
Change-Id: I49bb1210e2c4c1bd4f424aaa65e185cc511b93fd
2025-04-29 16:37:00 +08:00

47 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2023 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"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<Button
android:id="@+id/device_button"
style="@style/SettingsLibActionButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textColor="?androidprv:attr/textColorOnAccent"
android:background="@drawable/audio_sharing_rounded_bg_ripple"
android:textAlignment="center"
android:featureFlag="!com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only" />
<Button
android:id="@+id/device_button"
style="@style/Widget.SettingsLib.DialogButton.Filled"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="0dp"
android:layout_marginEnd="0dp"
android:textAlignment="center"
android:featureFlag="com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only" />
</FrameLayout>