Skip to content

Instantly share code, notes, and snippets.

@fiskurgit
Last active January 30, 2016 14:50
Show Gist options
  • Save fiskurgit/3e61bf034058a89a7889 to your computer and use it in GitHub Desktop.
Save fiskurgit/3e61bf034058a89a7889 to your computer and use it in GitHub Desktop.
<RelativeLayout
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"
tools:context="eu.fiskur.pennineway.tutorial.TutorialActivity"
android:background="@android:color/transparent">
<android.support.v4.view.ViewPager
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/tutorial_background_opaque"/>
<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_above="@+id/button_layout"
android:background="#33ffffff"/>
<RelativeLayout
android:id="@+id/button_layout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@android:color/transparent"
>
<Button
android:id="@+id/skip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:text="SKIP"
android:textSize="18sp"
android:textColor="@color/tutorial_button"
android:background="@android:color/transparent"/>
<LinearLayout
android:id="@+id/circles"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_centerInParent="true">
</LinearLayout>
<Button
android:id="@+id/done"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="DONE"
android:textSize="18sp"
android:textColor="@color/tutorial_button"
android:background="@android:color/transparent"
android:visibility="gone"/>
<ImageButton
android:id="@+id/next"
android:layout_width="90dp"
android:layout_height="45dp"
android:paddingTop="13dp"
android:paddingBottom="12dp"
android:layout_alignParentRight="true"
android:src="@drawable/chevron"
android:background="@android:color/transparent"
android:scaleType="fitCenter"
/>
</RelativeLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment