activity_main.xml 2.57 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
    xmlns:tools="http://schemas.android.com/tools"
4
    tools:context="fr.utc.simde.jessy.MainActivity"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
5
    android:layout_width="fill_parent"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
6
    android:layout_height="fill_parent">
Nastuzzi Samy's avatar
Nastuzzi Samy committed
7
8

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

        <ImageView
            android:id="@+id/img_payutc"
Nastuzzi Samy's avatar
Bug fix    
Nastuzzi Samy committed
18
19
            android:layout_width="100dp"
            android:layout_height="100dp"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
20
21
22
23
24
25
26
27
28
29
30
31
            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
32
33
34
35
36

        <TextView
            android:id="@+id/text_app_config"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
37
            android:layout_marginBottom="50dp"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
38
            android:gravity="center"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
39
40
            android:textSize="18dp"
            android:textStyle="bold" />
Nastuzzi Samy's avatar
Nastuzzi Samy committed
41
42
43
44
45
46
47
48
49
        <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
50
            android:id="@+id/button_username"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
51
52
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
53
            android:layout_marginBottom="100dp"
Nastuzzi Samy's avatar
Nastuzzi Samy committed
54
            android:text="@string/connect" />
Nastuzzi Samy's avatar
Nastuzzi Samy committed
55
56
57

    </LinearLayout>

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

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