anotherim/src/main/res/layout/dialog_presence.xml

66 lines
2.8 KiB
XML
Raw Normal View History

2018-03-03 11:27:46 +00:00
<?xml version="1.0" encoding="utf-8"?>
2018-03-31 10:16:56 +00:00
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout
2018-03-03 11:27:46 +00:00
android:layout_width="match_parent"
2018-03-31 10:16:56 +00:00
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="?attr/dialog_vertical_padding"
android:paddingLeft="?attr/dialog_horizontal_padding"
android:paddingRight="?attr/dialog_horizontal_padding"
android:paddingTop="?attr/dialog_vertical_padding">
2018-03-03 11:27:46 +00:00
2018-03-31 10:16:56 +00:00
<RadioGroup
android:id="@+id/show"
2018-03-03 11:27:46 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-03-31 10:16:56 +00:00
android:layout_marginBottom="?attr/dialog_vertical_padding">
2018-03-03 11:27:46 +00:00
2018-03-31 10:16:56 +00:00
<RadioButton
android:id="@+id/online"
style="@style/Widget.Conversations.RadioButton"
2018-03-31 10:16:56 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/presence_online"/>
2018-03-03 11:27:46 +00:00
2018-03-31 10:16:56 +00:00
<RadioButton
android:id="@+id/away"
style="@style/Widget.Conversations.RadioButton"
2018-03-31 10:16:56 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/presence_away"/>
2018-03-03 11:27:46 +00:00
2018-03-31 10:16:56 +00:00
<RadioButton
android:id="@+id/xa"
style="@style/Widget.Conversations.RadioButton"
2018-03-31 10:16:56 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/presence_xa"/>
<RadioButton
android:id="@+id/dnd"
style="@style/Widget.Conversations.RadioButton"
2018-03-31 10:16:56 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/presence_dnd"/>
</RadioGroup>
<com.google.android.material.textfield.TextInputLayout
2018-03-03 11:27:46 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2018-03-31 10:16:56 +00:00
app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
app:hintTextAppearance="@style/TextAppearance.Conversations.Design.Hint">
2018-03-03 11:27:46 +00:00
2018-03-31 10:16:56 +00:00
<eu.siacs.conversations.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"/>
</com.google.android.material.textfield.TextInputLayout>
2018-03-03 11:27:46 +00:00
2018-03-31 10:16:56 +00:00
</LinearLayout>
2018-03-03 11:27:46 +00:00
</layout>