Merge "Disable talkback for title and subtitle in BP" into udc-dev
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="1"
|
||||
android:ellipsize="marquee"
|
||||
android:importantForAccessibility="no"
|
||||
style="@style/TextAppearance.AuthCredential.Title"/>
|
||||
|
||||
<TextView
|
||||
@@ -34,6 +35,7 @@
|
||||
android:singleLine="true"
|
||||
android:marqueeRepeatLimit="1"
|
||||
android:ellipsize="marquee"
|
||||
android:importantForAccessibility="no"
|
||||
style="@style/TextAppearance.AuthCredential.Subtitle"/>
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -741,10 +741,10 @@ public abstract class AuthBiometricView extends LinearLayout {
|
||||
|
||||
mTitleView.setText(mPromptInfo.getTitle());
|
||||
|
||||
//setSelected could make marguee work
|
||||
// setSelected could make marquee work
|
||||
mTitleView.setSelected(true);
|
||||
mSubtitleView.setSelected(true);
|
||||
//make description view become scrollable
|
||||
// make description view become scrollable
|
||||
mDescriptionView.setMovementMethod(new ScrollingMovementMethod());
|
||||
|
||||
if (isDeviceCredentialAllowed()) {
|
||||
|
||||
Reference in New Issue
Block a user