summaryrefslogtreecommitdiff
path: root/pjsip-apps/src/pjsua/android/app/src/main/res/layout/activity_main.xml
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2016-12-21 08:33:57 +0000
committerNanang Izzuddin <nanang@teluu.com>2016-12-21 08:33:57 +0000
commit9ab2ca6fb9463c9d942bd3f0af75acc28602334b (patch)
treeeb2450b449315f1e1d0c523f70879e0b578502f8 /pjsip-apps/src/pjsua/android/app/src/main/res/layout/activity_main.xml
parent4396e6f8a065a9d400039d4c21fe359d0ae07399 (diff)
Re #1986: Convert pjsua sample app Android project from Eclipse to Android Studio.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5506 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/pjsua/android/app/src/main/res/layout/activity_main.xml')
-rw-r--r--pjsip-apps/src/pjsua/android/app/src/main/res/layout/activity_main.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/pjsip-apps/src/pjsua/android/app/src/main/res/layout/activity_main.xml b/pjsip-apps/src/pjsua/android/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 00000000..24a13372
--- /dev/null
+++ b/pjsip-apps/src/pjsua/android/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/textStatus"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentTop="false"
+ android:layout_centerHorizontal="true"
+ android:textIsSelectable="false" />
+
+ <SurfaceView
+ android:id="@+id/surfaceViewIncomingCall"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_above="@+id/imageApp"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:layout_marginBottom="50dp" />
+
+ <TextView
+ android:id="@+id/textApp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/textStatus"
+ android:layout_centerHorizontal="true"
+ android:layout_marginBottom="126dp"
+ android:text="@string/app_name"
+ android:textSize="40sp"
+ android:typeface="serif" />
+
+ <ImageView
+ android:id="@+id/imageApp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/textApp"
+ android:layout_centerHorizontal="true"
+ android:contentDescription="@string/app_name"
+ android:src="@drawable/main_image" />
+
+</RelativeLayout> \ No newline at end of file