activity_age1.xml 2.72 KB
<?xml version="1.0" encoding="utf-8"?>


<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:weightSum="1"
    android:background="@color/colorPrimaryDark">

    <ImageButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:srcCompat="@drawable/kode"
        android:id="@+id/mode_aventure"
        android:layout_gravity="center"
        android:backgroundTint="@color/colorPrimaryDark"
        android:layout_marginTop="100dp" />

    <TextView
        android:text="Mode aventure "
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/textView"
        android:textAppearance="@style/TextAppearance.AppCompat.Display1"
        android:textColor="?android:attr/windowBackground"
        android:layout_marginLeft="20dp" />

    <TextView
        android:text="Flashe les codes QR qui t'entourent pour en savoir plus sur le SSR Marc Sautelet. Démarre le scan en appuyant sur le code ci-dessus."
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textView2"
        android:textColor="?android:attr/windowBackground"
        android:layout_marginLeft="20dp"
        android:layout_marginRight="20dp" />

    <ImageButton
        android:id="@+id/dessine"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="50dp"
        android:layout_weight="0.09"
        app:srcCompat="@drawable/colorier" />

    <TextView
        android:text="Mode dessin"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textView3"
        android:textAppearance="@style/TextAppearance.AppCompat.Display1"
        android:textColor="?android:attr/windowBackground"
        android:layout_marginLeft="20dp"/>

    <TextView
        android:text="Dans ce mode, tu peux créer ton propre dessin et l'enregistrer sur la tablette.
\n
\n
\n
\n
\n"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textView4"
        android:textColor="?android:attr/windowBackground"
        android:layout_marginLeft="20dp"
        android:layout_marginRight="20dp"/>

</LinearLayout>
</ScrollView>