forked from glpi-project/android-inventory-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_detail_server.xml
120 lines (102 loc) · 4.27 KB
/
activity_detail_server.xml
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:fbutton="http://schemas.android.com/tools"
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorAccent"
android:minHeight="?android:attr/actionBarSize">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/textDetail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:text="@string/detail_server"
android:textColor="@color/white"
android:textSize="18sp"
android:textStyle="bold" />
<Button
android:id="@+id/deleteServer"
android:layout_width="wrap_content"
android:layout_height="30dp"
android:layout_marginRight="20dp"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:textColor="@color/textColorYellow"
android:text="@string/delete"
android:background="@drawable/radius_btn_yellow"/>
</RelativeLayout>
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:id="@+id/linear"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/toolbar"
android:layout_marginTop="51dp"
android:divider="@drawable/empty_tall_divider"
android:orientation="vertical"
android:padding="15dp"
android:showDividers="middle">
<EditText
android:id="@+id/editUrlAddress"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/GlobalServerSummary"
android:inputType="textUri" />
<EditText
android:id="@+id/editTag"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/tagSummary"
android:inputType="text" />
<EditText
android:id="@+id/editLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/login"
android:inputType="textUri" />
<EditText
android:id="@+id/editPassWord"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/password"
android:inputType="textPassword" />
<Spinner
android:id="@+id/spinnerAssetItemtype"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/editSerialNumber"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/serial"
android:inputType="text" />
</LinearLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/btnQRScan"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:layout_below="@+id/linear"
android:src="@drawable/ic_qr"
android:layout_alignParentRight="true"
app:backgroundTint="@color/colorAccent" />
<Button
android:id="@+id/actionServer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="@color/colorYellow"
android:textColor="@color/black"
android:text="" />
</RelativeLayout>