|
|
@@ -3,57 +3,73 @@
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="#F5F5F5">
|
|
|
+ android:background="#00000000">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/icon_iv"
|
|
|
- android:layout_width="@dimen/view_size_90"
|
|
|
- android:layout_height="@dimen/view_size_90"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:src="@mipmap/icon"
|
|
|
- android:layout_marginTop="36dp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/app_name_tv"
|
|
|
+ <com.github.ybq.android.spinkit.SpinKitView
|
|
|
+ android:id="@+id/progress"
|
|
|
+ style="@style/SpinKitView.Large.CubeGrid"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:layout_marginTop="14dp"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="小绵羊授权登录"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/text_size_16"
|
|
|
- android:layout_below="@+id/icon_iv" />
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:visibility="invisible"
|
|
|
+ app:SpinKit_Color="@color/colorAccent" />
|
|
|
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/sdk_change_user_list"
|
|
|
- android:scrollbars="none"
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/main_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="12dp"
|
|
|
- android:layout_marginRight="12dp"
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
- android:layout_above="@+id/change_account_tv" />
|
|
|
+ android:background="#F5F5F5">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/change_account_tv"
|
|
|
- style="@style/style_button_full"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:paddingLeft="50dp"
|
|
|
- android:paddingRight="50dp"
|
|
|
- android:background="@drawable/round_main_r25"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_marginBottom="24dp"
|
|
|
- android:text="添加账号" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/icon_iv"
|
|
|
+ android:layout_width="@dimen/view_size_90"
|
|
|
+ android:layout_height="@dimen/view_size_90"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="36dp"
|
|
|
+ android:src="@mipmap/icon" />
|
|
|
|
|
|
- <com.github.ybq.android.spinkit.SpinKitView
|
|
|
- android:id="@+id/loading_view_img"
|
|
|
- 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" />
|
|
|
-</RelativeLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/app_name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:layout_below="@+id/icon_iv"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:text="小绵羊授权登录"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/text_size_16" />
|
|
|
+
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/sdk_change_user_list"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_above="@+id/change_account_tv"
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:scrollbars="none" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/change_account_tv"
|
|
|
+ style="@style/style_button_full"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginBottom="24dp"
|
|
|
+ android:background="@drawable/round_main_r25"
|
|
|
+ android:paddingLeft="50dp"
|
|
|
+ android:paddingRight="50dp"
|
|
|
+ android:text="添加账号" />
|
|
|
+
|
|
|
+ <com.github.ybq.android.spinkit.SpinKitView
|
|
|
+ android:id="@+id/loading_view_img"
|
|
|
+ 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" />
|
|
|
+ </RelativeLayout>
|
|
|
+</RelativeLayout>
|