浏览代码

fix lint issues recently introduced

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 2 年之前
父节点
当前提交
653c5bc395
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      app/src/main/res/layout/controller_server_selection.xml

+ 4 - 3
app/src/main/res/layout/controller_server_selection.xml

@@ -137,17 +137,18 @@
                 android:id="@+id/error_wrapper"
                 android:layout_width="match_parent"
                 android:layout_height="match_parent"
+                android:orientation="horizontal"
                 android:paddingStart="16dp"
                 android:paddingEnd="2dp"
                 android:visibility="invisible"
-                android:orientation="horizontal"
+                tools:ignore="UseCompoundDrawables"
                 tools:visibility="visible">
 
                 <ImageView
                     android:layout_width="wrap_content"
                     android:layout_height="match_parent"
-                    android:src="@android:drawable/stat_sys_warning">
-                </ImageView>
+                    android:contentDescription="@null"
+                    android:src="@android:drawable/stat_sys_warning" />
 
                 <TextView
                     android:id="@+id/error_text"