material-components_materia.../res/layout/design_layout_tab_text.xml
Chris Banes abb4ccb65b am 1e777e0d: am d08f5716: Merge "Fix Tab width with using icon + centered tabs" into mnc-ub-dev
* commit '1e777e0d0462762c83c89bf58bda2c777aaddc23':
  Fix Tab width with using icon + centered tabs

GitOrigin-RevId=371a3b29ae50c2fb66e12e7888ee96221c0e68e2

PiperOrigin-RevId: 140551075
2016-12-12 15:40:54 -08:00

23 lines
938 B
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.
-->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"/>