[MEP] renew the sim confirm dialog UI am: ba9d26696b
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/2043027 Change-Id: I8a21b5f42cdd0febc75d2b4fca211bb21d8ea084 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -12762,7 +12762,7 @@
|
||||
<!-- Status message indicating the device is in the process of disconnecting from one mobile network and immediately connecting to another. [CHAR_LIMIT=NONE] -->
|
||||
<string name="sim_action_enabling_sim_without_carrier_name">Connecting to network…</string>
|
||||
<!-- Text of progress dialog indicating the subscription switch is in progress. [CHAR_LIMIT=NONE] -->
|
||||
<string name="sim_action_switch_sub_dialog_progress">Switching to <xliff:g id="carrier_name" example="Google Fi">%1$s</xliff:g></string>
|
||||
<string name="sim_action_switch_sub_dialog_progress">Switching to <xliff:g id="carrier_name" example="Google Fi">%1$s</xliff:g> for calls and messages…</string>
|
||||
<!-- Title of error message indicating that the device could not disconnect from one mobile network and immediately connect to another. [CHAR_LIMIT=NONE] -->
|
||||
<string name="sim_action_enable_sim_fail_title">Can\u2019t switch carrier</string>
|
||||
<!-- Body text of error message indicating the device could not disconnect from one mobile network and immediately connect to another, due to an unspecified issue. [CHAR_LIMIT=NONE] -->
|
||||
|
@@ -914,4 +914,25 @@
|
||||
parent="@*android:style/TextAppearance.DeviceDefault">
|
||||
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.SimConfirmDialogList" parent="@style/TextAppearance.DialogMessage"/>
|
||||
|
||||
<style name="TextAppearance.SimConfirmDialogList.Summary">
|
||||
<item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
|
||||
</style>
|
||||
|
||||
<style name="SimConfirmDialog.OutlineButton" parent="@android:style/Widget.Material.Button">
|
||||
<item name="android:layout_marginStart">8dp</item>
|
||||
<item name="android:layout_height">36dp</item>
|
||||
<item name="android:minWidth">0dp</item>
|
||||
<item name="android:textSize">14sp</item>
|
||||
<item name="android:lineHeight">20sp</item>
|
||||
<item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:background">@drawable/sim_confirm_dialog_btn_outline</item>
|
||||
</style>
|
||||
|
||||
<style name="SimConfirmDialog.ButtonBarStyle" parent="@android:style/Widget.Material.ButtonBar">
|
||||
<item name="android:paddingEnd">8dp</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
@@ -142,6 +142,13 @@
|
||||
<item name="buttonBarButtonStyle">@*android:style/Widget.DeviceDefault.Button.ButtonBar.AlertDialog</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="Theme.AlertDialog.SimConfirmDialog">
|
||||
<item name="buttonBarStyle">@style/SimConfirmDialog.ButtonBarStyle</item>
|
||||
<item name="buttonBarButtonStyle">@style/SimConfirmDialog.OutlineButton</item>
|
||||
<item name="android:textAllCaps">false</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.ConfirmDeviceCredentials" parent="Theme.SubSettings">
|
||||
<item name="confirmDeviceCredentialsSideMargin">@dimen/confirm_credentials_side_margin</item>
|
||||
<item name="confirmDeviceCredentialsTopMargin">@dimen/confirm_credentials_top_margin</item>
|
||||
|
Reference in New Issue
Block a user