Skip to content

Commit 63155c5

Browse files
committed
fix: Don't scroll settings away
1 parent a45645e commit 63155c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/src/main/res/layout/activity_settings.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
android:layout_width="match_parent"
1919
android:layout_height="?attr/actionBarSize"
2020
android:background="?attr/colorPrimary"
21-
app:layout_scrollFlags="scroll|enterAlways"
21+
app:layout_scrollFlags="enterAlways"
2222
app:popupTheme="@style/AppTheme.PopupOverlay">
2323

2424
</android.support.v7.widget.Toolbar>
@@ -33,7 +33,8 @@
3333
<android.support.v4.view.ViewPager
3434
android:id="@+id/container"
3535
android:layout_width="match_parent"
36-
android:layout_height="match_parent"
36+
android:layout_height="wrap_content"
37+
android:scrollbars="vertical"
3738
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
3839

3940
</android.support.design.widget.CoordinatorLayout>

0 commit comments

Comments
 (0)