mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
534df06794
1) Make each MMS preference an individual choice between custom and default. 2) Display default values. Closes #2487 // FREEBIE
33 lines
1.4 KiB
XML
33 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Spinner android:id="@+id/default_or_custom"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:entries="@array/default_or_custom_entries"
|
|
android:entryValues="@array/default_or_custom_values"
|
|
android:layout_marginStart="16dip"
|
|
android:layout_marginLeft="16dip"
|
|
android:spinnerMode="dropdown"/>
|
|
|
|
<TextView android:id="@+id/default_label"
|
|
android:layout_marginLeft="18dip"
|
|
android:layout_marginRight="16dip"
|
|
android:layout_marginTop="16dip"
|
|
android:layout_marginBottom="16dip"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
<EditText android:id="@+id/custom_edit"
|
|
android:layout_marginLeft="16dip"
|
|
android:layout_marginRight="16dip"
|
|
android:layout_marginTop="16dip"
|
|
android:layout_marginBottom="16dip"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</LinearLayout> |