Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Haldir65/c5cbf4f3337671d3c36e to your computer and use it in GitHub Desktop.
Save Haldir65/c5cbf4f3337671d3c36e to your computer and use it in GitHub Desktop.
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:padding="@dimen/default_padding"
android:layout_height="@dimen/nested_scroll_view_height">
<TextView
android:text="@string/hello_world"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"/>
</android.support.v4.widget.NestedScrollView>
<include layout="@layout/cards_layout"/>
</LinearLayout>
</ScrollView>
//http://ivankocijan.xyz/android-nestedscrollview/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment