Fake action bar for the call view
diff --git a/res/drawable-xhdpi/ab_stacked_solid_light_holo.9.png b/res/drawable-xhdpi/ab_stacked_solid_light_holo.9.png
new file mode 100644
index 0000000..d36f99f
--- /dev/null
+++ b/res/drawable-xhdpi/ab_stacked_solid_light_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/device_access_call.png b/res/drawable-xhdpi/device_access_call.png
new file mode 100644
index 0000000..db81b3e
--- /dev/null
+++ b/res/drawable-xhdpi/device_access_call.png
Binary files differ
diff --git a/res/drawable-xhdpi/device_access_dial_pad.png b/res/drawable-xhdpi/device_access_dial_pad.png
new file mode 100644
index 0000000..fb5875e
--- /dev/null
+++ b/res/drawable-xhdpi/device_access_dial_pad.png
Binary files differ
diff --git a/res/layout/activity_call_layout.xml b/res/layout/activity_call_layout.xml
index 040c77d..b6a4af8 100644
--- a/res/layout/activity_call_layout.xml
+++ b/res/layout/activity_call_layout.xml
@@ -31,18 +31,19 @@
-->
<com.savoirfairelinux.sflphone.views.CallPaneLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/slidingpanelayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
+ android:id="@+id/slidingpanelayout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
- <FrameLayout
- android:id="@+id/calllist_pane"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ <FrameLayout
+ android:id="@+id/calllist_pane"
+ android:layout_width="230dp"
+ android:layout_height="match_parent" />
- <FrameLayout
- android:id="@+id/ongoingcall_pane"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ <FrameLayout
+ android:id="@+id/ongoingcall_pane"
+ android:layout_width="300dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1" />
</com.savoirfairelinux.sflphone.views.CallPaneLayout>
\ No newline at end of file
diff --git a/res/layout/frag_call.xml b/res/layout/frag_call.xml
index a307fa8..fccfbab 100644
--- a/res/layout/frag_call.xml
+++ b/res/layout/frag_call.xml
@@ -1,14 +1,52 @@
<?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" >
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical" >
- <com.savoirfairelinux.sflphone.model.BubblesView
- android:id="@+id/main_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignParentBottom="true"
- android:layout_alignParentTop="true"
- android:focusable="true" />
+ <RelativeLayout
+ style="?android:attr/actionBarSplitStyle"
+ android:layout_width="match_parent"
+ android:layout_height="?android:attr/actionBarSize"
+ android:background="@drawable/ab_stacked_solid_light_holo" >
-</RelativeLayout>
\ No newline at end of file
+ <ImageView
+ android:id="@+id/button1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_gravity="left"
+ android:layout_marginLeft="15dp"
+ android:layout_marginRight="10dp"
+ android:src="@drawable/device_access_call" />
+
+ <TextView
+ android:id="@+id/call_status_txt"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_toRightOf="@+id/button1"
+ android:text="Large Text"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:textColor="#333333" />
+
+ <ImageButton
+ android:id="@+id/dialpad_btn"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="10dp"
+ android:background="#00000000"
+ android:src="@drawable/device_access_dial_pad" />
+ </RelativeLayout>
+
+ <com.savoirfairelinux.sflphone.model.BubblesView
+ android:id="@+id/main_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentTop="true"
+ android:focusable="true" />
+
+</LinearLayout>
\ No newline at end of file