浏览代码

add textview for typing indicator

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 年之前
父节点
当前提交
32bd18ff32
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      app/src/main/res/layout/activity_chat.xml

+ 9 - 0
app/src/main/res/layout/activity_chat.xml

@@ -161,6 +161,15 @@
             android:layout_height="1dp"
             android:background="@color/controller_chat_separator" />
 
+        <TextView
+            android:id="@+id/typing_indicator"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginStart="@dimen/side_margin"
+            android:layout_marginEnd="@dimen/side_margin"
+            tools:text="Marcel is typing">
+        </TextView>
+
         <com.nextcloud.talk.ui.MessageInput
             android:id="@+id/messageInputView"
             android:layout_width="match_parent"