Skip to content

Commit

Permalink
Reduces # of editable phrases displayed on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
kaffn8ed27 committed Jul 18, 2024
1 parent 737c70e commit 0a1dc1d
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/values-land/integers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<integer name="keyboard_columns">10</integer>
<integer name="keyboard_rows">3</integer>
<integer name="custom_category_phrase_columns">1</integer>
<integer name="custom_category_phrase_rows">3</integer>
<integer name="custom_category_phrase_rows">2</integer>
<integer name="custom_category_columns">2</integer>
<integer name="custom_category_rows">3</integer>
</resources>
23 changes: 23 additions & 0 deletions app/src/main/res/values-sw400dp-land/integers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="max_categories">2</integer>
<integer name="max_phrases">6</integer>
<integer name="max_edit_phrases">2</integer>
<integer name="phrases_columns">3</integer>
<integer name="phrases_rows">2</integer>
<integer name="settings_options_rows">3</integer>
<integer name="settings_options_columns">2</integer>
<integer name="edit_keyboard_columns">10</integer>
<integer name="edit_keyboard_rows">3</integer>
<integer name="number_pad_columns">6</integer>
<integer name="number_pad_rows">2</integer>
<integer name="selection_modes_rows">2</integer>
<integer name="selection_modes_columns">2</integer>
<integer name="max_edit_categories">2</integer>
<integer name="keyboard_columns">10</integer>
<integer name="keyboard_rows">3</integer>
<integer name="custom_category_phrase_columns">1</integer>
<integer name="custom_category_phrase_rows">3</integer>
<integer name="custom_category_columns">2</integer>
<integer name="custom_category_rows">3</integer>
</resources>
25 changes: 25 additions & 0 deletions app/src/main/res/values-sw400dp/integers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="max_categories">1</integer>
<integer name="max_phrases">8</integer>
<integer name="max_edit_phrases">3</integer>
<integer name="phrases_columns">2</integer>
<integer name="phrases_rows">4</integer>
<integer name="edit_phrases_columns">1</integer>
<integer name="edit_phrases_rows">4</integer>
<integer name="settings_options_rows">5</integer>
<integer name="settings_options_columns">1</integer>
<integer name="edit_keyboard_columns">5</integer>
<integer name="edit_keyboard_rows">6</integer>
<integer name="number_pad_columns">3</integer>
<integer name="number_pad_rows">4</integer>
<integer name="selection_modes_rows">2</integer>
<integer name="selection_modes_columns">1</integer>
<integer name="max_edit_categories">4</integer>
<integer name="keyboard_columns">5</integer>
<integer name="keyboard_rows">6</integer>
<integer name="custom_category_phrase_columns">1</integer>
<integer name="custom_category_phrase_rows">9</integer>
<integer name="custom_category_columns">1</integer>
<integer name="custom_category_rows">8</integer>
</resources>
2 changes: 1 addition & 1 deletion app/src/main/res/values/integers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<integer name="keyboard_columns">5</integer>
<integer name="keyboard_rows">6</integer>
<integer name="custom_category_phrase_columns">1</integer>
<integer name="custom_category_phrase_rows">9</integer>
<integer name="custom_category_phrase_rows">6</integer>
<integer name="custom_category_columns">1</integer>
<integer name="custom_category_rows">8</integer>
</resources>

0 comments on commit 0a1dc1d

Please sign in to comment.