diff options
author | Yorke Lee <yorkelee@google.com> | 2013-08-29 18:51:06 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-09-03 15:30:36 -0700 |
commit | b207f8a073e8b3c001986b31c951f2c951cc631b (patch) | |
tree | df6ab0f743a4bd2be5c09c5326f6492c93dab552 /res/layout/dialtacts_activity.xml | |
parent | fca0338d3d52f91c0cbcac555a8416cc75770090 (diff) | |
download | android_packages_apps_Dialer-b207f8a073e8b3c001986b31c951f2c951cc631b.tar.gz android_packages_apps_Dialer-b207f8a073e8b3c001986b31c951f2c951cc631b.tar.bz2 android_packages_apps_Dialer-b207f8a073e8b3c001986b31c951f2c951cc631b.zip |
Show bottom action bar throughout dialer
* Moved fake action bar to DialtactsActivity from PhoneFavoritesFragment
* Allow transitioning between search fragments
* Removed onPhoneFavoritesFragmentStarted listener now that it is no longer
needed
Bug: 10510200
Change-Id: Ie06a1ec08171f5c424a84d36709ca35100f2148d
Diffstat (limited to 'res/layout/dialtacts_activity.xml')
-rw-r--r-- | res/layout/dialtacts_activity.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml index 580e0bf43..e4eb2b3c5 100644 --- a/res/layout/dialtacts_activity.xml +++ b/res/layout/dialtacts_activity.xml @@ -69,6 +69,36 @@ android:id="@+id/dialtacts_frame" android:clipChildren="false"> </FrameLayout> + <FrameLayout + android:layout_height="@dimen/fake_action_bar_height" + android:layout_width="match_parent" + android:id="@+id/fake_action_bar" + android:background="@color/actionbar_background_color"> + <ImageButton + android:id="@+id/call_history_button" + android:layout_width="@dimen/fake_menu_button_min_width" + android:layout_height="match_parent" + android:layout_gravity="bottom|start" + android:background="?android:attr/selectableItemBackground" + android:contentDescription="@string/action_menu_call_history_description" + android:src="@drawable/ic_menu_history_dk"/> + <ImageButton + android:id="@+id/dialpad_button" + android:layout_width="@dimen/fake_menu_button_min_width" + android:layout_height="match_parent" + android:layout_gravity="bottom|center" + android:background="?android:attr/selectableItemBackground" + android:contentDescription="@string/action_menu_dialpad_button" + android:src="@drawable/ic_menu_dialpad_dk"/> + <ImageButton + android:id="@+id/overflow_menu" + android:layout_width="@dimen/fake_menu_button_min_width" + android:layout_height="match_parent" + android:layout_gravity="bottom|end" + android:src="@drawable/ic_menu_overflow_dk" + android:contentDescription="@string/action_menu_overflow_description" + android:background="?android:attr/selectableItemBackground"/> + </FrameLayout> <View android:id="@+id/dialtacts_bottom_padding" android:layout_width="match_parent" |