abouttreesummaryrefslogcommitdiff
path: root/res/layout/keyboard.xml
diff options
context:
space:
mode:
authorJules Aguillon2026-05-01 20:25:20 +0200
committerGitHub2026-05-01 20:25:20 +0200
commitd164820bca8d2182869108f8a015ce3d987d048d (patch)
tree7890ce5114766ba91e8092c2bf388d0b7820e11a /res/layout/keyboard.xml
parentb844af1f289921592a8bfb7e5a174d4e1b33c0dd (diff)
downloadunexpected-keyboard-d164820bca8d2182869108f8a015ce3d987d048d.tar.gz
unexpected-keyboard-d164820bca8d2182869108f8a015ce3d987d048d.zip
Reduce the size of suggestions to fit (#1248)
The font size of the suggested words is reduced if the word would otherwise split on two lines.
Diffstat (limited to 'res/layout/keyboard.xml')
-rw-r--r--res/layout/keyboard.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/layout/keyboard.xml b/res/layout/keyboard.xml
index f512979..3fb611f 100644
--- a/res/layout/keyboard.xml
+++ b/res/layout/keyboard.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:hardwareAccelerated="false" android:orientation="vertical" android:background="?attr/colorKeyboard">
- <juloo.keyboard2.suggestions.CandidatesView android:id="@+id/candidates_view" android:layout_width="match_parent" android:layout_height="48dp" android:orientation="horizontal" android:gravity="center">
- <TextView android:id="@+id/candidates_left" style="@style/candidates_item" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1"/>
- <TextView android:id="@+id/candidates_middle" style="@style/candidates_item" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1"/>
- <TextView android:id="@+id/candidates_right" style="@style/candidates_item" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1"/>
+ <juloo.keyboard2.suggestions.CandidatesView android:id="@+id/candidates_view" style="@style/candidates_view">
+ <TextView android:id="@+id/candidates_left" style="@style/candidates_item" android:layout_width="match_parent"/>
+ <TextView android:id="@+id/candidates_middle" style="@style/candidates_item" android:layout_width="match_parent"/>
+ <TextView android:id="@+id/candidates_right" style="@style/candidates_item" android:layout_width="match_parent"/>
</juloo.keyboard2.suggestions.CandidatesView>
<juloo.keyboard2.Keyboard2View android:id="@+id/keyboard_view" android:layout_width="match_parent" android:layout_height="wrap_content"/>
</LinearLayout>