2017-05-03 01:42:07 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-06 13:23:33 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-05-03 01:42:07 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-07-27 09:33:34 +02:00
|
|
|
android:id="@+id/llContent"
|
2017-05-03 01:42:07 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2017-05-13 00:53:42 +02:00
|
|
|
|
2017-07-27 09:33:34 +02:00
|
|
|
android:orientation="vertical"
|
2017-05-13 00:53:42 +02:00
|
|
|
|
2017-05-03 01:42:07 +02:00
|
|
|
>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-07-27 09:33:34 +02:00
|
|
|
android:layout_marginTop="4dp"
|
2017-05-03 01:42:07 +02:00
|
|
|
android:paddingStart="12dp"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:text="@string/preview" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvPreview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingTop="6dp"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:paddingBottom="6dp"
|
2017-05-03 01:42:07 +02:00
|
|
|
android:textSize="20sp"
|
2019-10-06 13:23:33 +02:00
|
|
|
tools:text="preview..." />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:fadeScrollbars="false"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:fillViewport="true">
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:padding="12dp">
|
2017-05-03 01:42:07 +02:00
|
|
|
|
2019-10-06 13:23:33 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:text="@string/acct" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvAcct"
|
2019-10-06 13:23:33 +02:00
|
|
|
style="@style/setting_horizontal_stretch" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-06 13:23:33 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
2017-05-07 20:16:41 +02:00
|
|
|
android:labelFor="@+id/etNickname"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:text="@string/nickname" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/etNickname"
|
|
|
|
style="@style/setting_horizontal_stretch"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:importantForAutofill="no"
|
2017-05-03 01:42:07 +02:00
|
|
|
android:inputType="text"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:maxLines="1" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-06 13:23:33 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:text="@string/text_color" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnTextColorEdit"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnTextColorReset"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/reset"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-06 13:23:33 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:text="@string/background_color" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnBackgroundColorEdit"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnBackgroundColorReset"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/reset"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-06 13:23:33 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
2017-07-27 09:33:34 +02:00
|
|
|
<LinearLayout
|
2019-10-06 13:23:33 +02:00
|
|
|
android:id="@+id/llNotificationSound"
|
2017-07-27 09:33:34 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:orientation="vertical">
|
2017-07-27 09:33:34 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/setting_row_label"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:text="@string/notification_sound_before_oreo" />
|
2017-07-27 09:33:34 +02:00
|
|
|
|
|
|
|
<LinearLayout style="@style/setting_row_form">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnNotificationSoundEdit"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/edit"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-07-27 09:33:34 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnNotificationSoundReset"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/reset"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-07-27 09:33:34 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-10-06 13:23:33 +02:00
|
|
|
<View style="@style/setting_divider" />
|
2017-07-27 09:33:34 +02:00
|
|
|
</LinearLayout>
|
2017-05-03 01:42:07 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/nickname_applied_after_reload"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textSize="12sp" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
style="?android:attr/buttonBarStyle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:measureWithLargestChild="true">
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnSave"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/save"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-05-03 01:42:07 +02:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnDiscard"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/discard"
|
2019-10-06 13:23:33 +02:00
|
|
|
android:textAllCaps="false" />
|
2017-05-03 01:42:07 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|