Skip to content

Instantly share code, notes, and snippets.

@petersaints
Created April 26, 2016 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save petersaints/e4d4cd53cd6413192620b8a6f4179784 to your computer and use it in GitHub Desktop.
Save petersaints/e4d4cd53cd6413192620b8a6f4179784 to your computer and use it in GitHub Desktop.
Android Scrolling Activity Example (Content)
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="pt.unl.fct.di.novalincs.yanux.scavenger.ScrollingActivity"
tools:showIn="@layout/activity_scrolling">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/text_margin"
android:text="@string/large_text" />
</android.support.v4.widget.NestedScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment