hygiene6_display.xml 2.98 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/hyg6"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <ImageView
        android:id="@+id/marseille_soap"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_alignParentTop="true"
        android:layout_margin="50dp"
        android:adjustViewBounds="true"
        android:maxWidth="250dp"
        android:src="@drawable/marseille_soap" />

    <ImageView
        android:id="@+id/washing_hands"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_alignParentTop="true"
        android:layout_margin="50dp"
        android:adjustViewBounds="true"
        android:maxWidth="250dp"
        android:src="@drawable/washing_hands" />

    <ImageView
        android:id="@+id/brushing_teeth"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_below="@id/marseille_soap"
        android:layout_margin="50dp"
        android:adjustViewBounds="true"
        android:maxWidth="250dp"
        android:src="@drawable/brushing_teeth" />

    <ImageView
        android:id="@+id/blue_toothbrush_pic"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_below="@id/washing_hands"
        android:layout_margin="50dp"
        android:adjustViewBounds="true"
        android:maxWidth="250dp"
        android:src="@drawable/blue_toothbrush_pic" />

    <TextView
        android:id="@+id/cons_hyg6"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_margin="20dp"
        android:maxWidth="650dp"
        android:textAppearance="@style/TextFont" />

    <Button
        android:id="@+id/button_id_home"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentStart="true"
        android:layout_margin="20dp"
        android:onClick="backHome"
        android:text="@string/home"
        android:textAppearance="@style/TextFont" />

    <Button
        android:id="@+id/announce_instruction"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentEnd="true"
        android:layout_margin="20dp"
        android:onClick="enonceConsigne"
        android:text="@string/instruction"
        android:textAppearance="@style/TextFont" />

</RelativeLayout>