24 hour grid fit to landscape mode

This commit is contained in:
Phillip Hsu
2016-08-24 02:20:36 -07:00
parent 742d5f3b1e
commit 2d4d661d7f
4 changed files with 48 additions and 10 deletions
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<!-- TODO: Define styles -->
<TextView
android:id="@+id/primary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif-light"
android:textSize="@dimen/number_grid_24_hour_item_primary_text_size"
android:includeFontPadding="false"
style="@style/TextAppearance.AppCompat"
android:layout_marginEnd="6dp"/>
<TextView
android:id="@+id/secondary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:includeFontPadding="false"/>
</merge>
+1 -1
View File
@@ -16,7 +16,7 @@
<dimen name="number_grid_minute_cell_height">44dp</dimen>
<!--TODO: Change the height suffix to size or dimen, because this is used as a width in landscape and a height in portrait. -->
<dimen name="half_day_button_bar_height">64dp</dimen>
<dimen name="number_grid_24_hour_item_primary_text_size">30sp</dimen>
<dimen name="number_grid_24_hour_item_primary_text_size">26sp</dimen>
<dimen name="number_grid_minute_text_size">20sp</dimen>
</resources>