12 lines
3.1 KiB
XML
12 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/UiKit_ViewGroup_CoordinatorLayout">
|
|
<ScrollView android:layout_width="match_parent" android:layout_height="match_parent">
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:background="?attr/colorBackgroundPrimary" android:paddingLeft="16dp" android:paddingTop="16dp" android:paddingRight="16dp" android:paddingBottom="34dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingHorizontal="16dp" style="@style/UiKit_ViewGroup_ConstraintLayout">
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@+id/sparkle" android:background="@drawable/ic_sparkle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerInside" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toTopOf="0" app:srcCompat="@drawable/ic_channel_stage_24dp_white" app:tint="?attr/colorInteractiveNormal"/>
|
|
<TextView android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:text="@string/stage_moderator_join_modal_title" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/sparkle" style="@style/UiKit_Stage_Title"/>
|
|
<TextView android:id="@+id/subtitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/stage_moderator_join_modal_subtitle" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/title" style="@style/UiKit_Stage_Subtitle"/>
|
|
<com.google.android.material.button.MaterialButton android:id="@+id/join_speaker" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:text="@string/stage_moderator_join_modal_join_speaker" android:layout_marginEnd="4dp" app:icon="@drawable/ic_mic_grey_24dp" app:iconGravity="2" app:layout_constraintEnd_toStartOf="@+id/join_audience" app:layout_constraintStart_toStartOf="0" app:layout_constraintTop_toBottomOf="@+id/subtitle" style="@style/UiKit_Material_Button_Secondary"/>
|
|
<com.google.android.material.button.MaterialButton android:id="@+id/join_audience" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="16dp" android:text="@string/stage_moderator_join_modal_join_audience" android:layout_marginStart="4dp" app:icon="@drawable/ic_members_24dp" app:iconGravity="2" app:layout_constraintEnd_toEndOf="0" app:layout_constraintStart_toEndOf="@+id/join_speaker" app:layout_constraintTop_toBottomOf="@+id/subtitle" style="@style/UiKit_Material_Button_Secondary"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</ScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|