Add helper text when dragging filter at a low velocity.

This commit is contained in:
Alex Hart
2023-01-03 10:31:31 -04:00
committed by GitHub
parent 5cb3e1cd02
commit 14503b952a
8 changed files with 233 additions and 2 deletions

View File

@@ -36,4 +36,14 @@
app:closeIconSize="18dp"
app:ensureMinTouchTargetSize="false" />
<TextView
android:id="@+id/help_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom"
android:alpha="0"
android:text="@string/ChatFilter__pull_to_filter"
android:textAppearance="@style/Signal.Text.BodyMedium"
android:textColor="@color/signal_colorSecondary" />
</merge>

View File

@@ -5467,5 +5467,7 @@
<!-- ChatFilter -->
<!-- Displayed in a pill at the top of the chat list when it is filtered by unread messages -->
<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>
</resources>