forked from mirror/monocles_chat_clean
Update message adapter with layout binding
This commit is contained in:
parent
19221f3499
commit
f00ddc134f
3 changed files with 918 additions and 618 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,8 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.daimajia.swipe.SwipeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:tools="http://schemas.android.com/tools" >
|
||||
|
||||
<com.daimajia.swipe.SwipeLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
app:drag_edge="left"
|
||||
|
@ -139,7 +140,7 @@
|
|||
tools:text="10:42" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/username"
|
||||
android:id="@+id/message_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
|
@ -173,3 +174,4 @@
|
|||
app:layout_constraintTop_toBottomOf="@+id/reactions_anchor" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</com.daimajia.swipe.SwipeLayout>
|
||||
</layout>
|
|
@ -1,8 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.daimajia.swipe.SwipeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<com.daimajia.swipe.SwipeLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
app:drag_edge="left"
|
||||
|
@ -171,3 +172,4 @@
|
|||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</com.daimajia.swipe.SwipeLayout>
|
||||
</layout>
|
Loading…
Reference in a new issue