50 lines
12 KiB
XML
50 lines
12 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" style="@style/res_2131952600_uikit_viewgroup_page">
|
|
<com.google.android.material.appbar.AppBarLayout style="@style/res_2131951638_apptheme_appbarlayout_flat">
|
|
<androidx.appcompat.widget.Toolbar android:title="@string/create_channel" style="@style/res_2131951666_apptheme_toolbar"/>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
<androidx.core.widget.NestedScrollView style="@style/res_2131951640_apptheme_appbarscrollingviewbehavior">
|
|
<LinearLayout style="@style/res_2131952592_uikit_viewgroup_linearlayout">
|
|
<com.google.android.material.textfield.TextInputLayout android:id="@+id/create_channel_name_layout" android:layout_margin="16dp" android:hint="@string/form_label_channel_name" style="@style/res_2131952556_uikit_textinputlayout_primary">
|
|
<com.google.android.material.textfield.TextInputEditText android:maxLength="100" style="@style/res_2131952548_uikit_textinputlayout_edittext_singleline"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<View style="@style/res_2131952489_uikit_settings_divider"/>
|
|
<LinearLayout android:id="@+id/create_channel_type_container" android:layout_marginBottom="8dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
|
|
<TextView android:gravity="center_vertical" android:layout_marginTop="16dp" android:text="@string/channel_type" android:textAllCaps="true" android:layout_marginStart="16dp" style="@style/res_2131952567_uikit_textview_h6"/>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/create_channel_text_container" android:background="?attr/bg_pressed_highlight" android:paddingTop="8dp" android:paddingBottom="8dp" android:layout_marginTop="8dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952589_uikit_viewgroup_constraintlayout">
|
|
<ImageView android:id="@+id/create_channel_text_icon" android:layout_width="16dp" android:layout_height="16dp" android:src="@drawable/ic_channel_text_16dp" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/create_channel_text_title" android:layout_width="0dp" android:text="@string/text_channel" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_text_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_text_radio" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952561_uikit_textview"/>
|
|
<TextView android:layout_width="0dp" android:layout_marginTop="2dp" android:text="@string/text_channel_desc" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_text_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_text_radio" app:layout_constraintTop_toBottomOf="@+id/create_channel_text_title" style="@style/res_2131952579_uikit_textview_subtext"/>
|
|
<RadioButton android:id="@+id/create_channel_text_radio" android:background="@null" android:focusable="false" android:clickable="false" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952481_uikit_radiobutton"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/create_channel_voice_container" android:background="?attr/bg_pressed_highlight" android:paddingTop="8dp" android:paddingBottom="8dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952589_uikit_viewgroup_constraintlayout">
|
|
<ImageView android:id="@+id/create_channel_voice_icon" android:layout_width="16dp" android:layout_height="16dp" android:src="@drawable/ic_channel_voice_16dp" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/create_channel_voice_title" android:layout_width="0dp" android:text="@string/voice_channel" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_voice_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_voice_radio" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952561_uikit_textview"/>
|
|
<TextView android:layout_width="0dp" android:layout_marginTop="2dp" android:text="@string/voice_channel_desc" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_voice_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_voice_radio" app:layout_constraintTop_toBottomOf="@+id/create_channel_voice_title" style="@style/res_2131952579_uikit_textview_subtext"/>
|
|
<RadioButton android:id="@+id/create_channel_voice_radio" android:background="@null" android:focusable="false" android:clickable="false" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952481_uikit_radiobutton"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/create_channel_announcements_container" android:background="?attr/bg_pressed_highlight" android:paddingTop="8dp" android:paddingBottom="8dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952589_uikit_viewgroup_constraintlayout">
|
|
<ImageView android:id="@+id/create_channel_announcements_icon" android:layout_width="16dp" android:layout_height="16dp" android:src="@drawable/ic_channel_announcements_16dp" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/create_channel_announcements_title" android:layout_width="0dp" android:text="@string/news_channel" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_announcements_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_announcements_radio" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952561_uikit_textview"/>
|
|
<TextView android:layout_width="0dp" android:layout_marginTop="2dp" android:text="@string/news_channel_desc" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_announcements_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_announcements_radio" app:layout_constraintTop_toBottomOf="@+id/create_channel_announcements_title" style="@style/res_2131952579_uikit_textview_subtext"/>
|
|
<RadioButton android:id="@+id/create_channel_announcements_radio" android:background="@null" android:focusable="false" android:clickable="false" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952481_uikit_radiobutton"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/create_channel_stage_container" android:background="?attr/bg_pressed_highlight" android:paddingTop="8dp" android:paddingBottom="8dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952589_uikit_viewgroup_constraintlayout">
|
|
<ImageView android:id="@+id/create_channel_stage_icon" android:layout_width="16dp" android:layout_height="16dp" android:src="@drawable/ic_channel_stage_16dp" android:importantForAccessibility="no" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintLeft_toLeftOf="0" app:layout_constraintTop_toTopOf="0"/>
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/create_channel_stage_title" android:layout_width="0dp" android:text="@string/stage_channel" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_stage_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_stage_radio" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952561_uikit_textview"/>
|
|
<TextView android:layout_width="0dp" android:layout_marginTop="2dp" android:text="@string/stage_channel_desc" android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintLeft_toRightOf="@+id/create_channel_stage_icon" app:layout_constraintRight_toLeftOf="@+id/create_channel_stage_radio" app:layout_constraintTop_toBottomOf="@+id/create_channel_stage_title" style="@style/res_2131952579_uikit_textview_subtext"/>
|
|
<RadioButton android:id="@+id/create_channel_stage_radio" android:background="@null" android:focusable="false" android:clickable="false" app:layout_constraintBottom_toBottomOf="0" app:layout_constraintRight_toRightOf="0" app:layout_constraintTop_toTopOf="0" style="@style/res_2131952481_uikit_radiobutton"/>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</LinearLayout>
|
|
<View style="@style/res_2131952489_uikit_settings_divider"/>
|
|
<RelativeLayout android:id="@+id/create_channel_private_container" android:paddingTop="16dp" android:paddingBottom="8dp" android:layout_marginBottom="8dp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" style="@style/res_2131952606_uikit_viewgroup_relativelayout">
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/create_channel_private_title" android:layout_marginTop="8dp" android:text="@string/private_channel" android:drawablePadding="8dp" android:layout_alignParentStart="true" app:drawableStartCompat="@drawable/ic_channel_lock_16dp" style="@style/res_2131952561_uikit_textview"/>
|
|
<TextView android:id="@+id/create_channel_private_info" android:layout_marginTop="16dp" android:text="@string/private_channel_note" android:layout_below="@+id/create_channel_private_title" android:layout_marginStart="24dp" android:layout_alignParentStart="true" style="@style/res_2131952561_uikit_textview"/>
|
|
<androidx.appcompat.widget.SwitchCompat android:id="@+id/create_channel_private_switch" android:background="@null" android:focusable="false" android:clickable="false" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4dp" android:layout_alignParentTop="true" android:layout_alignParentEnd="true" app:thumbTint="?attr/colorCompoundButton"/>
|
|
</RelativeLayout>
|
|
<View android:id="@+id/create_channel_role_divider" style="@style/res_2131952489_uikit_settings_divider"/>
|
|
<TextView android:gravity="center_vertical" android:id="@+id/create_channel_role_header" android:visibility="gone" android:layout_margin="16dp" android:text="@string/form_label_channel_permissions" android:textAllCaps="true" style="@style/res_2131952567_uikit_textview_h6"/>
|
|
<androidx.recyclerview.widget.RecyclerView android:id="@+id/create_channel_role_access_recycler" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|