1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:app="http://schemas.android.com/apk/res-auto"
4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent"
7 tools:context="com.example.lede2.AddDeviceActivity"
8 android:background="@drawable/blueberry"
12 android:layout_width="match_parent"
13 android:layout_height="wrap_content"
14 android:orientation="vertical"
15 android:layout_alignParentTop="true"
16 android:layout_alignParentLeft="true"
17 android:layout_alignParentStart="true"
18 android:layout_alignParentBottom="true"
19 android:weightSum="1">
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
23 android:layout_margin="5dp"
24 android:orientation="vertical"
26 android:layout_weight="0.55">
29 android:id="@+id/textView"
30 android:layout_width="match_parent"
31 android:layout_height="30dp"
32 android:layout_marginTop="10dp"
33 android:layout_weight="0.05"
34 android:background="@drawable/orange"
35 android:gravity="center"
36 android:inputType="text"
37 android:text="Please adjust/modify the MySQL info below"
38 android:textColor="#000000"
39 android:textIsSelectable="true"
40 android:textSize="17sp"
41 android:textStyle="bold" />
44 android:layout_width="match_parent"
45 android:layout_height="16dp"
46 android:layout_gravity="center"
47 android:orientation="horizontal">
53 android:id="@+id/textInfo"
54 android:layout_width="match_parent"
55 android:layout_height="40dp"
56 android:layout_weight="0.80"
57 android:background="@drawable/empty"
58 android:gravity="center"
59 android:inputType="text|textMultiLine"
60 android:textColor="@color/colorPrimaryDark"
61 android:textColorLink="@color/blue"
62 android:textIsSelectable="true"
63 android:textSize="17sp"
64 android:textStyle="bold" />
67 android:layout_width="match_parent"
68 android:layout_height="18dp"
69 android:layout_gravity="center"
70 android:orientation="horizontal">
76 android:id="@+id/textInfoAddress"
77 android:layout_width="match_parent"
78 android:layout_height="wrap_content"
79 android:background="@drawable/empty"
80 android:gravity="center"
81 android:inputType="text|textMultiLine"
82 android:textColor="@color/colorPrimaryDark"
83 android:textColorLink="@color/blue"
84 android:textIsSelectable="true"
85 android:textSize="17sp"
86 android:textStyle="bold"
87 android:layout_weight="0.09" />
90 android:id="@+id/doneButton"
91 android:layout_width="150dp"
92 android:layout_height="50dp"
93 android:layout_gravity="center"
94 android:layout_marginTop="50dp"
95 android:layout_weight="0.06"
96 android:background="@drawable/pinkback"
98 android:textColor="#FFA7A7"
99 android:textSize="25dp"
100 android:textStyle="bold" />