<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/background">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<EditText
|
android:id="@+id/username"
|
android:hint="Username"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
<EditText
|
android:id="@+id/password"
|
android:hint="Password"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
<EditText
|
android:id="@+id/domain"
|
android:hint="Domain"
|
android:text="sip.linphone.org"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
<RadioGroup
|
android:id="@+id/assistant_transports"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:orientation="horizontal">
|
|
<RadioButton
|
android:id="@+id/transport_udp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_margin="5dp"
|
android:text="UDP" />
|
|
<RadioButton
|
android:id="@+id/transport_tcp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_margin="5dp"
|
android:text="TCP" />
|
|
<RadioButton
|
android:id="@+id/transport_tls"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_margin="5dp"
|
android:checked="true"
|
android:text="TLS" />
|
|
</RadioGroup>
|
|
<Button
|
android:id="@+id/configure"
|
android:text="Connect"
|
android:layout_gravity="center"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|