diff options
author | Jim Miller <jaggies@google.com> | 2015-02-19 21:04:57 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2015-02-27 12:06:18 -0800 |
commit | 94d4bd9390b9b9003788a2e779e2b4b256d07c3b (patch) | |
tree | 71db90e4337f807ac836a3d7948b2d5856db4bf4 /res/drawable/fingerprint_progress_ring.xml | |
parent | 78fcb280b958dcce2ff06d27a5a52cbb89b10748 (diff) | |
download | packages_apps_Settings-94d4bd9390b9b9003788a2e779e2b4b256d07c3b.zip packages_apps_Settings-94d4bd9390b9b9003788a2e779e2b4b256d07c3b.tar.gz packages_apps_Settings-94d4bd9390b9b9003788a2e779e2b4b256d07c3b.tar.bz2 |
Add fingerprint settings.
- Improved layout.
- Enrollment is now working.
- Added vibration and progress feedback.
- Better fingerprint animation logic.
- Poke userActivity() when sensor is touched.
- Added progress animation.
- Only show fingerprint menu item on devices that have fingerprint hw
- Set View state to GONE for views that aren't shown & fix resulting layout issue
- Fix bug where stage wasn't advancing when returning from ChooseLockGeneric.
- Renamed FingerprintSettings to FingerprintEnroll
- Fixed bug with storing fingerprint ids that prevented the last one from being removed.
- Added better progress indication. When remaining is at max, count that as the first step.
- Fix whitespace formatting in CL
Fixes bug 1953439
Change-Id: I721bf440c63640203af94ce21340d8281076c249
Diffstat (limited to 'res/drawable/fingerprint_progress_ring.xml')
-rw-r--r-- | res/drawable/fingerprint_progress_ring.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/res/drawable/fingerprint_progress_ring.xml b/res/drawable/fingerprint_progress_ring.xml new file mode 100644 index 0000000..a2d9cba --- /dev/null +++ b/res/drawable/fingerprint_progress_ring.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape + android:innerRadius="96dip" + android:shape="ring" + android:thickness="4dip"> + <gradient + android:startColor="@color/fingerprint_progress_ring_color" + android:endColor="@color/fingerprint_progress_ring_color" + android:angle="180" + /> + </shape> + </item> +</layer-list> |