summaryrefslogtreecommitdiffstats
path: root/res/menu
Commit message (Collapse)AuthorAgeFilesLines
* Make saving a contact less confusingWalter Jang2015-06-191-3/+4
| | | | | | | | | | | | | | | | * Add always visible save menu item (a checkmark icon) on both the compact and full editors. Selecting it saves changes and closes the editor (what back does currently). * On the compact editor, make back perform a discard, including warning the user if there are unsaved changes. * On the full editor, back still saves and goes back to the full editor. This is not ideal but it's out of scope to not save changes between the two editors when editing an existing contact. Bug 19983789 Change-Id: Ie23b75978db70f2b438a824e39f0ae8fb8aa99ec
* Move contact photo edit icon from ActionBar to lower right cornerWalter Jang2015-03-161-9/+0
| | | | | | | | Screenshots https://docs.google.com/drawings/d/1mekRSq4i3Y810Ow2tbNBDKBWl1NGmR4GLR7vlocZOxI/edit Bug 19732687 Change-Id: I68f969eed59d925d9afd6d5c8e33ec80cbff5cfd
* Batch join contactsBrian Attwell2015-03-031-0/+4
| | | | | | | | | * Add new action to ContactSaveService to support joining more than two contacts toghether. * Add new dialog fragment for the join Bug: 19549465 Change-Id: Ib0b1d5e7652e429f8e78d81dd3d98d03b3129e1e
* Multi-select to share Part 2Brian Attwell2015-03-021-0/+9
| | | | | | | | | | | | | | | | | | | | UI work to supprot multi-select. Long pressing starts selection mode. For now, you can only share the contacts that you have selected. Manual tests: * Starting selection mode * starting selection mode by long pressing the Me Profile * RTL layout * rotation in search mode * rotation in selection mode * typing on keyboard while in selection mode: $ adb shell input keyboard text 'this%sis%san%sexample' (should do nothing) * press search key while in selection mode: $ adb shell input keyevent 84 (should do nothing) * sharing contacts via multi selection Bug: 19549465 Change-Id: If438bddfaaee1f69e4c888716f926abcd00ddbc6
* Show edit contact photo options is a dialogWalter Jang2015-02-241-0/+9
| | | | | | | | | | | | | * Instead of a ListPopupWindow. This is more consistent with the behavior of the other edit contact menu options. * Also add an option menu icon to change the photo to make this feature more easily accessible and since users may not realize they can click the photo to launch the choices dialog. Bug 19124091 Change-Id: Ia4c37b3093f39d55784323f9a6d7bcf49ee96d16
* Revert "Revert "Implement Help&Feedback. P1/2""Brian Attwell2015-02-121-0/+4
| | | | | | This reverts commit fb49bad9a90dcec8a71dfaebb2810a9af82992ef. Change-Id: I42af6fccc81895f17dfab2f24ab3fb87d1be59b8
* Revert "Implement Help&Feedback. P1/2"Brian Attwell2015-02-121-4/+0
| | | | | | This reverts commit d0b4c6c3820fb64e868cc9aa1d4d8388a945ba9d. Change-Id: Iacaa0e06e64c1ef43f229e0b906a1407331d7477
* Implement Help&Feedback. P1/2Brian Attwell2015-02-121-0/+4
| | | | | Bug: 17377125 Change-Id: I111819543ff5fa5fd9786473ba9ff02c28353ee8
* Make it easier to delete a contactWalter Jang2014-11-031-0/+4
| | | | | | | | | | * Add delete menu item to quickcontact overflow menu * Promote delete menu item on edit contact activity from overflow menu to show as action Bug 18061876 Change-Id: I3f99e1cd00151b968a157ff818bf977c0be15eb2
* Contact picker: add search icon & hide searchviewBrian Attwell2014-07-231-0/+22
| | | | | | | | | | | | | | Hide/unhide the SearchView when you click a seach menu item. This is the first and more important step for b/16190113. In a later CL, I might remove the SearchView and replace it with the custom actionbar view created by dialer & used in PeopleActivity. Also merged JoinContactActivity into ContactSelectionActivity. Bug: 16190113 Change-Id: I04bf7d22dffbf7f104362b17c9064cb386a01abe
* Clean up menusBrian Attwell2014-07-102-1/+3
| | | | | | | | Made sure to add titles to all menus Bug: 16218365 Bug: 15845381 Change-Id: I52fc3c142080c3485753a939353f0d1be58a656b
* Make ContactSelectionActivity useableBrian Attwell2014-07-091-22/+0
| | | | | | | | | | | | This fixes the glaring bugs with ContactSelectionActivity. It doesn't attempt to unify the ContactSelectionActivity styling with the search styling in PeopleActivity. Also fix a FAB RTL issue Bug: 16164583 Bug: 15596131 Change-Id: I4d5b2cc8c5d20ae5cc2caa3e26550a51acc2d966
* Use white icons in actionbarBrian Attwell2014-06-131-2/+1
| | | | | | | | | | Switched some of the black alpha masks to white alpha masks, this way I didn't need to apply any tint. We use ic_person_add_24dp drawable in both black and white. So I had to apply a tint to this one. Change-Id: If8e08998f368b643d19cbf8bfa5a372932abfffe
* Remove Add menu item now that we have a FABBrian Attwell2014-06-111-6/+0
| | | | | | | The icon is from contacts common so I'll leave deleting it until later. I'm trying to avoid touching master-contacts's contacts-common. Change-Id: Icdba1c122c805c6c671b2698226c2aa7a9080196
* Use Toolbar for QCBrian Attwell2014-06-111-0/+35
| | | | | | | | | | | * Moved star, add and edit buttons into Toolbar * Fixed implementation of add/edit: copied the ContractDetailFragment implementation * Added unimplemented Share and Place on Home menu items * Deleted some of the quickcontact_activity.xml files * No longer handle click events on Contact photo view Change-Id: Id333b11e89d8755ace600700be15077fd47b6172
* Add delete button to Edit ViewBrian Attwell2014-06-111-0/+4
| | | | | | | When a contact is deleted, QuickContacts is told by LoaderCallbacks that it shouldn't be visible prior to onResume(). Change-Id: I5f9c84cbfefddca3722bd1de3c5a98760547ef0a
* Move phone menu options into edit screenBrian Attwell2014-06-111-0/+9
| | | | | | | Currently, these options will only supported for existing contacts. This is what UX's mocks show. Change-Id: I97fd58c11aea1594052945cdfd956b6eff883b7c
* Merge "Revert "Remove "Help" action from Contacts app""Brian Attwell2014-05-152-0/+8
|\
| * Revert "Remove "Help" action from Contacts app"Brian Attwell2014-05-152-0/+8
| | | | | | | | | | | | | | | | I committed the previous CL thinking it was a different CL. This reverts commit f49a823175cd1201e30410977f33992749de0bb6. Change-Id: I33c24687b1fba1287b944e607cd2b284fef97bad
* | Merge "Remove "Help" action from Contacts app"Brian Attwell2014-05-152-8/+0
|\|
| * Remove "Help" action from Contacts appBrian Attwell2014-05-152-8/+0
| | | | | | | | Change-Id: I75d6d756cbb119c6f42bbefe29c4010d919c375f
* | Removes the Group tab from the People Application.Paul Soulos2014-05-141-6/+0
|/ | | | | | | There are still Group related code and resources that need to be removed. This will occur in smaller subsequent CLs to reduce the scope of each. Change-Id: Ifcedf38377f9da022942c694193e4e15f3ed77d3
* Fix the incorrect "Add group" iconYorke Lee2013-09-231-1/+1
| | | | | | | Also removed an unneeded xxhdpi asset Bug: 10846185 Change-Id: Ieab04e2114a1b3374a0d070f4483ee3736583c21
* Update colors in the people app.Paul Sliwowski2013-09-051-3/+3
| | | | Change-Id: I93194f75e83fd6dba95a7bc8aafa73432dac8353
* Major resource move and clean-up.Chiao Cheng2012-12-051-28/+0
| | | | | | | | Moving resources from Contacts to ContactsCommon and Dialer as necessary to remove dialer dependencies on contacts app. Bug: 6993891 Change-Id: I43524e95efa0948935ccbc29c12c100f336b69fb
* Additional clean-up of dialer split.Chiao Cheng2012-09-056-227/+0
| | | | | | | | - Moving resource only used by dialer. - Moving out common utilities. Bug: 6993891 Change-Id: Ieb851adb1d6a3492290b84a56aa2cd00cae2f260
* Adjusting call log filter look and feel.Chiao Cheng2012-08-061-29/+24
| | | | | | | - Moved filter buttons into overflow menu. - Added filter header to show users which results are displayed. Change-Id: I496ecdde8bd235a2065198dffc4179db7012889c
* Adding more call log filter buttons.Chiao Cheng2012-08-011-12/+36
| | | | | | | Adding missed, outgoing, incoming buttons to complement existing voicemail button. Change-Id: I43c2a5675783b8a32e4db45b39c64b5496f09e53
* Add hidden menu option to invoke contacts dump activityMakoto Onuki2012-07-201-0/+6
| | | | | | | | | Search for "debug debug!" on the poeple app will enable the debug menu option which invokes the dump activity. Bug 6813842 Change-Id: Id09ba988f54ab6a6ce1bf8c480980009da419d19
* Hide scrollbar in search mode when no contacts in PhoneMaurice Chu2012-05-011-1/+1
| | | | | | | | | | | | | | | This hides the scrollbar when there are no contacts in search mode. Some refactoring has been done to make it easier to tell what menus are made visible for each of the Phone tabs and when in search mode. Intents and onClick listeners have been moved to the onCreateOptionsMenu since these do not change. Also, corrected the test for isEmpty() in PhoneFavoriteMergedAdapter which allows the message "No contacts" to show up when there are no contacts to list under the Phone favorites tab. Bug: 6036160 Change-Id: I43bbd1bd56b009736cc2a966a3ffb0ad6630792c
* Added help menu options to People appMaurice Chu2012-04-252-0/+8
| | | | | | | | | | | | | | This has been implemented with the idea to enable the creation of help menu options in a standard way throughout the Android platform. One particularly important feature is to hide the exact URL that is being used to invoke the help pages via the browser via using vendor-specific overlays of string resources. Also, other standard context for the help like the preferred language and app version code are incorporated automatically via the HelpUtils function. Bug:6206323 Change-Id: I5a1fff4d99ac93d3a6aa05da91f465fad072cb8a
* Merge "Added menu option to clear frequents in favorites tab of Phone and ↵Maurice Chu2012-04-232-0/+8
|\ | | | | | | People"
| * Added menu option to clear frequents in favorites tab of Phone and PeopleMaurice Chu2012-04-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | The clear frequents menu option is only visible when there are items in the frequently contacted list. When the user selects the menu option, a confirmation dialog is shown to verify whether to actually clear frequents. New ClearFrequentsDialog class created in a new com.android.contacts.dialog package that is shared by both Phone and People apps to show the confirmation dialog of whether to clear frequents. Bug:5475575 Change-Id: I876d3fe15f16635570f3ecb7cd8ed2a19227e316
* | Make phone number copyable on call detailMakoto Onuki2012-04-191-0/+22
|/ | | | | | | | | | | | | | | | | | | | | | | Now the phone number is long-pressable, which starts the CAB for copying phone number. Tapping the phone number again while will unselect it. (Or press back or UP.) Also tweak the highlight area for the phone number view, per UX suggestion. Now when you press the phone number view, the entire row will be highlighted, including the SMS action view. Tested: - Regular phone number. - SIP address. - No-caller ID, or "private number" -> The "Call XXX" view is gone, so nothing to long-press. - "Voicemail". The text "Voicemail" will by copied, which is iffy, but I don't think "fixing" it is worth introducing more complication to the code. Bug 6354066 Change-Id: I54ee67589a2e5aaba8e4a5dd9589e8c9e46c18b8
* Added the ability to create a contact widget from the contact details viewMaurice Chu2012-04-111-0/+4
| | | | | | | | If the contact details view is on the user profile (i.e., me), then the menu option to create a contact widget does not show up in the menu. Bug:5346555 Change-Id: I392ca60a53168139a30ad70d72013da28fbecf24
* Remove unused resourcesDaniel Lehmann2012-02-231-41/+0
| | | | | | Bug:5964592 Change-Id: Iee438a3e92dd3420353f33c7ca6b333163d44f42
* resolved conflicts for merge of f8bb328e to masterDaisuke Miyakawa2012-02-231-0/+12
|\ | | | | | | Change-Id: I95f25c8a36d0992d40f6927a3e059eff67bff4a6
| * Dialpad redesign.Daisuke Miyakawa2012-02-171-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TESTED: - Launch Phone UI (previous tab: dialer) -- Fake menu items should be available -- Bottom half of the dial button should be clickable - Launch Phone UI (previous tab: calllog, phone favorite) -- Real ActionBar should be visible - Swipe around three tabs. -- ActionBar (and real menu buttons at the bottom) should be visible except when dialer screen is settled down in the screen. During horizontal swipes, ActionBar should look persistent. - Click three tabs at the top of screen -- exactly same as "swipe around three tabs" case above. - Go to search, and go back from the search (from three tabs) -- ActionBar should appear/disappear appropriately. AND, try the sequence above during a phone call, which will expose DialpadChooser. - With DialpadChooser, fake buttons should not appear; they should appear when the user explicitly choose "add call" item. KNOWN ISSUE: - Do horizontal swipe from CallLog to Dialpad. Before the screen settling down itself, start swipe from Dialpad to CallLog again. -- Bottom ActionBar disappears during the migration (which is unexpected), because there's no way for the app to determine if the user is dragging the screen. The app wrongly detects the case as ViewPager.SCROLL_STATE_IDLE. We won't get the second ViewPager.SCROLL_STATE_DRAGGING event during the second swipe. Bug: 6021918 Change-Id: Iaca971a195144a16f7853e3555375922ad54b81b
* | Show correct Toast for search button.Daisuke Miyakawa2012-01-091-1/+1
| | | | | | | | | | Bug: 5841089 Change-Id: Ib062ab04bfd65499a886f47b788030432d738d51
* | Add "import/export" and "account" option to Phone UIDaisuke Miyakawa2011-11-221-0/+24
| | | | | | | | | | Bug: 5650226 Change-Id: I35f2fab7cf46f54b71dbc0f0ff8f1e6d32b2b272
* | Merge "Expose "new contact" to split action bar"Daisuke Miyakawa2011-11-221-1/+2
|\ \
| * | Expose "new contact" to split action barDaisuke Miyakawa2011-11-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because CallLog does something costly on onVisibilityChanged(), the call should be done after the animation, while onVisibilityChanged() for phone all tab should be called immediately so that users can see the icon just after their swipe (same behavior as People UI) Also remove "new contact" menu from phone search. Now that we have the 3rd tab containing all the contacts, we don't need the menu on "search" screen (same behavior as Phone UI) Remove invalidateOptionsMenu() call inside CallLog#onVisibilityChanged() since the method should be called by its parent Activity when needed. Bug: 5650137 Change-Id: Ia6f377a720dac9aa4e3ae9e54394b9b2606bb2cf
* | | Remove menu icon references and assetsKatherine Kuan2011-11-219-22/+0
|/ / | | | | | | | | Bug: 5514211 Change-Id: I9b854bb227cfe714cce293400d4bab632a334623
* / Use consistent name for menu xmlDaisuke Miyakawa2011-11-211-0/+0
|/ | | | | | | Other xmls for options menu are using xx_options.xml while People's xml is using an older name as is. Let's rename it. Change-Id: I4ee76dc36dcba4d6ce1029884695598d12861863
* Introduce ActionBar in picker screensDaisuke Miyakawa2011-10-181-0/+22
| | | | | | | | | | | | | | | | This change focuses on phone screens. Tablet UI fix will be done later. - show SearchView on the action bar - show "create new contact" as a menu on the split action bar - keep "create new contact" button for tablet support. - a few visual tweaks for phone Also this removes "show all contacts" item in JoinContactActivity. Now all contacts are shown by default. Bug: 5394377 Change-Id: I82e59b374888d522c81cd4957cb3fde286b419f6
* [Phone] New phone favorite tab.Daisuke Miyakawa2011-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | This change introduces yet another fragment for a special "phone favorite + phone all" screen and uses it as Phone UI's "Favorite" tab instead of using ContactTileListFragment. The new fragment merges two adapters into one adapter called PhoneFavoriteMergedAdapter. To keep layout consistency between two adapters, the new adapter tweaks original Views on demand, especially paddings for those Views. Now that "favorite" screen contains "all phone" section, we should treat previous "all phone" screen (PhoneNumberPickerFragment) as "phone search" screen instead. To do that, this change also replaces "ALL CONTACTS" strings/icons with "search" magnifying glass icons. IME is now shown up upon the search button click again. Bug: 5359840 Change-Id: I04cb2433882d74f1e826c02991a5a54c3be993ab
* Update assets. Rename some of them for consistencyDaisuke Miyakawa2011-09-091-2/+2
| | | | | | | Also removes unnecessary assets Bug: 5286981 Change-Id: Icdea22a294d11c48853d8979367db05eb2ba66fb
* Change search icon drawable for People app on phoneKatherine Kuan2011-09-061-1/+1
| | | | | | | Now it should match the search icon on the tablet. Bug: 5265479 Change-Id: I822a62874309eb3ca3ce4b209095765b2eb0afb0
* Remove unused resourcesKatherine Kuan2011-09-052-63/+0
| | | | | Bug: 5112222 Change-Id: Iad183253f581ac4e0a2ab53fc981324f5e68c25a
* Show "Settings" instead of "Display options"Daisuke Miyakawa2011-08-311-5/+4
| | | | | Bug: 5244120 Change-Id: I7617107869bc75a38f5e4a1a32e5dad7ba88c204