|
|
@@ -1,64 +1,66 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout
|
|
|
+<android.support.constraint.ConstraintLayout
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
android:background="@color/CFFFFFF"
|
|
|
>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/icon"
|
|
|
+ android:layout_width="57dp"
|
|
|
+ android:layout_height="57dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="158dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:layout_marginBottom="23dp"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/text_title"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:srcCompat="@drawable/ic_icon_research_none"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_title"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="24dp"
|
|
|
- android:layout_marginTop="53dp"
|
|
|
- android:layout_marginEnd="24dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/text_title"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="8sp"
|
|
|
- android:text="@string/network_disconnected_message"
|
|
|
- android:textColor="#000000"
|
|
|
- android:textSize="21sp"
|
|
|
- />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/text_description"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="17dp"
|
|
|
- android:lineSpacingExtra="5sp"
|
|
|
- android:text="@string/network_disconnected_message_detail"
|
|
|
- android:textColor="#999999"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:lineSpacingExtra="7sp"
|
|
|
+ android:text="@string/network_disconnected_message"
|
|
|
+ android:textColor="@color/C000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/text_description"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/icon"/>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <Space
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/text_description"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="35dp"
|
|
|
- android:gravity="center"
|
|
|
- >
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:lineSpacingExtra="6sp"
|
|
|
+ android:text="@string/network_disconnected_message_detail"
|
|
|
+ android:textColor="@color/C999999"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/text_title"/>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/button_confirm"
|
|
|
- style="@style/SignUpButton"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/retry"/>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
-</LinearLayout>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/button_confirm"
|
|
|
+ style="@android:style/Widget.DeviceDefault.Button.Borderless"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="42dp"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:layout_marginBottom="25dp"
|
|
|
+ android:background="@color/C000000"
|
|
|
+ android:lineSpacingExtra="6sp"
|
|
|
+ android:text="@string/retry"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="15sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
+
|
|
|
+</android.support.constraint.ConstraintLayout>
|