Use ActionBar in call log details activity.
This replaces the temporary mock that I added earlier on.
It also gives the action bar home button the correct semantics: it now
always goes to the call log, no matter from which context it had been
opened.
Bug: 5071264
Change-Id: I0324bb91bbd003b46574ec4e422eaed66fa176b3
diff --git a/res/layout/call_detail.xml b/res/layout/call_detail.xml
index e6a685e..02dd098 100644
--- a/res/layout/call_detail.xml
+++ b/res/layout/call_detail.xml
@@ -20,29 +20,12 @@
android:orientation="horizontal"
android:gravity="top"
>
- <LinearLayout
- android:id="@+id/action_bar"
- android:layout_width="match_parent"
- android:layout_height="@dimen/call_detail_action_bar_height"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:orientation="horizontal"
- android:background="@drawable/call_log_action_bar_bg"
- >
- <ImageView
- android:id="@+id/action_bar_home"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:src="@drawable/ic_call_log_home"
- />
- </LinearLayout>
-
<FrameLayout
android:id="@+id/voicemail_status"
- android:layout_below="@id/action_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
android:visibility="gone"
>
<include layout="@layout/call_log_voicemail_status"/>