73 lines
3.5 KiB
XML
73 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<TextView
|
|
android:background="@drawable/preference_top"
|
|
android:paddingTop="@dimen/small_spacing"
|
|
android:id="@+id/notifyAll"
|
|
style="@style/TextAppearance.Session.ConversationSettings.Option"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:text="@string/notify_type_all"
|
|
android:layout_width="0dp"
|
|
android:layout_height="72dp"/>
|
|
<View
|
|
android:layout_marginTop="@dimen/small_spacing"
|
|
app:layout_constraintTop_toTopOf="@+id/notifyAll"
|
|
app:layout_constraintBottom_toBottomOf="@+id/notifyAll"
|
|
app:layout_constraintEnd_toEndOf="@+id/notifyAll"
|
|
android:layout_marginEnd="54dp"
|
|
android:id="@+id/notifyAllButton"
|
|
android:padding="@dimen/small_spacing"
|
|
android:layout_width="@dimen/small_radial_size"
|
|
android:layout_height="@dimen/small_radial_size"
|
|
android:background="@drawable/padded_circle_accent_select"
|
|
android:foreground="@drawable/radial_multi_select"/>
|
|
<TextView
|
|
app:layout_constraintTop_toBottomOf="@+id/notifyAll"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:id="@+id/notifyMentions"
|
|
style="@style/TextAppearance.Session.ConversationSettings.Option"
|
|
android:background="@drawable/preference_middle"
|
|
android:text="@string/notify_type_mentions"
|
|
android:layout_width="0dp"
|
|
android:layout_height="@dimen/setting_button_height"/>
|
|
<View
|
|
app:layout_constraintTop_toTopOf="@+id/notifyMentions"
|
|
app:layout_constraintBottom_toBottomOf="@+id/notifyMentions"
|
|
app:layout_constraintEnd_toEndOf="@+id/notifyMentions"
|
|
android:layout_marginEnd="54dp"
|
|
android:id="@+id/notifyMentionsButton"
|
|
android:layout_width="@dimen/small_radial_size"
|
|
android:layout_height="@dimen/small_radial_size"
|
|
android:background="@drawable/padded_circle_accent_select"
|
|
android:foreground="@drawable/radial_multi_select"/>
|
|
<TextView
|
|
android:paddingBottom="@dimen/small_spacing"
|
|
app:layout_constraintTop_toBottomOf="@+id/notifyMentions"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:id="@+id/notifyMute"
|
|
style="@style/TextAppearance.Session.ConversationSettings.Option"
|
|
android:background="@drawable/preference_bottom"
|
|
android:text="@string/notify_type_mute"
|
|
android:layout_width="0dp"
|
|
android:layout_height="72dp"/>
|
|
<View
|
|
android:layout_marginBottom="@dimen/small_spacing"
|
|
app:layout_constraintTop_toTopOf="@+id/notifyMute"
|
|
app:layout_constraintBottom_toBottomOf="@+id/notifyMute"
|
|
app:layout_constraintEnd_toEndOf="@+id/notifyMute"
|
|
android:layout_marginEnd="54dp"
|
|
android:id="@+id/notifyMuteButton"
|
|
android:layout_width="@dimen/small_radial_size"
|
|
android:layout_height="@dimen/small_radial_size"
|
|
android:background="@drawable/padded_circle_accent_select"
|
|
android:foreground="@drawable/radial_multi_select"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |