| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
android:orientation="vertical" |
| 4 |
android:layout_width="fill_parent" |
| 5 |
android:layout_height="fill_parent" |
| 6 |
android:layout_weight="1"> |
| 7 |
<SurfaceView |
| 8 |
android:id="@+id/incomingVideoView" |
| 9 |
android:layout_marginTop="-95dp" |
| 10 |
android:layout_width="wrap_content" |
| 11 |
android:layout_height="wrap_content" /> |
| 12 |
<TextView |
| 13 |
android:id="@+id/peerTxt" |
| 14 |
android:layout_width="wrap_content" |
| 15 |
android:layout_height="wrap_content" |
| 16 |
android:layout_gravity="top|center" |
| 17 |
android:layout_marginTop="25dp" |
| 18 |
android:text="Peer" |
| 19 |
android:textColor="@android:color/holo_red_dark" |
| 20 |
android:textAlignment="center"/> |
| 21 |
<TextView |
| 22 |
android:id="@+id/statusTxt" |
| 23 |
android:layout_width="wrap_content" |
| 24 |
android:layout_height="wrap_content" |
| 25 |
android:layout_gravity="top|center" |
| 26 |
android:layout_marginTop="50dp" |
| 27 |
android:text="Status" |
| 28 |
android:textColor="@android:color/holo_red_dark" |
| 29 |
android:textAlignment="center"/> |
| 30 |
<Button |
| 31 |
android:id="@+id/acceptCallButton" |
| 32 |
android:layout_width="150dp" |
| 33 |
android:layout_height="50dp" |
| 34 |
android:layout_marginBottom="15dp" |
| 35 |
android:layout_marginLeft="25dp" |
| 36 |
android:layout_gravity="left|bottom" |
| 37 |
android:text="Accept"/> |
| 38 |
<Button |
| 39 |
android:id="@+id/hangupCallButton" |
| 40 |
android:layout_width="150dp" |
| 41 |
android:layout_height="50dp" |
| 42 |
android:layout_marginBottom="15dp" |
| 43 |
android:layout_marginRight="25dp" |
| 44 |
android:layout_gravity="right|bottom" |
| 45 |
android:text="Hangup"/> |
| 46 |
</FrameLayout> |