activity_main.xml 2.87 KB
Newer Older
Nastuzzi Samy's avatar
Nastuzzi Samy committed
1
<?xml version="1.0" encoding="utf-8"?>
Nastuzzi Samy's avatar
Nastuzzi Samy committed
2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
3
4
5
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context="fr.utc.simde.payutc.MainActivity"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
6
7
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >
Nastuzzi Samy's avatar
Nastuzzi Samy committed
8
9

    <LinearLayout
Nastuzzi Samy's avatar
Nastuzzi Samy committed
10
11
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
12
        android:gravity="center"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
13
14
15
        android:orientation="vertical"
        android:layout_alignParentTop="true"
        android:layout_alignParentStart="true">
Nastuzzi Samy's avatar
Nastuzzi Samy committed
16
17
18

        <ImageView
            android:id="@+id/img_payutc"
Nastuzzi Samy's avatar
Bug fix    
Nastuzzi Samy committed
19
20
            android:layout_width="100dp"
            android:layout_height="100dp"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
21
22
23
24
25
26
27
28
29
30
31
32
            android:layout_marginBottom="10dp"
            android:contentDescription="@string/app_name"
            android:src="@mipmap/ic_launcher_round" />

        <TextView
            android:id="@+id/text_app_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/app_name"
            android:textSize="24dp"
            android:textStyle="bold" />
Nastuzzi Samy's avatar
Nastuzzi Samy committed
33
34
35
36
37

        <TextView
            android:id="@+id/text_app_config"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
38
            android:layout_marginBottom="50dp"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
39
            android:gravity="center"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
40
41
            android:textSize="18dp"
            android:textStyle="bold" />
Nastuzzi Samy's avatar
Nastuzzi Samy committed
42
43
44
45
46
47
48
49
50
        <TextView
            android:id="@+id/text_hello"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="10dp"
            android:gravity="center"
            android:text="@string/hello" />

        <Button
Nastuzzi Samy's avatar
Nastuzzi Samy committed
51
            android:id="@+id/button_username"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
52
53
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
54
            android:layout_marginBottom="100dp"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
55
            android:text="@string/connect" />
Nastuzzi Samy's avatar
Nastuzzi Samy committed
56
57
58

    </LinearLayout>

Nastuzzi Samy's avatar
Nastuzzi Samy committed
59
    <LinearLayout
Nastuzzi Samy's avatar
Nastuzzi Samy committed
60
61
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
62
        android:orientation="vertical"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
63
64
        android:layout_alignParentBottom="true" >

Huet Rémy's avatar
Huet Rémy committed
65
        <TextView
Nastuzzi Samy's avatar
Nastuzzi Samy committed
66
            android:id="@+id/text_app_registered"
Huet Rémy's avatar
Huet Rémy committed
67
            android:layout_width="fill_parent"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
68
69
70
71
            android:layout_height="wrap_content"
            android:gravity="center"
            android:textStyle="italic"
            android:text="@string/app_not_registred" />
Huet Rémy's avatar
Huet Rémy committed
72

Nastuzzi Samy's avatar
Nastuzzi Samy committed
73
        <TextView
Nastuzzi Samy's avatar
Nastuzzi Samy committed
74
75
76
77
78
79
80
            android:id="@+id/text_author"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:text="@string/author"
            android:layout_marginBottom="10dp"
            android:gravity="center" />
    </LinearLayout>
Nastuzzi Samy's avatar
Nastuzzi Samy committed
81
82

</RelativeLayout>