summaryrefslogtreecommitdiffstats
path: root/res/menu/group_source.xml
diff options
context:
space:
mode:
authorKatherine Kuan <katherinekuan@google.com>2011-07-15 18:20:36 -0700
committerKatherine Kuan <katherinekuan@google.com>2011-07-19 13:59:10 -0700
commit703cda7119b710446f7abc38843043b7cbbf3a47 (patch)
tree226f419ffab389debc33d46baef0ef9b1e4e52fb /res/menu/group_source.xml
parentd829ea489ceca9911278be1b311538bf15b63546 (diff)
downloadpackages_apps_Contacts-703cda7119b710446f7abc38843043b7cbbf3a47.tar.gz
packages_apps_Contacts-703cda7119b710446f7abc38843043b7cbbf3a47.tar.bz2
packages_apps_Contacts-703cda7119b710446f7abc38843043b7cbbf3a47.zip
Show group source on group detail page
- Show group source button as: * scrolling header item in ListView for phone portrait * non-scrolling header outside of ListView for tablet landscape and portrait (b/c can't addHeaderView on ListView after the adapter is set and we reuse the GroupDetailFragment on the tablet) * custom action bar button in phone landscape - Tested by inserting an action and action_uri for one group Change-Id: I29abad130dac57e3077fd4f3e546a451f579b394
Diffstat (limited to 'res/menu/group_source.xml')
-rw-r--r--res/menu/group_source.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/menu/group_source.xml b/res/menu/group_source.xml
new file mode 100644
index 000000000..6d1af2d34
--- /dev/null
+++ b/res/menu/group_source.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/menu_group_source"
+ android:showAsAction="always" />
+</menu>