|
|
@@ -0,0 +1,161 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<android.support.constraint.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="match_parent"
|
|
|
+ android:background="#50000000">
|
|
|
+
|
|
|
+ <com.github.ybq.android.spinkit.SpinKitView
|
|
|
+ android:id="@+id/spin_view"
|
|
|
+ style="@style/SpinKitView.Large.ThreeBounce"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_above="@+id/change_account_tv"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:SpinKit_Color="@color/colorAccent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:id="@+id/dialog_container"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_width="320dp"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ android:background="@drawable/shape_grey_stroke_2a3342_10"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="温馨提示"
|
|
|
+ android:textColor="#ffc6f0ff"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:text="检测的到你小绵羊APP登录的账号与游戏登录账号不一致,是否将小绵羊APP账号切换为游戏账号。"
|
|
|
+ android:textColor="#ffa1b3c7"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_marginTop="46dp"/>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/cancel_btn"
|
|
|
+ android:text="取消"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
+ android:layout_marginLeft="50dp"
|
|
|
+ android:background="@drawable/shape_green_36a5ed_18"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_width="90dp"
|
|
|
+ android:layout_height="30dp" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/arrow_view"
|
|
|
+ android:layout_marginTop="96dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="40dp">
|
|
|
+ <TextView
|
|
|
+ android:background="@drawable/shape_oval_blue_gradient"
|
|
|
+ android:text="游戏"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/game_code_view"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1546546"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/arrow_view"
|
|
|
+ android:src="@mipmap/arrow_right_img"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ android:padding="5dp"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:layout_marginTop="106dp"
|
|
|
+ android:tint="#36A5ED"
|
|
|
+ android:layout_width="34dp"
|
|
|
+ android:layout_height="20dp" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/arrow_view"
|
|
|
+ android:layout_marginTop="96dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="40dp">
|
|
|
+ <TextView
|
|
|
+ android:background="@drawable/shape_oval_green_gradient"
|
|
|
+ android:text="APP"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/sheep_code_view"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="1546546"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:textSize="13sp"/>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/confirm_btn"
|
|
|
+ android:text="切换"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ android:layout_marginBottom="16dp"
|
|
|
+ android:layout_marginRight="50dp"
|
|
|
+ android:background="@drawable/shape_blue_4ac155_18"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_width="90dp"
|
|
|
+ android:layout_height="30dp" />
|
|
|
+
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/close_btn"
|
|
|
+ android:src="@mipmap/x"
|
|
|
+ android:tint="#9BB1D5"
|
|
|
+ android:padding="12dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:background="@drawable/shape_oval_grey_stroke_3c495e"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/dialog_container"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/dialog_container"
|
|
|
+ android:layout_marginBottom="180dp"
|
|
|
+ android:layout_marginLeft="295dp"
|
|
|
+ android:layout_width="36dp"
|
|
|
+ android:layout_height="36dp" />
|
|
|
+
|
|
|
+</android.support.constraint.ConstraintLayout>
|