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
39 lines
No EOL
1.5 KiB
XML
39 lines
No EOL
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#0c609c"
|
|
android:gravity="center_vertical"
|
|
>
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/welcome_wikipedia"
|
|
android:adjustViewBounds="true"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="240dp"
|
|
android:text="@string/welcome_wikipedia_text"
|
|
android:layout_gravity="center"
|
|
android:textStyle="bold"
|
|
android:textAlignment="center"
|
|
android:paddingTop="24dp"
|
|
android:gravity="center_horizontal"
|
|
android:textColor="@android:color/white"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxWidth="240dp"
|
|
android:text="@string/welcome_wikipedia_subtext"
|
|
android:layout_gravity="center"
|
|
android:textAlignment="center"
|
|
android:paddingTop="16dp"
|
|
android:gravity="center_horizontal"/>
|
|
</LinearLayout> |