bravo_display.xml 1.14 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/bravo_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:clickable="true"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:orientation="vertical">

    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentStart="true"
        android:layout_margin="20dp"
        android:adjustViewBounds="true"
        android:maxWidth="430dp"
        android:src="@drawable/noa_bravo" />

    <TextView
        android:id="@+id/bravo"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="50dp"
        android:layout_centerHorizontal="true"
        android:gravity="center"
        android:maxLines="3"
        android:text="Bravo !\nTu as réussi la mission.\nClique sur l'écran pour continuer à jouer."
        android:textAppearance="@style/TextFont"/>

</RelativeLayout>