Show the illustration with the given button mode

Currently we support two modes of software shortcut.
We should change the illustration depending on the mode.

Bug: 185193333
Test: manually test
Change-Id: I54f800ead984c22cebec1de4ac15c022b0bcbb3d
This commit is contained in:
ryanlwlin
2021-04-13 14:51:39 +08:00
parent 57a7c9b307
commit 2c5570e9fc
3 changed files with 16 additions and 3 deletions

View File

@@ -25,13 +25,21 @@
android:orientation="vertical"
android:padding="24dp">
<ImageView
android:id="@+id/image"
android:layout_width="@dimen/accessibility_imageview_size"
android:layout_height="@dimen/accessibility_imageview_size"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="@dimen/accessibility_textview_layout_margin_bottom"
android:scaleType="fitCenter"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/accessibility_magnification_switch_shortcut_message"
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
android:textColor="?android:attr/textColorSecondary"
android:layout_marginBottom="24dp"/>
android:layout_marginBottom="@dimen/accessibility_textview_layout_margin_bottom"/>
<LinearLayout
android:layout_width="match_parent"