1. Wrap the support_disclaimer_content by scrollview. 2. Change the layout in support_escalation_options using layout_weight. 3. Add styles in layout-sw300dp and layout-sw400dp The target scope is between 300dp->400dp, so I add the default style in sw400dp and changed style in sw300dp to cover it. Bug: 31399419 Test: Visual Change-Id: I117acb0c5b992bea2cded6cd48749c4ed7b04488
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.6 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.
 | 
						|
-->
 | 
						|
<ScrollView
 | 
						|
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
    android:layout_width="match_parent"
 | 
						|
    android:layout_height="wrap_content">
 | 
						|
    <LinearLayout
 | 
						|
        android:layout_width="match_parent"
 | 
						|
        android:layout_height="wrap_content"
 | 
						|
        android:orientation="vertical"
 | 
						|
        android:padding="24dp">
 | 
						|
 | 
						|
        <com.android.settings.widget.LinkTextView
 | 
						|
            android:id="@+id/support_disclaimer_text"
 | 
						|
            android:layout_width="match_parent"
 | 
						|
            android:layout_height="wrap_content"
 | 
						|
            android:paddingBottom="24dp"/>
 | 
						|
 | 
						|
        <CheckBox
 | 
						|
            android:id="@+id/support_disclaimer_do_not_show_again"
 | 
						|
            android:layout_width="match_parent"
 | 
						|
            android:layout_height="wrap_content"
 | 
						|
            android:text="@string/support_disclaimer_do_not_show"
 | 
						|
            android:textColor="?android:attr/textColorSecondary"/>
 | 
						|
    </LinearLayout>
 | 
						|
</ScrollView>
 |