Blame view

res/layout/main_activity.xml 2.95 KB
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/RelativeLayout1"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@color/backgroundmain"
    android:focusable="true"
    android:focusableInTouchMode="true"
    tools:ignore="Deprecated" >

    <ImageButton
        android:id="@+id/button"
14
15
        android:layout_width="192dip"
        android:layout_height="192dip"
Imanol-Mikel Barba Sabariego authored
16
17
18
19
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:background="@drawable/startbuttontoggle"
        android:contentDescription="@string/startbuttondescription"
Imanol-Mikel Barba Sabariego authored
20
        android:focusable="false"
Imanol-Mikel Barba Sabariego authored
21
22
        android:focusableInTouchMode="false"
        android:scaleType="fitCenter" />
23
Imanol-Mikel Barba Sabariego authored
24
25
26
27
28
29
30
31
32
33
    <TextView
        android:id="@+id/textViewXml"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="51dp"
        android:gravity="clip_vertical"
        android:hint="@string/hint"
        android:scrollbarStyle="insideInset"
Imanol-Mikel Barba Sabariego authored
34
35
36
        android:scrollbars="vertical"
        android:textColorHint="@color/Whyte_POwaH"
        android:textStyle="bold" />
Imanol-Mikel Barba Sabariego authored
37
Imanol-Mikel Barba Sabariego authored
38
39
40
41
42
43
44
45
46
    <TextView
        android:id="@+id/textViewUrl"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@+id/textViewXml"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="21dp"
        android:textAppearance="?android:attr/textAppearanceSmall" />
47
48
49
    <RelativeLayout
        android:id="@+id/Alerta"
        android:layout_width="fill_parent"
Imanol-Mikel Barba Sabariego authored
50
51
        android:layout_height="wrap_content"
        android:layout_above="@+id/button"
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="20dp" >

        <TextView
            android:id="@+id/textViewAlerta"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBottom="@+id/imageViewAlerta"
            android:layout_alignTop="@+id/imageViewAlerta"
            android:layout_centerHorizontal="true"
            android:text="@string/alertVitamioNotInstalled"
            android:textColor="@color/Orange"
            android:visibility="invisible" />

        <ImageView
            android:id="@+id/imageViewAlerta"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="5dip"
            android:layout_toLeftOf="@id/textViewAlerta"
            android:contentDescription="@string/alertLogoDescription"
            android:src="@android:drawable/ic_dialog_alert"
            android:visibility="invisible" />

    </RelativeLayout>
Imanol-Mikel Barba Sabariego authored
77
Imanol-Mikel Barba Sabariego authored
78
</RelativeLayout>