Skip to content

Instantly share code, notes, and snippets.

@icastell
Created May 26, 2013 10:12
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 icastell/5652328 to your computer and use it in GitHub Desktop.
Save icastell/5652328 to your computer and use it in GitHub Desktop.
Pushing the ActionBar to the next level
<?xml version="1.0" encoding="utf-8"?>
<com.cyrilmottier.android.translucentactionbar.NotifyingScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/image_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/daft_punk"/>
<! -- Some long content -->
</LinearLayout>
</com.cyrilmottier.android.translucentactionbar.NotifyingScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment