Commit 335b1aab authored by Trevor Perrier's avatar Trevor Perrier Committed by Commit Bot

android: fix Lite Mode FRE a11y support

This CL changes the TextView for the Lite Mode FRE and Second Run Promo
to use TextViewWithClickableSpans so double tap to follow the link works
in Talkback mode.

Bug: 1029466
Change-Id: I624b4c94f2992c6dcf26dd872b5ed448730568d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1948058Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Commit-Queue: Trevor  Perrier <perrier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#721825}
parent b73418d3
......@@ -56,7 +56,7 @@
android:layout_marginStart="@dimen/fre_content_margin"
android:orientation="vertical" >
<TextView
<org.chromium.ui.widget.TextViewWithClickableSpans
android:id="@+id/data_reduction_promo_summary_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......
......@@ -67,7 +67,7 @@
android:layout_marginBottom="@dimen/dialog_header_margin"
android:textAppearance="@style/TextAppearance.BlackHeadline" />
<org.chromium.ui.widget.TextViewWithLeading
<org.chromium.ui.widget.TextViewWithClickableSpans
android:id="@+id/subheader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment