solicitar_fecha.xml
5.74 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
android:focusable="false"
android:focusableInTouchMode="false"
android:orientation="vertical"
android:padding="10dp">
<LinearLayout
android:id="@+id/barraSuperior"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:background="@color/colorPrimaryDark"
android:focusable="false"
android:focusableInTouchMode="false"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="50dp"
android:layout_height="60dp"
android:layout_marginStart="25dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:src="@drawable/error" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvFechayHora"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:layout_weight="1"
android:background="@drawable/boton_borde_redondeado"
android:focusable="false"
android:focusableInTouchMode="false"
android:text="@string/tvFechayHora"
android:textAlignment="center"
android:textColor="@android:color/white"
android:textSize="25sp" />
</LinearLayout>
<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:gravity="center"
android:text="La fecha y hora del Servidor no coinciden con la fecha y hora del dispositivo."
android:textColor="@android:color/holo_red_dark"
android:textSize="20sp"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/barraSuperior" />
<TextView
android:id="@+id/textView7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:text="Servidor:"
android:textSize="20sp"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView6" />
<TextView
android:id="@+id/tvHoraServidor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:text="99/99/9999 99:99:99"
android:textSize="20sp"
app:layout_constraintBaseline_toBaselineOf="@+id/textView7"
app:layout_constraintStart_toEndOf="@+id/textView7" />
<TextView
android:id="@+id/textView8"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:text="Dispositivo:"
android:textSize="20sp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView7" />
<TextView
android:id="@+id/tvHoraDispositivo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:focusable="false"
android:focusableInTouchMode="false"
android:text="99/99/9999 99:99:99"
android:textSize="20sp"
app:layout_constraintBaseline_toBaselineOf="@+id/textView8"
app:layout_constraintStart_toEndOf="@+id/textView8" />
<Button
android:id="@+id/btnCambiarHora"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="15dp"
android:background="@drawable/boton_borde_redondeado"
android:focusable="false"
android:focusableInTouchMode="false"
android:padding="20dp"
android:text="@string/btnCambiarHora"
android:textColor="@android:color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvHoraDispositivo" />
<Button
android:id="@+id/btnSalir"
style="@style/Base.Widget.AppCompat.Button.Colored"
android:layout_width="140dp"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/boton_borde_redondeado"
android:focusable="false"
android:focusableInTouchMode="false"
android:padding="20dp"
android:text="@string/btnSalir"
android:textColor="@android:color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/btnCambiarHora" />
</androidx.constraintlayout.widget.ConstraintLayout>