24 hour grid fit to landscape mode
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user