Based on the Android S design, we update the layout for homepage. The scope covers the layout of preference and icons itself. - Change the icon size for IA items. - Change the layout spacing of preference. - Change the margin or search bar. Test: See the screen and confirm with UX Bug: 177213699 Change-Id: I985966fdf39a5989d51991aa3c06ea5fd31e8fe2
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!--
 | |
|   Copyright (C) 2018 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>
 | |
|         <com.android.settingslib.widget.AdaptiveIconShapeDrawable
 | |
|             android:width="@dimen/homepage_image_size"
 | |
|             android:height="@dimen/homepage_image_size"
 | |
|             android:color="@color/homepage_about_background" />
 | |
|     </item>
 | |
| 
 | |
|     <item
 | |
|         android:width="@dimen/dashboard_tile_foreground_image_size"
 | |
|         android:height="@dimen/dashboard_tile_foreground_image_size"
 | |
|         android:start="@dimen/homepage_foreground_image_inset"
 | |
|         android:top="@dimen/homepage_foreground_image_inset"
 | |
|         android:drawable="@drawable/ic_phone_info" />
 | |
| </layer-list>
 |