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

    <TextView
        android:id="@+id/cons_hyg1"
        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" />

    <ImageView
        android:id="@+id/blue_toothbrush"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_centerVertical="true"
        android:layout_margin="100dp"
        android:adjustViewBounds="true"
        android:maxWidth="300dp"
        android:src="@drawable/blue_toothbrush" />

    <ImageView
        android:id="@+id/shadow_toothbrush"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_centerVertical="true"
        android:layout_margin="100dp"
        android:adjustViewBounds="true"
        android:maxWidth="300dp"
        android:src="@drawable/blue_toothbrush"
        android:tint="#707070" />

    <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:textAppearance="@style/TextFont"
        android:text="@string/home" />

    <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:textAppearance="@style/TextFont"
        android:text="@string/instruction" />
</RelativeLayout>