Skip to content

Commit 59dc11b

Browse files
Upload Solve
1 parent d1be7ba commit 59dc11b

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/res/layout/activity_main.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,22 @@
2424
android:layout_width="wrap_content"
2525
android:layout_height="wrap_content"
2626
android:layout_marginStart="6dp"
27-
android:text="@string/tx" />
27+
android:text="@string/tx"
28+
android:labelFor="@+id/textArea"/>
2829

2930
<EditText
3031
android:id="@+id/textArea"
3132
android:layout_width="match_parent"
3233
android:layout_height="wrap_content"
3334
android:ems="10"
35+
android:importantForAutofill="no"
3436
android:inputType="textMultiLine|textPersonName"
3537
android:maxLines="255"
3638
android:minHeight="48dp"
3739
android:singleLine="false"
38-
tools:ignore="SpeakableTextPresentCheck"
40+
tools:ignore="SpeakableTextPresentCheck,DuplicateSpeakableTextCheck"
3941
tools:layout_marginEnd="6dp"
40-
tools:layout_marginStart="6dp"/>
42+
tools:layout_marginStart="6dp" />
4143

4244
<LinearLayout
4345
android:layout_width="match_parent"
@@ -51,6 +53,7 @@
5153
android:layout_width="wrap_content"
5254
android:layout_height="wrap_content"
5355
android:text="@string/clt"
56+
tools:ignore="TextContrastCheck"
5457
tools:layout_marginEnd="9dp"
5558
tools:layout_marginStart="9dp" />
5659

@@ -179,17 +182,20 @@
179182
android:layout_marginStart="6dp"
180183
android:layout_marginEnd="6dp"
181184
android:clickable="true"
185+
android:contentDescription="@string/sharedesc"
182186
app:srcCompat="@android:drawable/ic_menu_share"
183-
tools:ignore="SpeakableTextPresentCheck" />
187+
tools:ignore="SpeakableTextPresentCheck"
188+
android:focusable="true" />
184189

185190
<ImageView
186191
android:id="@+id/imageView"
187192
android:layout_width="match_parent"
188193
android:layout_height="wrap_content"
189194
android:layout_marginTop="7dp"
190-
tools:srcCompat="@tools:sample/avatars"
191195
tools:layout_marginEnd="6dp"
192-
tools:layout_marginStart="6dp"/>
196+
tools:layout_marginStart="6dp"
197+
tools:srcCompat="@drawable/ic_launcher_foreground"
198+
android:contentDescription="@string/qrloc"/>
193199

194200
<TextView
195201
android:id="@+id/copyr"

0 commit comments

Comments
 (0)