UDPFS) layout page. 1. To override GlifLayout's onInflateTemplate() then embedding a ScrollView on GlifHeader. 2. Remove previous hiding the description text snippet 3. Handling UDFPS enroll lottie position problem. 4. Solve the ProgressBar overlapped with FooterBar problem. Flag: com.android.settings.flags.enroll_layout_truncate_improvement Bug: 359149850 Bug: 367164671 Bug: 362522976 Test: atest UdfpsEnrollEnrollingViewTest Test: Build Forrest ROM then check the UI in different scenarios Change-Id: Iee44cb5815286233f23266e3d86fd8335ab2087d
		
			
				
	
	
		
			83 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <!--
 | |
|     Copyright (C) 2024 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.
 | |
| -->
 | |
| 
 | |
| <LinearLayout
 | |
|     xmlns:android="http://schemas.android.com/apk/res/android"
 | |
|     xmlns:tools="http://schemas.android.com/tools"
 | |
|     android:id="@+id/sud_layout_template_content"
 | |
|     android:layout_width="match_parent"
 | |
|     android:layout_height="match_parent"
 | |
|     android:clipChildren="true"
 | |
|     android:clipToPadding="true"
 | |
|     android:orientation="vertical">
 | |
| 
 | |
|     <ViewStub
 | |
|         android:id="@+id/sud_layout_sticky_header"
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="wrap_content" />
 | |
| 
 | |
|     <com.google.android.setupdesign.view.BottomScrollView
 | |
|         android:id="@+id/sud_header_scroll_view"
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="@dimen/biometrics_glif_header_height"
 | |
|         android:fillViewport="true"
 | |
|         android:orientation="vertical"
 | |
|         tools:ignore="UnusedAttribute">
 | |
| 
 | |
|         <include layout="@layout/sud_glif_header" />
 | |
| 
 | |
|     </com.google.android.setupdesign.view.BottomScrollView>
 | |
| 
 | |
| 
 | |
|     <com.google.android.setupdesign.view.BottomScrollView
 | |
|         android:id="@+id/sud_scroll_view"
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="0dp"
 | |
|         android:layout_weight="1"
 | |
|         android:fillViewport="true"
 | |
|         android:scrollIndicators="?attr/sudScrollIndicators"
 | |
|         tools:ignore="UnusedAttribute">
 | |
| 
 | |
|         <LinearLayout
 | |
|             android:layout_width="match_parent"
 | |
|             android:layout_height="wrap_content"
 | |
|             android:orientation="vertical">
 | |
| 
 | |
|             <ViewStub
 | |
|                 android:id="@+id/sud_layout_illustration_progress_stub"
 | |
|                 android:layout_width="match_parent"
 | |
|                 android:layout_height="wrap_content"
 | |
|                 android:inflatedId="@+id/sud_layout_progress_illustration"
 | |
|                 android:layout="@layout/sud_progress_illustration_layout" />
 | |
| 
 | |
|             <FrameLayout
 | |
|                 android:id="@+id/sud_layout_content"
 | |
|                 android:layout_width="match_parent"
 | |
|                 android:layout_height="0dp"
 | |
|                 android:layout_weight="1" />
 | |
| 
 | |
|         </LinearLayout>
 | |
| 
 | |
|     </com.google.android.setupdesign.view.BottomScrollView>
 | |
| 
 | |
|     <ViewStub
 | |
|         android:id="@+id/suc_layout_footer"
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="wrap_content" />
 | |
| 
 | |
| </LinearLayout>
 |