Fix scrolling issue where main content hides under toolbar
This commit is contained in:
parent
8a9ac868f1
commit
1bf3af94d8
|
@ -38,7 +38,9 @@
|
||||||
app:viewModel="@{viewModel}"
|
app:viewModel="@{viewModel}"
|
||||||
app:client="@{client}"
|
app:client="@{client}"
|
||||||
tools:layout_editor_absoluteY="-4dp"
|
tools:layout_editor_absoluteY="-4dp"
|
||||||
android:layout_width="match_parent" />
|
android:layout_width="match_parent"
|
||||||
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||||
|
/>
|
||||||
|
|
||||||
<android.support.design.widget.FloatingActionButton
|
<android.support.design.widget.FloatingActionButton
|
||||||
android:id="@+id/fab"
|
android:id="@+id/fab"
|
||||||
|
|
|
@ -16,10 +16,11 @@
|
||||||
|
|
||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
|
android:id="@+id/scrollView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginTop="56dp"
|
|
||||||
android:background="@color/colorPrimary"
|
android:background="@color/colorPrimary"
|
||||||
|
android:fillViewport="false"
|
||||||
tools:context="eu.stuifzand.micropub.MainActivity"
|
tools:context="eu.stuifzand.micropub.MainActivity"
|
||||||
tools:showIn="@layout/activity_main">
|
tools:showIn="@layout/activity_main">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user