Implemented #1162: Invoke NFC in Advanced View

- Extracted NFC code from ViewKeyActivity to NfcHelper to share code between classes
 - Changed the private anonymous Handler for NFC into a static private subclass, that uses WeakReference to avoid memory leaks
 - Added resources needed (retrieved from Graphics) for the NFC button inside ViewKeyAdvShareFragment.
 - Fixed the ripple boundary of the Share With... button to prevent it from bleeding to other buttons on the right (UX improvement)
This commit is contained in:
Kent
2015-03-20 06:31:18 +08:00
parent cfef53be01
commit 8d6d4328f2
9 changed files with 261 additions and 158 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B