Make whole chat room detail fragment clickable to prevent changing chatroom when clicking on some spaces

This commit is contained in:
Sylvain Berfini 2021-07-12 11:52:55 +02:00
parent c9dc049cfc
commit 831dacd243

View file

@ -39,7 +39,8 @@
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent"
android:clickable="true">
<LinearLayout <LinearLayout
android:id="@+id/top_bar" android:id="@+id/top_bar"
@ -185,8 +186,6 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:background="?attr/lightToolbarBackgroundColor" android:background="?attr/lightToolbarBackgroundColor"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <ImageView
@ -220,8 +219,8 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginTop="5dp" android:layout_marginTop="10dp"
android:layout_marginBottom="5dp" android:layout_marginBottom="10dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@drawable/resizable_text_field" android:background="@drawable/resizable_text_field"
android:imeOptions="flagNoExtractUi" android:imeOptions="flagNoExtractUi"