Weird workaround for multi line chat bubble displayed with wrong width
This commit is contained in:
parent
cacf1f4472
commit
5ef5564b6d
1 changed files with 160 additions and 152 deletions
|
@ -29,6 +29,12 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<!-- Weirdly enough this "useless" RelativeLayout prevents the measuring issue
|
||||
in child LinearLayout (which size depends on the MultiLineWrapContentWidthTextView) -->
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/select"
|
||||
android:onClick="@{() -> selectionListViewModel.onToggleSelect(position)}"
|
||||
|
@ -207,4 +213,6 @@
|
|||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</layout>
|
||||
|
|
Loading…
Reference in a new issue