main_activity.xml
2.75 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?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"
android:focusable="false"
android:focusableInTouchMode="false"
android:maxHeight="@dimen/lesize"
android:maxWidth="@dimen/lesize"
android:scaleType="fitCenter" />
<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"
android:scrollbars="vertical"
android:textColorHint="@color/Whyte_POwaH"
android:textStyle="bold" />
<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" />
<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_toRightOf="@+id/imageViewAlerta"
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_above="@+id/button"
android:layout_alignLeft="@+id/button"
android:layout_marginBottom="28dp"
android:layout_marginLeft="17dp"
android:contentDescription="@string/alertLogoDescription"
android:src="@android:drawable/ic_dialog_alert"
android:visibility="invisible" />
</RelativeLayout>