Set the textDirection of the mac address view to "locale" instead of the inherited default of "firstStrong", so that the address itself is always aligned with the label. Bug: 21396886 Change-Id: I143ec069bde56d34484e8839c60386de268bb930
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <!--
 | |
|     Copyright (C) 2015 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"
 | |
|     android:layout_width="match_parent"
 | |
|     android:layout_height="@dimen/setup_add_network_item_height"
 | |
|     android:gravity="center_vertical"
 | |
|     android:orientation="vertical"
 | |
|     android:paddingStart="?android:attr/listPreferredItemPaddingStart"
 | |
|     android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
 | |
|     android:textDirection="locale">
 | |
| 
 | |
|     <TextView
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="wrap_content"
 | |
|         android:paddingStart="@dimen/setup_list_no_icon_padding"
 | |
|         android:text="@string/wifi_advanced_mac_address_title" />
 | |
| 
 | |
|     <TextView
 | |
|         android:id="@+id/mac_address"
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="wrap_content"
 | |
|         android:paddingStart="@dimen/setup_list_no_icon_padding" />
 | |
| 
 | |
| </LinearLayout>
 |