Commit 77b324e6 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent d26683c5
...@@ -32,7 +32,7 @@ class AlipayLoginActivity : BaseActivity(), View.OnClickListener { ...@@ -32,7 +32,7 @@ class AlipayLoginActivity : BaseActivity(), View.OnClickListener {
private var isCheckAgree = false private var isCheckAgree = false
override fun getContentViewLayoutID() = R.layout.activity_wx_login override fun getContentViewLayoutID() = R.layout.activity_alipay_login
override fun toggleOverridePendingTransition() = true override fun toggleOverridePendingTransition() = true
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<RelativeLayout <RelativeLayout
android:id="@+id/rlLoginWx" android:id="@+id/rlLoginWx"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="52dp" android:layout_height="56dp"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:layout_marginLeft="40dp" android:layout_marginLeft="40dp"
android:layout_marginTop="230dp" android:layout_marginTop="230dp"
...@@ -52,11 +52,10 @@ ...@@ -52,11 +52,10 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:drawablePadding="10dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:text="支付宝登录" android:text="支付宝登录"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="14sp" /> android:textSize="18sp" />
</RelativeLayout> </RelativeLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment