[Output Switcher] Upadte text string
update text string for stop button from "Stop" to "Stop casting"
Test: verified on device
Bug: 216193358
Change-Id: Id3511f055f31532b85299dd6f398118d808cc0f0
(cherry picked from commit cacf8d0ba1)
Merged-In: Id3511f055f31532b85299dd6f398118d808cc0f0
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
style="@style/Widget.Dialog.Button.BorderButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/keyboard_key_media_stop"
|
||||
android:text="@string/media_output_dialog_button_stop_casting"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<Space
|
||||
|
||||
@@ -2223,6 +2223,8 @@
|
||||
<string name="media_output_dialog_launch_app_text">To cast this session, please open the app.</string>
|
||||
<!-- App name when can't get app name [CHAR LIMIT=60] -->
|
||||
<string name="media_output_dialog_unknown_launch_app_name">Unknown app</string>
|
||||
<!-- Button text for stopping casting [CHAR LIMIT=60] -->
|
||||
<string name="media_output_dialog_button_stop_casting">Stop casting</string>
|
||||
|
||||
|
||||
<!-- Label for clip data when copying the build number off QS [CHAR LIMIT=NONE]-->
|
||||
|
||||
@@ -211,10 +211,8 @@ public abstract class MediaOutputBaseDialog extends SystemUIDialog implements
|
||||
ColorFilter buttonColorFilter = new PorterDuffColorFilter(
|
||||
mAdapter.getController().getColorButtonBackground(),
|
||||
PorterDuff.Mode.SRC_IN);
|
||||
ColorFilter onlineButtonColorFilter = new PorterDuffColorFilter(
|
||||
mAdapter.getController().getColorInactiveItem(), PorterDuff.Mode.SRC_IN);
|
||||
mDoneButton.getBackground().setColorFilter(buttonColorFilter);
|
||||
mStopButton.getBackground().setColorFilter(onlineButtonColorFilter);
|
||||
mStopButton.getBackground().setColorFilter(buttonColorFilter);
|
||||
}
|
||||
mHeaderIcon.setVisibility(View.VISIBLE);
|
||||
mHeaderIcon.setImageIcon(icon);
|
||||
|
||||
Reference in New Issue
Block a user