1
0
Fork 0
mirror of https://git.sr.ht/~oppen/ariane synced 2024-12-26 01:38:40 +00:00

inc line height

This commit is contained in:
Jonathan Fisher 2020-11-16 19:21:04 +00:00
parent 9687d73dfb
commit 903a3a06ad
4 changed files with 6 additions and 2 deletions

View file

@ -9,6 +9,7 @@
android:textColor="@color/stroke" android:textColor="@color/stroke"
android:textSize="@dimen/default_text_size" android:textSize="@dimen/default_text_size"
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:background="?android:attr/selectableItemBackground" android:background="?android:attr/selectableItemBackground"
android:layout_marginLeft="@dimen/screen_margin" android:layout_marginLeft="@dimen/screen_margin"

View file

@ -14,4 +14,5 @@
android:background="@color/code_background" android:background="@color/code_background"
android:textIsSelectable="true" android:textIsSelectable="true"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:lineHeight="@dimen/default_line_height"/>

View file

@ -8,4 +8,5 @@
android:textColor="@color/stroke" android:textColor="@color/stroke"
android:textIsSelectable="true" android:textIsSelectable="true"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:lineHeight="@dimen/default_line_height"/>

View file

@ -5,6 +5,7 @@
<dimen name="screen_margin">20dp</dimen> <dimen name="screen_margin">20dp</dimen>
<dimen name="button_margin">12dp</dimen> <dimen name="button_margin">12dp</dimen>
<dimen name="default_text_size">16sp</dimen> <dimen name="default_text_size">16sp</dimen>
<dimen name="default_line_height">20sp</dimen>
<dimen name="code_text_size">14sp</dimen> <dimen name="code_text_size">14sp</dimen>
<dimen name="h1_text_size">28sp</dimen> <dimen name="h1_text_size">28sp</dimen>
<dimen name="h2_text_size">22sp</dimen> <dimen name="h2_text_size">22sp</dimen>