From 7bd9306a9f787d3222691f46d03e38f86ec87c9c Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Fri, 10 Apr 2026 19:03:37 +0200 Subject: Dictionary activity: Status message when the keyboard is not enabled (#1228) This shows a reason why the list is empty and removes confusion.--- srcs/juloo.keyboard2/dict/DictionaryListView.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'srcs') 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 -- cgit v1.2.3