Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
Fix low-res layouts to not overlap content with FAB (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
vase4kin committed Apr 14, 2020
1 parent 27f6d92 commit 2faf2da
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main/res/layout/activity_filter_builds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@
android:id="@+id/divider_switcher_is_pinned"
layout="@layout/layout_divider" />

<!--View that makes a view scrollable for low-res devices, to make fab to not overlap the content-->
<View
android:background="?android:attr/colorBackground"
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_96dp"/>

</LinearLayout>

</FrameLayout>
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/layout/activity_run_build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@

<include layout="@layout/layout_divider" />

<!--View that makes a view scrollable for low-res devices, to make fab to not overlap the content-->
<View
android:background="?android:attr/colorBackground"
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_96dp"/>

</LinearLayout>

</FrameLayout>
Expand Down
1 change: 1 addition & 0 deletions libraries/resources/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
<dimen name="recycler_view_horizontal_margin">0dp</dimen>
<dimen name="recycler_view_vertical_margin">0dp</dimen>
<dimen name="default_corner_radius">8dp</dimen>
<dimen name="dimen_96dp">96dp</dimen>
</resources>

0 comments on commit 2faf2da

Please sign in to comment.