Adding database information insertion features in the phone app
[iot2.git] / others / lede-gui / src / main / res / layout / activity_add_relation.xml
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.AddCommActivity"
8     android:background="@drawable/blueberry"
9     >
10
11     <LinearLayout
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">
20         <LinearLayout
21             android:layout_width="match_parent"
22             android:layout_height="match_parent"
23             android:layout_margin="5dp"
24             android:orientation="vertical"
25             android:weightSum="1"
26             android:layout_weight="0.55">
27
28             <TextView
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" />
42
43             <LinearLayout
44                 android:layout_width="match_parent"
45                 android:layout_height="16dp"
46                 android:layout_gravity="center"
47                 android:orientation="horizontal">
48
49             </LinearLayout>
50
51             <EditText
52
53                 android:id="@+id/textInfoComm"
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" />
65
66             <LinearLayout
67                 android:layout_width="match_parent"
68                 android:layout_height="18dp"
69                 android:layout_gravity="center"
70                 android:orientation="horizontal">
71
72             </LinearLayout>
73
74             <Button
75                 android:id="@+id/doneButton"
76                 android:layout_width="150dp"
77                 android:layout_height="50dp"
78                 android:layout_gravity="center"
79                 android:layout_marginTop="50dp"
80                 android:layout_weight="0.06"
81                 android:background="@drawable/pinkback"
82                 android:text="done"
83                 android:textColor="#FFA7A7"
84                 android:textSize="25dp"
85                 android:textStyle="bold" />
86
87
88         </LinearLayout>
89     </LinearLayout>
90
91
92 </RelativeLayout>