Blame view

res/layout/main_activity.xml 3.02 KB
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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"
        android:layout_width="256dp"
        android:layout_height="256dp"
        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
23
24
        android:focusableInTouchMode="false"
        android:maxHeight="@dimen/lesize"
        android:maxWidth="@dimen/lesize"
        android:scaleType="fitCenter" />
25
Imanol-Mikel Barba Sabariego authored
26
27
28
29
30
31
32
33
34
35
    <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
36
37
38
        android:scrollbars="vertical"
        android:textColorHint="@color/Whyte_POwaH"
        android:textStyle="bold" />
Imanol-Mikel Barba Sabariego authored
39
Imanol-Mikel Barba Sabariego authored
40
41
42
43
44
45
46
47
48
    <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" />
49
50
51
    <RelativeLayout
        android:id="@+id/Alerta"
        android:layout_width="fill_parent"
Imanol-Mikel Barba Sabariego authored
52
53
        android:layout_height="wrap_content"
        android:layout_above="@+id/button"
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
        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
79
Imanol-Mikel Barba Sabariego authored
80
</RelativeLayout>