1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
| <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/fondmenu"
android:theme="@android:style/Theme.NoTitleBar">
<TextView
android:id="@+id/question"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="22dp"
android:text="Question"
android:textAppearance="?android:attr/textAppearanceLarge" />
<Button
android:id="@+id/prop2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/question"
android:layout_centerHorizontal="true"
android:layout_marginTop="15dp"
android:text="Button2" />
<TextView
android:id="@+id/reponse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_below="@+id/prop2"
android:text="Large Text"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textStyle="bold" />
<TextView
android:id="@+id/explication"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/reponse"
android:layout_centerHorizontal="true"
android:text="Medium Text"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/Orange"
android:textStyle="italic" />
<Button
android:id="@+id/prop1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/prop2"
android:layout_toLeftOf="@+id/prop2"
android:text="Button1" />
<Button
android:id="@+id/prop3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/prop2"
android:layout_alignBottom="@+id/prop2"
android:layout_toRightOf="@+id/prop2"
android:text="Button3" />
</RelativeLayout> |