Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Prepare #1089 Move line spacing to variable

parent d5f787a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
@@ -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"
+1 −0
Original line number Diff line number Diff line
@@ -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" />
+2 −0
Original line number Diff line number Diff line
@@ -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>