Bug: 27927402 Also add a TabLayout to show title for these fragments, inspired by http://goo.gl/aOt51Q Change-Id: I40bab3075480670558ac9a896337109f10e8c90c
		
			
				
	
	
		
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="utf-8"?>
 | 
						|
<!-- Copyright (C) 2016 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.
 | 
						|
-->
 | 
						|
 | 
						|
<TextView
 | 
						|
    xmlns:android="http://schemas.android.com/apk/res/android"
 | 
						|
    android:layout_width="wrap_content"
 | 
						|
    android:layout_weight="1"
 | 
						|
    android:layout_height="wrap_content"
 | 
						|
    android:ellipsize="end"
 | 
						|
    android:maxLines="1"
 | 
						|
    android:textColor="@android:color/white"
 | 
						|
    android:gravity="center"
 | 
						|
    android:background="?android:attr/selectableItemBackground"
 | 
						|
    android:textAllCaps="true"
 | 
						|
    android:padding="@dimen/pager_tabs_title_padding"/> |