Created landscape layout for number grid

This commit is contained in:
Phillip Hsu
2016-08-24 01:23:01 -07:00
parent a76fa47768
commit 742d5f3b1e
8 changed files with 189 additions and 21 deletions
@@ -3,13 +3,12 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="wrap_content">
<!-- TOneverDO: Use vertical LinearLayout as long as
GridLayout has no fixed width -->
<RelativeLayout
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="wrap_content"
android:orientation="vertical">
<FrameLayout
android:id="@+id/time_display_background"
@@ -27,21 +26,19 @@
android:id="@+id/time_picker"
android:layout_width="match_parent"
android:layout_height="@dimen/number_grid_height"
android:layout_below="@id/time_display_background"
android:layout_marginTop="@dimen/bottom_sheet_vertical_space"
android:layout_marginStart="@dimen/bottom_sheet_edge_margin"
android:layout_marginEnd="@dimen/bottom_sheet_edge_margin"
android:paddingBottom="@dimen/anchored_fab_vertical_space"/>
<View
android:id="@+id/divider"
style="@style/Divider.Horizontal"
android:layout_below="@id/time_picker"/>
style="@style/Divider.Horizontal"/>
<LinearLayout
android:id="@+id/half_day_toggles"
android:layout_width="match_parent"
android:layout_height="@dimen/half_day_button_bar_height"
android:layout_below="@id/divider"
android:orientation="horizontal">
<FrameLayout
@@ -78,7 +75,7 @@
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<!-- app:borderWidth="0dp"
Remove the stroke that is otherwise visible when long pressed -->