This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
/
activity_call.xml
40 lines (36 loc) · 1.57 KB
/
activity_call.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp"
tools:context="com.nexmo.inappvoicewithfirebase.CallActivity">
<EditText
android:id="@+id/phoneNumberInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:inputType="phone"
app:layout_constraintBottom_toTopOf="@+id/callControlBtn" />
<TextView
android:id="@+id/callStatus"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toTopOf="@+id/phoneNumberInput"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="Calling +18675309" />
<Button
android:id="@+id/callControlBtn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:text="Call"
app:layout_constraintBottom_toBottomOf="parent" />
</android.support.constraint.ConstraintLayout>