From 2367e37e733859909639ddda478ac897baf28c78 Mon Sep 17 00:00:00 2001 From: Stefan Niedermann Date: Fri, 12 Jun 2020 20:41:00 +0200 Subject: Enable hyphenation in grid layout --- app/src/main/res/layout/item_notes_list_note_item_grid.xml | 2 ++ app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'app/src/main') 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" />