Make the fingerprint enroll progress bar scalable by moving it to a single FingerprintProgressBar view and make it fill the remaining space. - The background fingerprint icon was changed to include the padding internally so it can be added as the background directly onto the progress bar view. - The icon in landscape mode is also fixed to use the fingerprint icon rather than the lock icon. Test: cd tests/robotests && mm Bug: 32123370 Change-Id: Ia5cf37d92f0af7c1cf39287f5070c44f51d44878
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!--
 | |
|   ~ Copyright (C) 2016 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
 | |
|         android:id="@+id/fingerprint_background"
 | |
|         android:drawable="@drawable/fp_illustration_enrollment" />
 | |
| 
 | |
|     <item
 | |
|         android:id="@+id/fingerprint_animation"
 | |
|         android:drawable="@drawable/enrollment_fingerprint_isolated_animation" />
 | |
| 
 | |
| </layer-list>
 |