mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 03:18:06 +00:00
Improved meeting layout
This commit is contained in:
parent
3cec19126d
commit
4039da9c8a
1 changed files with 20 additions and 33 deletions
|
|
@ -109,8 +109,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.subject, default=`Broadcast about agility in software development`}"
|
||||
android:textSize="20sp"
|
||||
android:textColor="?attr/color_main2_600"
|
||||
|
|
@ -138,38 +138,25 @@
|
|||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style"
|
||||
android:id="@+id/sip_uri"
|
||||
android:onClick="@{shareClickListener}"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.sipUri, default=`linphone.com/wjre.fr`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_600"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:drawableStart="@drawable/video_camera"
|
||||
android:drawableEnd="@drawable/copy"
|
||||
android:drawablePadding="8dp"
|
||||
android:drawableTint="?attr/color_main2_600"
|
||||
android:contentDescription="@string/content_description_meeting_share"
|
||||
app:layout_constraintTop_toBottomOf="@id/separator"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/share" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/share"
|
||||
android:onClick="@{shareClickListener}"
|
||||
android:layout_width="@dimen/big_icon_size"
|
||||
android:layout_height="@dimen/big_icon_size"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/share_network"
|
||||
android:contentDescription="@string/content_description_meeting_share"
|
||||
android:background="@drawable/circle_transparent_button_background"
|
||||
app:layout_constraintTop_toTopOf="@id/sip_uri"
|
||||
app:layout_constraintBottom_toBottomOf="@id/sip_uri"
|
||||
app:layout_constraintStart_toEndOf="@id/sip_uri"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:tint="?attr/color_main2_600" />
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style"
|
||||
|
|
@ -177,8 +164,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.dateTime, default=`October 11th, 2023 | 17:00 - 18:00`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_600"
|
||||
|
|
@ -197,8 +184,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.timezone, default=@string/meeting_schedule_timezone_title}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_600"
|
||||
|
|
@ -228,8 +215,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:text="@{viewModel.description, default=`Lorem ipsum dolor sit amet`}"
|
||||
android:textSize="14sp"
|
||||
android:textColor="?attr/color_main2_600"
|
||||
|
|
@ -267,7 +254,7 @@
|
|||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:src="@drawable/user_square"
|
||||
android:contentDescription="@string/content_description_meeting_participants_list"
|
||||
android:visibility="@{viewModel.isBroadcast ? View.VISIBLE : View.GONE}"
|
||||
|
|
@ -280,8 +267,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:visibility="@{viewModel.isBroadcast ? View.VISIBLE : View.GONE}"
|
||||
android:orientation="vertical"
|
||||
entries="@{viewModel.speakers}"
|
||||
|
|
@ -307,7 +294,7 @@
|
|||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:src="@drawable/users"
|
||||
android:contentDescription="@string/content_description_meeting_participants_list"
|
||||
app:layout_constraintTop_toBottomOf="@id/separator_4"
|
||||
|
|
@ -319,8 +306,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:nestedScrollingEnabled="true"
|
||||
app:layout_constrainedHeight="true"
|
||||
app:layout_constraintVertical_bias="0"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue