- fixed possible crash when messages arrive before accounts are created - other minor fixes and improvements
51 lines
1.8 KiB
XML
51 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
tools:context="com.tutpro.baresip.AccountsActivity" >
|
|
|
|
<ListView
|
|
android:id="@+id/accounts"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content" >
|
|
|
|
<EditText
|
|
android:id="@+id/newAor"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:textSize="20sp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_marginStart="0dp"
|
|
android:layout_toLeftOf="@+id/addAccount"
|
|
android:inputType="textEmailAddress"
|
|
android:hint="SIP URI user@domain" >
|
|
</EditText>
|
|
|
|
<ImageButton
|
|
android:id="@+id/addAccount"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_marginLeft="6dp"
|
|
android:src="@drawable/action_add"
|
|
android:scaleType="centerCrop" >
|
|
</ImageButton>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|