Przeglądaj źródła

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 lat temu
rodzic
commit
0f58deacef
1 zmienionych plików z 2 dodań i 1 usunięć
  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>