| <?xml version="1.0" encoding="utf-8"?> |
| <LinearLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:baselineAligned="false" |
| android:background="@color/fast_pair_notification_background" |
| tools:ignore="ContentDescription,UnusedAttribute,RtlCompat,Overdraw"> |
| |
| <LinearLayout |
| android:orientation="vertical" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_weight="1" |
| android:layout_marginTop="@dimen/fast_pair_notification_padding" |
| android:layout_marginStart="@dimen/fast_pair_notification_padding" |
| android:layout_marginEnd="@dimen/fast_pair_notification_padding"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <TextView |
| android:id="@android:id/title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:fontFamily="sans-serif-medium" |
| android:textSize="@dimen/fast_pair_notification_text_size" |
| android:textColor="@color/fast_pair_primary_text" |
| android:layout_marginBottom="2dp" |
| android:lines="1"/> |
| |
| <TextView |
| android:id="@android:id/text2" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textSize="@dimen/fast_pair_notification_text_size_small" |
| android:textColor="@color/fast_pair_primary_text" |
| android:layout_marginBottom="2dp" |
| android:layout_marginStart="4dp" |
| android:lines="1"/> |
| </LinearLayout> |
| |
| <TextView |
| android:id="@android:id/text1" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textSize="@dimen/fast_pair_notification_text_size" |
| android:textColor="@color/fast_pair_primary_text" |
| android:maxLines="2" |
| android:ellipsize="end" |
| android:breakStrategy="simple" /> |
| |
| <FrameLayout |
| android:id="@android:id/secondaryProgress" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginTop="8dp" |
| android:layout_marginEnd="32dp" |
| android:orientation="horizontal" |
| android:visibility="gone"> |
| |
| <ProgressBar |
| android:id="@android:id/progress" |
| style="?android:attr/progressBarStyleHorizontal" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:indeterminateTint="@color/discovery_activity_accent"/> |
| |
| </FrameLayout> |
| |
| </LinearLayout> |
| |
| <FrameLayout |
| android:id="@android:id/icon1" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content"/> |
| |
| </LinearLayout> |