#377 New section style

Use @dimen variables for font sizes
This commit is contained in:
Niedermann IT-Dienstleistungen 2018-04-13 16:02:03 +02:00 committed by Niedermann IT-Dienstleistungen
parent 0c43229b10
commit b32c306ec3
3 changed files with 7 additions and 4 deletions

View file

@ -60,7 +60,7 @@
android:singleLine="true"
android:layout_weight="1"
android:textColor="@drawable/list_item_color_selector"
android:textSize="16sp" />
android:textSize="@dimen/primary_font_size" />
<ImageView
android:id="@+id/noteStatus"
@ -93,7 +93,7 @@
android:paddingTop="1dp"
android:layout_weight="1"
android:textColor="@drawable/list_item_color_selector_low"
android:textSize="14sp" />
android:textSize="@dimen/secondary_font_size" />
<TextView
android:id="@+id/noteCategory"
@ -111,7 +111,7 @@
android:layout_marginLeft="8dp"
android:singleLine="true"
android:textColor="@drawable/list_item_color_selector"
android:textSize="14sp" />
android:textSize="@dimen/secondary_font_size" />
</android.support.v7.widget.LinearLayoutCompat>
</android.support.v7.widget.LinearLayoutCompat>
</android.support.v7.widget.LinearLayoutCompat>

View file

@ -24,5 +24,5 @@
android:paddingEnd="16dp"
android:paddingTop="48dp"
android:textColor="@color/fg_default_selection"
android:textSize="14sp" />
android:textSize="@dimen/secondary_font_size" />
</RelativeLayout>

View file

@ -9,6 +9,9 @@
<dimen name="button_padding">16dp</dimen>
<dimen name="button_elevation">5dp</dimen>
<dimen name="primary_font_size">16sp</dimen>
<dimen name="secondary_font_size">14sp</dimen>
<!-- Widgets -->
<dimen name="widget_margin">8dp</dimen>
<dimen name="widget_single_note_padding">10dp</dimen>