Browse Source

ignore lint Overdraw warning

Overdraw is expected here to avoid transparency for the typing indicator view. Instead chat message content should be hidden behind the typing indicator view.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 năm trước cách đây
mục cha
commit
0f58deacef
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      app/src/main/res/layout/activity_chat.xml

+ 2 - 1
app/src/main/res/layout/activity_chat.xml

@@ -174,7 +174,8 @@
                 android:layout_marginEnd="@dimen/side_margin"
                 android:background="@color/bg_default"
                 android:textColor="@color/low_emphasis_text"
-                tools:text="Marcel is typing">
+                tools:text="Marcel is typing"
+                tools:ignore="Overdraw">
             </TextView>
 
         </LinearLayout>