Blame view

app/src/main/res/layout/consigne_display.xml 1.05 KB
c13d9bc3   aarnaude   activity consigne...
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
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/consigne_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="580dp"
          android:src="@drawable/noa_consigne" />
  
      <TextView
          android:id="@+id/consigne"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_margin="50dp"
          android:layout_centerHorizontal="true"
          android:gravity="center"
          android:maxLines="4"
          android:textAppearance="@style/TextFont"/>
  
  </RelativeLayout>