Fix button label missing in the SIM card pop ups

Use Button instead of TextView, so Button role is applied.

Fix: 261994361
Test: Manually with Talkback on
Change-Id: I8a342e15af6193000bd3b1aa34b1acf671f47739
This commit is contained in:
Chaohui Wang
2023-04-19 11:08:42 +08:00
parent b9faf7089d
commit 4c02f5b5b5

View File

@@ -14,12 +14,12 @@
limitations under the License. limitations under the License.
--> -->
<TextView xmlns:android="http://schemas.android.com/apk/res/android" <Button xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/title" android:id="@+id/title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:minHeight="?attr/listPreferredItemHeightSmall" android:minHeight="?attr/listPreferredItemHeightSmall"
style="?attr/materialAlertDialogBodyTextStyle" style="@style/SettingsLibActionButton"
android:gravity="center" android:gravity="center"
android:paddingTop="?attr/listPreferredItemPaddingStart" android:paddingTop="?attr/listPreferredItemPaddingStart"
android:paddingBottom="?attr/listPreferredItemPaddingEnd" android:paddingBottom="?attr/listPreferredItemPaddingEnd"