Backup strings provided in the case of missing status text when icons are provided. Implements three layouts to handle our different states. Change-Id: I1cb81c42e4cdd75b000f52c402a7396897c0f027 Test: PeopleSpaceUtilsTest Bug: 178792356
100 lines
3.9 KiB
XML
100 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2021 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:id="@+id/punctuation_layout"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="start">
|
|
<TextView
|
|
android:id="@+id/punctuation1"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem"
|
|
android:textSize="36sp"
|
|
android:textStyle="bold"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:maxLines="1"
|
|
android:alpha="0.2"
|
|
android:rotation="350"/>
|
|
<TextView
|
|
android:id="@+id/punctuation2"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem"
|
|
android:textSize="36sp"
|
|
android:textStyle="bold"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="25dp"
|
|
android:maxLines="1"
|
|
android:alpha="0.2"
|
|
android:rotation="5"/>
|
|
<TextView
|
|
android:id="@+id/punctuation3"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem"
|
|
android:textSize="36sp"
|
|
android:textStyle="bold"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginStart="25dp"
|
|
android:maxLines="1"
|
|
android:alpha="0.2"
|
|
android:rotation="355"/>
|
|
<TextView
|
|
android:id="@+id/punctuation4"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem"
|
|
android:textSize="36sp"
|
|
android:textStyle="bold"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="-5dp"
|
|
android:layout_marginStart="25dp"
|
|
android:maxLines="1"
|
|
android:alpha="0.2"
|
|
android:rotation="10"/>
|
|
<TextView
|
|
android:id="@+id/punctuation5"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem"
|
|
android:textSize="36sp"
|
|
android:textStyle="bold"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginStart="25dp"
|
|
android:maxLines="1"
|
|
android:alpha="0.2"
|
|
android:rotation="15"/>
|
|
<TextView
|
|
android:id="@+id/punctuation6"
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.ListItem"
|
|
android:textSize="36sp"
|
|
android:textStyle="bold"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="-5dp"
|
|
android:layout_marginStart="25dp"
|
|
android:maxLines="1"
|
|
android:alpha="0.2"
|
|
android:rotation="345"/>
|
|
</LinearLayout> |