Skip to content

Commit

Permalink
fix: different font sizes for diagram headlines in sensor screens
Browse files Browse the repository at this point in the history
  • Loading branch information
marcnause committed Dec 29, 2024
1 parent 5414051 commit 1231ae1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/sensor_bmp180.xml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@
android:padding="@dimen/title_padding"
android:text="@string/plot_altitude"
android:textColor="@color/white"
android:textSize="@dimen/title_font_size"
android:textSize="@dimen/sensor_title_font"
android:textStyle="bold" />

<RelativeLayout
Expand Down Expand Up @@ -406,7 +406,7 @@
android:padding="@dimen/title_padding"
android:text="@string/plot_hyphen_pressure"
android:textColor="@color/white"
android:textSize="@dimen/title_font_size"
android:textSize="@dimen/sensor_title_font"
android:textStyle="bold" />

<RelativeLayout
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/sensor_ccs811.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
android:padding="@dimen/title_padding"
android:text="@string/plot_eTVOC"
android:textColor="@color/white"
android:textSize="@dimen/title_font_size"
android:textSize="@dimen/sensor_title_font"
android:textStyle="bold" />

<RelativeLayout
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/sensor_sht21.xml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
android:padding="@dimen/title_padding"
android:text="@string/plot_humidity"
android:textColor="@color/white"
android:textSize="@dimen/title_font_size"
android:textSize="@dimen/sensor_title_font"
android:textStyle="bold" />

<RelativeLayout
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/sensor_tsl2561.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
android:padding="@dimen/title_padding"
android:text="@string/plot"
android:textColor="@color/white"
android:textSize="@dimen/title_font_size"
android:textSize="@dimen/sensor_title_font"
android:textStyle="bold" />

<RelativeLayout
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
<dimen name="instrument_tile_icon_size">100dp</dimen>
<dimen name="instrument_card_margin">10dp</dimen>

<dimen name="title_font_size">14sp</dimen>

<dimen name="control_margin">10dp</dimen>
<dimen name="control_margin_small">5dp</dimen>
<dimen name="control_margin_medium">15dp</dimen>
Expand Down

0 comments on commit 1231ae1

Please sign in to comment.