Skip to content

Instantly share code, notes, and snippets.

@Velmm
Created December 27, 2017 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Velmm/fc2a9eaf7904ce3e8d3b55e92e4f0652 to your computer and use it in GitHub Desktop.
Save Velmm/fc2a9eaf7904ce3e8d3b55e92e4f0652 to your computer and use it in GitHub Desktop.
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#f1f5f7"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="5dp"
android:paddingTop="10dp"
android:text="Latest Movies"
android:textColor="#111"
android:textSize="16dp" />
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:scrollbars="vertical" />
</LinearLayout>
</android.support.v4.widget.NestedScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment