change: Use `tools:text` for design-time text

This commit is contained in:
Nik Clayton 2024-04-30 16:12:46 +02:00
parent e97d9c30fe
commit 02da503721
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/status_filtered_placeholder" android:id="@+id/status_filtered_placeholder"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent">
>
<TextView <TextView
android:id="@+id/status_filter_label" android:id="@+id/status_filter_label"
@ -15,7 +15,7 @@
android:textColor="?android:textColorTertiary" android:textColor="?android:textColorTertiary"
android:textSize="?attr/status_text_medium" android:textSize="?attr/status_text_medium"
android:textAlignment="center" android:textAlignment="center"
android:text="Filter: MyFilter" tools:text="Filter: MyFilter"
/> />
<Button <Button