updated hint, allow multiple lines in the filter box

This commit is contained in:
Tom Hennen 2016-01-25 13:07:25 -05:00
parent 672c03e41a
commit 8b0dac05c9
3 changed files with 6 additions and 2 deletions

View File

@ -54,7 +54,7 @@ public class FeedFilterTest extends AndroidTestCase {
}
public void testComplexIncludeFilter() throws Exception {
String includeFilter = "Hello \"Two words\"";
String includeFilter = "Hello \n\"Two words\"";
FeedFilter filter = new FeedFilter(includeFilter, "");
FeedItem item = new FeedItem();
item.setTitle("hello world");

View File

@ -316,6 +316,10 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:lines="8"
android:minLines="1"
android:maxLines="20"
android:scrollbars="vertical"
android:hint="@string/episode_filters_hint"
android:focusable="true"
android:focusableInTouchMode="true"

View File

@ -535,7 +535,7 @@
<string name="episode_filters_description">List of terms used to decide if an episode should be included or excluded when auto downloading</string>
<string name="episode_filters_include">Include</string>
<string name="episode_filters_exclude">Exclude</string>
<string name="episode_filters_hint">Filter text</string>
<string name="episode_filters_hint">Single words \n\"Multiple Words\"</string>
<!-- Progress information -->
<string name="progress_upgrading_database">Upgrading the database</string>