mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-21 15:37:32 +00:00
07c59d969a
If TextSecure is running on a device without APN details, we prompt the user to manually specify them when the user goes to send an MMS message.
92 lines
4.5 KiB
XML
92 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:fillViewport="true"
|
|
android:background="@drawable/background_pattern_repeat">
|
|
|
|
<FrameLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center" >
|
|
|
|
<LinearLayout android:paddingRight="16dip"
|
|
android:paddingLeft="16dip"
|
|
android:paddingTop="10dip"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dip"
|
|
android:text="@string/prompt_apn_activity__textsecure_requires_apn_settings_to_deliver_media_messages_via_your_wireless_carrier"/>
|
|
|
|
<TextView style="@style/Registration.Description"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dip"
|
|
android:text="@string/prompt_apn_activity__to_send_media_messages_please_complete_the_necessary_apn_information_below"/>
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:text="@string/prompt_apn_activity__mmsc_url_required"/>
|
|
|
|
<EditText android:id="@+id/mmsc_url"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:layout_marginBottom="10dip" />
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:text="@string/prompt_apn_activity__mms_proxy_host_optional"/>
|
|
|
|
<EditText android:id="@+id/mms_proxy_host"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:singleLine="true"
|
|
android:layout_marginBottom="10dip" />
|
|
|
|
<TextView style="@style/Registration.Label"
|
|
android:layout_width="fill_parent"
|
|
android:text="@string/prompt_apn_activity__mms_proxy_port_optional"/>
|
|
|
|
<EditText android:id="@+id/mms_proxy_port"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="10dip"
|
|
android:inputType="number"
|
|
android:singleLine="true" />
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:gravity="center"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dip"
|
|
android:layout_marginBottom="20dip">
|
|
|
|
<Button style="@android:style/Widget.Button"
|
|
android:id="@+id/cancel_button"
|
|
android:text="@android:string/cancel"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="7dip"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
<Button style="@android:style/Widget.Button"
|
|
android:id="@+id/ok_button"
|
|
android:text="@android:string/ok"
|
|
android:layout_weight="1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</FrameLayout>
|
|
</ScrollView>
|