CallActivity using fragments to change between calling/in call states
diff --git a/res/layout/activity_call_layout.xml b/res/layout/activity_call_layout.xml
index 5caf67b..44b54da 100644
--- a/res/layout/activity_call_layout.xml
+++ b/res/layout/activity_call_layout.xml
@@ -30,37 +30,42 @@
as that of the covered work.
-->
-<LinearLayout xmlns:android = "http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/CallActivityLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
- android:orientation="vertical">
+ android:orientation="vertical" >
+
<Button
android:id="@+id/buttonanswer"
- android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:text="Answer Up"/>
+ android:layout_height="wrap_content"
+ android:text="Answer Up" />
+
<Button
android:id="@+id/buttonhangup"
- android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:text="Hang Up"/>
+ android:layout_height="wrap_content"
+ android:text="Hang Up" />
+
<Button
android:id="@+id/buttonhold"
- android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:text="Hold"/>
+ android:layout_height="wrap_content"
+ android:text="Hold" />
+
<Button
android:id="@+id/buttonunhold"
- android:layout_height="wrap_content"
android:layout_width="match_parent"
- android:text="Unhold"/>
- <TextView
- android:id="@+id/callstate"
- android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Unhold" />
+
+ <LinearLayout
+ android:id="@+id/fragment_layout"
+ android:layout_width="match_parent"
android:layout_height="match_parent"
- android:gravity="center_vertical|center_horizontal"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:text="Call State"/>
-</LinearLayout>
+ android:orientation="vertical" >
+ </LinearLayout>
+
+</LinearLayout>
\ No newline at end of file