mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-28 04:34:21 +01:00
Add "You can pull to filter" tip.
This commit is contained in:
committed by
Greyson Parrelli
parent
43fe789807
commit
296a113c65
@@ -1,8 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="88dp">
|
||||
android:gravity="center"
|
||||
android:minHeight="88dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/clear_filter"
|
||||
@@ -13,4 +15,14 @@
|
||||
android:text="@string/ConversationListFragment__clear_filter"
|
||||
android:textColor="@color/signal_colorOnSurfaceVariant" />
|
||||
|
||||
</FrameLayout>
|
||||
<TextView
|
||||
android:id="@+id/clear_filter_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/ChatFilter__tip_pull_down"
|
||||
android:textAppearance="@style/Signal.Text.BodySmall"
|
||||
android:textColor="@color/signal_colorOnSurfaceVariant"
|
||||
android:visibility="gone" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -21,4 +21,14 @@
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/ConversationListFragment__clear_filter"
|
||||
android:textColor="@color/signal_colorOnSurfaceVariant" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/clear_filter_tip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:text="@string/ChatFilter__tip_pull_down"
|
||||
android:textAppearance="@style/Signal.Text.BodySmall"
|
||||
android:textColor="@color/signal_colorOnSurfaceVariant"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
@@ -5469,5 +5469,7 @@
|
||||
<string name="ChatFilter__filtered_by_unread">Filtered by unread</string>
|
||||
<!-- Displayed underneath the filter circle at the top of the chat list when the user pulls at a very low velocity -->
|
||||
<string name="ChatFilter__pull_to_filter">Pull to filter</string>
|
||||
<!-- Displayed in the "clear filter" item in the chat feed if the user opened the filter from the overflow menu -->
|
||||
<string name="ChatFilter__tip_pull_down">Tip: Pull down on the chat list to filter</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user