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 years ago
parent
commit
0f58deacef
1 changed files with 2 additions and 1 deletions
  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:layout_marginEnd="@dimen/side_margin"
                 android:background="@color/bg_default"
                 android:background="@color/bg_default"
                 android:textColor="@color/low_emphasis_text"
                 android:textColor="@color/low_emphasis_text"
-                tools:text="Marcel is typing">
+                tools:text="Marcel is typing"
+                tools:ignore="Overdraw">
             </TextView>
             </TextView>
 
 
         </LinearLayout>
         </LinearLayout>