Commit f261eeb1 authored by Stefan Niedermann's avatar Stefan Niedermann
Browse files

Prepare #1089 Move line spacing to variable

parent d5f787a8
......@@ -33,6 +33,7 @@
android:ems="10"
android:gravity="top"
android:inputType="textMultiLine|textCapSentences"
android:lineSpacingMultiplier="@dimen/note_line_spacing"
android:padding="@dimen/spacer_2x"
android:paddingStart="@dimen/spacer_2x"
android:paddingEnd="@dimen/spacer_2x"
......
......@@ -26,6 +26,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/spacer_activity_sides"
android:layout_marginEnd="@dimen/spacer_activity_sides"
android:lineSpacingMultiplier="@dimen/note_line_spacing"
android:padding="@dimen/spacer_2x"
android:paddingStart="@dimen/spacer_2x"
android:paddingEnd="@dimen/spacer_2x"
......
......@@ -4,5 +4,6 @@
android:id="@+id/single_note_content_tv"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:lineSpacingMultiplier="@dimen/note_line_spacing"
android:textColor="@color/widget_foreground"
tools:text="@tools:sample/lorem/random" />
......@@ -28,6 +28,8 @@
<dimen name="note_font_size_medium">18sp</dimen>
<dimen name="note_font_size_large">22sp</dimen>
<item format="float" name="note_line_spacing" type="dimen">1</item>
<!-- Widgets -->
<dimen name="widget_outer_radius">@dimen/spacer_1x</dimen>
<dimen name="widget_inner_radius">@dimen/spacer_1hx</dimen>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment