Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-06-12 21:41:00 +0300
committerStefan Niedermann <info@niedermann.it>2020-06-12 21:41:00 +0300
commit2367e37e733859909639ddda478ac897baf28c78 (patch)
treeb6c1335ce41580a5d6d6717a0d80c0a19f5f65ac /app/src/main
parentcd91086660501b3fbf1a2c937cdd39298604cfc0 (diff)
Enable hyphenation in grid layout
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item_grid.xml2
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_notes_list_note_item_grid.xml b/app/src/main/res/layout/item_notes_list_note_item_grid.xml
index edd0dc01..9f66f71e 100644
--- a/app/src/main/res/layout/item_notes_list_note_item_grid.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item_grid.xml
@@ -25,9 +25,11 @@
android:layout_marginEnd="@dimen/spacer_2x"
android:layout_marginRight="@dimen/spacer_2x"
android:layout_marginBottom="@dimen/spacer_1x"
+ android:hyphenationFrequency="full"
android:textAppearance="?attr/textAppearanceHeadline5"
android:textColor="@color/fg_default"
tools:maxLength="50"
+ tools:targetApi="m"
tools:text="@tools:sample/lorem/random" />
diff --git a/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml b/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml
index 6bf47835..869a4f70 100644
--- a/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml
@@ -26,9 +26,11 @@
android:layout_marginRight="@dimen/spacer_2x"
android:layout_marginBottom="@dimen/spacer_1x"
android:layout_weight="1"
+ android:hyphenationFrequency="full"
android:textAppearance="?attr/textAppearanceHeadline5"
android:textColor="@color/fg_default"
tools:maxLength="50"
+ tools:targetApi="m"
tools:text="@tools:sample/lorem/random" />
<FrameLayout