mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Initial port of the acceptable use tutorial from iOS app. This version uses static images and is not yet animated. Indicator circles on the pager are done using Apache-licensed https://github.com/JakeWharton/Android-ViewPagerIndicator -- imported via maven. Currently the tutorial launches when we reach the login screen (as when first installing the app or creating a new account from system settings). You can either 'back' out of it or page through and hit the 'yes' button. GitHub: https://github.com/wikimedia/apps-android-commons/pull/20 Change-Id: Ibc444102e28a55bfa7bbae601ff0c56268a0c7dd
23 lines
No EOL
780 B
XML
23 lines
No EOL
780 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#0c609c">
|
|
|
|
<android.support.v4.view.ViewPager
|
|
android:id="@+id/welcomePager"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:fadingEdge="none"
|
|
>
|
|
|
|
</android.support.v4.view.ViewPager>
|
|
|
|
<com.viewpagerindicator.CirclePageIndicator
|
|
android:id="@+id/welcomePagerIndicator"
|
|
android:layout_height="24dp"
|
|
android:layout_width="fill_parent"
|
|
android:layout_gravity="bottom" />
|
|
|
|
</FrameLayout> |