+ If there is scrolling then force the scrollbars to always appear.
+ Align contents of the dialog with the title.
+ Change "Network SSID" to "Network name".
+ Added wifi_* styles to other style xml files so that Wi-Fi hotspot dialogs are visible on tablets.
+ Move layout_width/height from res/layout/{wifi_dialog.xml, wifi_dialog_row.xml} from style into the xml file.
Bug: 17684359
Change-Id: I42fb69132d6ba0fb8d9853de6f5524f29e6b70b6
		
	
		
			
				
	
	
		
			56 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!-- Copyright (C) 2012 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.
 | |
| -->
 | |
| 
 | |
| <resources>
 | |
|     <style name="KeyguardAppWidgetItem">
 | |
|         <item name="android:textSize">18sp</item>
 | |
|     </style>
 | |
| 
 | |
|     <style name="wifi_item">
 | |
|         <item name="android:layout_marginTop">8dip</item>
 | |
|         <item name="android:layout_marginStart">8dip</item>
 | |
|         <item name="android:layout_marginEnd">8dip</item>
 | |
|         <item name="android:paddingStart">8dip</item>
 | |
|         <item name="android:paddingEnd">8dip</item>
 | |
|         <item name="android:orientation">vertical</item>
 | |
|         <item name="android:gravity">start</item>
 | |
|     </style>
 | |
| 
 | |
|     <style name="wifi_item_label">
 | |
|         <item name="android:paddingStart">8dip</item>
 | |
|         <item name="android:textSize">14sp</item>
 | |
|         <item name="android:textAlignment">viewStart</item>
 | |
|         <item name="android:textAppearance">@android:style/TextAppearance.Material.Body1</item>
 | |
|         <item name="android:textColor">@*android:color/secondary_text_default_material_light</item>
 | |
|     </style>
 | |
| 
 | |
|     <style name="wifi_item_content">
 | |
|         <item name="android:textAlignment">viewStart</item>
 | |
|         <item name="android:textAppearance">@android:style/TextAppearance.Material.Subhead</item>
 | |
|         <item name="android:textColor">@*android:color/primary_text_default_material_light</item>
 | |
|     </style>
 | |
| 
 | |
|     <style name="wifi_item_edit_content">
 | |
|         <item name="android:paddingStart">4dip</item>
 | |
|         <item name="android:layout_marginStart">4dip</item>
 | |
|         <item name="android:textSize">18sp</item>
 | |
|     </style>
 | |
| 
 | |
|     <style name="wifi_section">
 | |
|         <item name="android:orientation">vertical</item>
 | |
|     </style>
 | |
| </resources>
 |