aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/dialog_presence.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res/layout/dialog_presence.xml')
-rw-r--r--src/main/res/layout/dialog_presence.xml105
1 files changed, 54 insertions, 51 deletions
diff --git a/src/main/res/layout/dialog_presence.xml b/src/main/res/layout/dialog_presence.xml
index cef46e74a..68c39e131 100644
--- a/src/main/res/layout/dialog_presence.xml
+++ b/src/main/res/layout/dialog_presence.xml
@@ -2,68 +2,71 @@
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingStart="?attr/dialog_horizontal_padding"
- android:paddingLeft="?attr/dialog_horizontal_padding"
- android:paddingTop="?attr/dialog_vertical_padding"
- android:paddingEnd="?attr/dialog_horizontal_padding"
- android:paddingRight="?attr/dialog_horizontal_padding"
- android:paddingBottom="?attr/dialog_vertical_padding">
+ <ScrollView>
- <RadioGroup
- android:id="@+id/show"
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="?attr/dialog_vertical_padding">
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:paddingStart="?attr/dialog_horizontal_padding"
+ android:paddingLeft="?attr/dialog_horizontal_padding"
+ android:paddingTop="?attr/dialog_vertical_padding"
+ android:paddingEnd="?attr/dialog_horizontal_padding"
+ android:paddingRight="?attr/dialog_horizontal_padding"
+ android:paddingBottom="?attr/dialog_vertical_padding">
- <RadioButton
- android:id="@+id/online"
- style="@style/Widget.Conversations.RadioButton"
+ <RadioGroup
+ android:id="@+id/show"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/presence_online" />
+ android:layout_marginBottom="?attr/dialog_vertical_padding">
- <RadioButton
- android:id="@+id/away"
- style="@style/Widget.Conversations.RadioButton"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/presence_away" />
+ <RadioButton
+ android:id="@+id/online"
+ style="@style/Widget.Conversations.RadioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/presence_online" />
- <RadioButton
- android:id="@+id/xa"
- style="@style/Widget.Conversations.RadioButton"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/presence_xa" />
+ <RadioButton
+ android:id="@+id/away"
+ style="@style/Widget.Conversations.RadioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/presence_away" />
- <RadioButton
- android:id="@+id/dnd"
- style="@style/Widget.Conversations.RadioButton"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/presence_dnd" />
- </RadioGroup>
+ <RadioButton
+ android:id="@+id/xa"
+ style="@style/Widget.Conversations.RadioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/presence_xa" />
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
- app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">
+ <RadioButton
+ android:id="@+id/dnd"
+ style="@style/Widget.Conversations.RadioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/presence_dnd" />
+ </RadioGroup>
- <de.pixart.messenger.ui.widget.ImmediateAutoCompleteTextView
- android:id="@+id/status_message"
- style="@style/Widget.Conversations.EditText"
+ <com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:ems="10"
- android:hint="@string/status_message"
- android:inputType="textShortMessage"
- android:textColor="?attr/text_Color_Main" />
- </com.google.android.material.textfield.TextInputLayout>
+ app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
+ app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">
+
+ <de.pixart.messenger.ui.widget.ImmediateAutoCompleteTextView
+ android:id="@+id/status_message"
+ style="@style/Widget.Conversations.EditText"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ems="10"
+ android:hint="@string/status_message"
+ android:inputType="textShortMessage"
+ android:textColor="?attr/text_Color_Main" />
+ </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
+ </LinearLayout>
+ </ScrollView>
</layout> \ No newline at end of file