gestion_layout.xml 1.48 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textListeMedoc"
        android:text="@string/gestion1"
        android:textSize="25dp"
        android:textColor="@color/colorAccent" />

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/aucunMedoc"
        android:textColor="@color/colorAccent"
        android:layout_below="@+id/textListeMedoc"/>

    <ListView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/listMedoc"
        android:layout_below="@+id/textListeMedoc"
        android:layout_above="@+id/buttonAjoutMedoc"/>

    <ImageButton
        android:layout_width="60dp"
        android:layout_height="60dp"
        android:id="@+id/buttonAjoutMedoc"
        android:src="@drawable/plus"
        android:adjustViewBounds="true"
        android:scaleType="fitCenter"
        android:layout_alignParentRight="true"
        android:layout_alignParentBottom="true"
        android:layout_margin="3dp"
        android:onClick="onClickAjoutMedoc"
        android:background="@color/colorPrimary"/>

</RelativeLayout>