Add hamburger menu to PeopleActivity
1. This CL moves "settings" and "help & feedback" to hamburger menu.
2. Changes in people_activity.xml may be hard to read. We just wrap the
existing content of people_activity.xml with DrawerLayout and add a
NavigationView below it: https://paste.googleplex.com/6376771465248768
3. Screenshot https://goto.google.com/contacts-hamburger
Bug 27687799
Change-Id: Ia8ce3746cee9ad63689157dbe0b1ea81200bedf6
diff --git a/Android.mk b/Android.mk
index ad13292..fc29430 100644
--- a/Android.mk
+++ b/Android.mk
@@ -20,24 +20,30 @@
LOCAL_SRC_FILES := $(call all-java-files-under, $(src_dirs))
LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) \
+ $(support_library_root_dir)/design/res \
$(support_library_root_dir)/v7/appcompat/res \
- $(support_library_root_dir)/v7/cardview/res
+ $(support_library_root_dir)/v7/cardview/res \
+ $(support_library_root_dir)/v7/recyclerview/res
LOCAL_ASSET_DIR := $(addprefix $(LOCAL_PATH)/, $(asset_dirs))
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
--extra-packages com.android.contacts.common \
--extra-packages com.android.phone.common \
+ --extra-packages android.support.design \
--extra-packages android.support.v7.appcompat \
- --extra-packages android.support.v7.cardview
+ --extra-packages android.support.v7.cardview \
+ --extra-packages android.support.v7.recyclerview
LOCAL_STATIC_JAVA_LIBRARIES := \
com.android.vcard \
android-common \
guava \
+ android-support-design \
android-support-v13 \
android-support-v7-appcompat \
android-support-v7-cardview \
+ android-support-v7-recyclerview \
android-support-v7-palette \
android-support-v4 \
libphonenumber