292 lines
10 KiB
XML
292 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/AccountView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="24dp"
|
|
android:focusableInTouchMode="true" >
|
|
|
|
<TextView
|
|
android:id="@+id/Uri"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:paddingBottom="10dp"
|
|
android:text="" >
|
|
</TextView>
|
|
|
|
<TextView
|
|
android:id="@+id/DisplayNameTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/display_name" >
|
|
</TextView>
|
|
|
|
<EditText
|
|
android:id="@+id/DisplayName"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/your_name"
|
|
android:inputType="textPersonName|textCapWords"
|
|
android:textSize="18sp"
|
|
android:autofillHints="name"
|
|
android:layout_width="fill_parent">
|
|
</EditText>
|
|
|
|
<TextView
|
|
android:id="@+id/AuthUserTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/authentication_username" >
|
|
</TextView>
|
|
|
|
<EditText
|
|
android:id="@+id/AuthUser"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/user_id"
|
|
android:textSize="18sp"
|
|
android:inputType="textEmailAddress"
|
|
android:autofillHints="username"
|
|
android:layout_width="fill_parent">
|
|
</EditText>
|
|
|
|
<TextView
|
|
android:id="@+id/AuthPassTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/authentication_password" >
|
|
</TextView>
|
|
|
|
<EditText
|
|
android:id="@+id/AuthPass"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/password"
|
|
android:textSize="18sp"
|
|
android:inputType="textPassword"
|
|
android:importantForAutofill="no"
|
|
android:layout_width="fill_parent">
|
|
</EditText>
|
|
|
|
<TextView
|
|
android:id="@+id/OutboundProxyTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/outbound_proxies" >
|
|
</TextView>
|
|
|
|
<EditText
|
|
android:id="@+id/Outbound1"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/sip_uri_of_proxy_server"
|
|
android:textSize="18sp"
|
|
android:inputType="textEmailAddress"
|
|
android:importantForAutofill="no"
|
|
android:layout_width="fill_parent" >
|
|
</EditText>
|
|
|
|
<EditText
|
|
android:id="@+id/Outbound2"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:hint="@string/sip_uri_of_another_proxy_server"
|
|
android:textSize="18sp"
|
|
android:inputType="textEmailAddress"
|
|
android:importantForAutofill="no" >
|
|
</EditText>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal" >
|
|
<TextView
|
|
android:id="@+id/RegTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_toStartOf="@id/Register"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/register" >
|
|
</TextView>
|
|
<CheckBox
|
|
android:id="@+id/Register"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_gravity="end"
|
|
android:checked="false" >
|
|
</CheckBox>
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/AudioCodecsTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/audio_codecs" >
|
|
</TextView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/CodecSpinners"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp"
|
|
android:orientation="vertical" >
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/MediaNatTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/media_nat" >
|
|
</TextView>
|
|
|
|
<Spinner
|
|
android:id="@+id/mediaNatSpinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp" >
|
|
</Spinner>
|
|
|
|
<TextView
|
|
android:id="@+id/StunServerTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/stun_server" >
|
|
</TextView>
|
|
|
|
<EditText
|
|
android:id="@+id/StunServer"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="fill_parent"
|
|
android:textSize="18sp"
|
|
android:paddingTop="0dp"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="0dp"
|
|
android:scrollHorizontally="true"
|
|
android:hint="@string/stun_server_default"
|
|
android:importantForAutofill="no"
|
|
android:inputType="textEmailAddress" >
|
|
</EditText>
|
|
|
|
<TextView
|
|
android:id="@+id/MediaEncTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/media_encryption" >
|
|
</TextView>
|
|
|
|
<Spinner
|
|
android:id="@+id/mediaEncSpinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp" >
|
|
</Spinner>
|
|
|
|
<TextView
|
|
android:id="@+id/AnswerModeTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/answer_mode" >
|
|
</TextView>
|
|
|
|
<Spinner
|
|
android:id="@+id/answerModeSpinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="8dp" >
|
|
</Spinner>
|
|
|
|
<TextView
|
|
android:id="@+id/VoicemailUriTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="10dp"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/voicemail_uri" >
|
|
</TextView>
|
|
|
|
<EditText
|
|
android:id="@+id/voicemailUri"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/sip_uri"
|
|
android:textSize="18sp"
|
|
android:inputType="textUri"
|
|
android:importantForAutofill="no"
|
|
android:layout_width="fill_parent">
|
|
</EditText>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingTop="10dp">
|
|
<TextView
|
|
android:id="@+id/DefaultTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_toStartOf="@id/Default"
|
|
android:textSize="18sp"
|
|
android:textColor="@android:color/black"
|
|
android:onClick="onClick"
|
|
android:text="@string/default_account" >
|
|
</TextView>
|
|
<CheckBox
|
|
android:id="@+id/Default"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_gravity="end"
|
|
android:checked="false" >
|
|
</CheckBox>
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|