Skip to content

Instantly share code, notes, and snippets.

@Dmuasya
Created December 22, 2020 15: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 Dmuasya/b499868d383b7e9538122b45375daf32 to your computer and use it in GitHub Desktop.
Save Dmuasya/b499868d383b7e9538122b45375daf32 to your computer and use it in GitHub Desktop.
<com.quick.lib.StickyNavLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<RelativeLayout
android:id="@id/id_stickynavlayout_topview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFF00" >
<TextView
android:layout_width="match_parent"
android:layout_height="240dp"
android:gravity="center"
android:text="Sticky Header"
android:textSize="30sp"
android:textStyle="bold" />
</RelativeLayout>
<com.quick.lib.SimpleViewPagerIndicator
android:id="@id/id_stickynavlayout_indicator"
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="#ffffffff" >
</com.quick.lib.SimpleViewPagerIndicator>
<android.support.v4.view.ViewPager
android:id="@id/id_stickynavlayout_viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#44ff0000" >
</android.support.v4.view.ViewPager>
</com.quick.lib.StickyNavLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment