abouttreesummaryrefslogcommitdiff
path: root/srcs
diff options
context:
space:
mode:
Diffstat (limited to 'srcs')
-rw-r--r--srcs/juloo.keyboard2/dict/DictionaryListView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/dict/DictionaryListView.java b/srcs/juloo.keyboard2/dict/DictionaryListView.java
index 465d373..345a800 100644
--- a/srcs/juloo.keyboard2/dict/DictionaryListView.java
+++ b/srcs/juloo.keyboard2/dict/DictionaryListView.java
@@ -54,6 +54,9 @@ public class DictionaryListView extends LinearLayout
}
}
refresh();
+ // The keyboard is not enabled and the list is empty, show a message.
+ if (locales.installed.size() == 0)
+ addView(View.inflate(ctx, R.layout.dictionary_status_not_enabled, null));
}
/** Update the "installed" status of item views. Meaning whether the