Use whole scheduled conference cell for toggle expand

This commit is contained in:
Sylvain Berfini 2022-06-22 16:33:24 +02:00
parent 2e5603cb41
commit 0286abc070
2 changed files with 4 additions and 7 deletions

View file

@ -25,6 +25,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:onClick="@{() -> data.toggleExpand()}"
android:paddingStart="10dp" android:paddingStart="10dp"
android:paddingEnd="10dp" android:paddingEnd="10dp"
android:orientation="vertical"> android:orientation="vertical">
@ -114,7 +115,6 @@
app:drawableStartCompat="@drawable/icon_schedule_participants" /> app:drawableStartCompat="@drawable/icon_schedule_participants" />
<ImageView <ImageView
android:onClick="@{() -> data.toggleExpand()}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
@ -132,7 +132,6 @@
android:layout_marginEnd="5dp"> android:layout_marginEnd="5dp">
<ImageView <ImageView
android:onClick="@{() -> data.toggleExpand()}"
android:id="@+id/selected_info" android:id="@+id/selected_info"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -153,7 +152,7 @@
android:contentDescription="@string/content_description_conference_participants" android:contentDescription="@string/content_description_conference_participants"
android:src="@drawable/icon_schedule_participants"/> android:src="@drawable/icon_schedule_participants"/>
<EditText <TextView
style="@style/conference_invite_desc_font" style="@style/conference_invite_desc_font"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -163,9 +162,7 @@
android:layout_toEndOf="@id/participants_icon" android:layout_toEndOf="@id/participants_icon"
android:background="@color/transparent_color" android:background="@color/transparent_color"
android:drawablePadding="5dp" android:drawablePadding="5dp"
android:enabled="false" android:text="@{data.participantsExpanded, default=`Daryl Martin\nMartin Pecheur`}"
android:inputType="textMultiLine"
android:text="@{data.participantsExpanded}"
tools:ignore="LabelFor" /> tools:ignore="LabelFor" />
</RelativeLayout> </RelativeLayout>

View file

@ -64,7 +64,7 @@
android:id="@+id/conference_info_list" android:id="@+id/conference_info_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_below="@id/top_bar"/> android:layout_below="@id/top_bar" />
<TextView <TextView
style="@style/empty_list_font" style="@style/empty_list_font"