From 095344272ebd9efb3b5fe60fd775324d4d81d7c3 Mon Sep 17 00:00:00 2001 From: Vavassor Date: Thu, 20 Jul 2017 22:29:29 -0400 Subject: [PATCH] Give up --- .../main/java/com/keylesspalace/tusky/ComposeActivity.java | 4 ++++ app/src/main/res/layout/activity_compose.xml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java index 9df2a9f2..2a021dc8 100644 --- a/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java @@ -647,6 +647,10 @@ public class ComposeActivity extends BaseActivity implements ComposeOptionsFragm } } + /** + * A∖B={x∈A|x∉B} + * @return all elements of set A that are not in set B. + */ private static List setDifference(List a, List b) { List c = new ArrayList<>(); for (String s : a) { diff --git a/app/src/main/res/layout/activity_compose.xml b/app/src/main/res/layout/activity_compose.xml index 06e9240b..12782c33 100644 --- a/app/src/main/res/layout/activity_compose.xml +++ b/app/src/main/res/layout/activity_compose.xml @@ -63,7 +63,6 @@ android:hint="@string/hint_compose" android:inputType="text|textMultiLine|textCapSentences" android:dropDownWidth="wrap_content" - android:dropDownHeight="58dp" android:completionThreshold="2" />