Skip to content

Instantly share code, notes, and snippets.

@Dmuasya

Dmuasya/activity_main.xml Secret

Created Dec 22, 2020
Embed
What would you like to do?
<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