Commit ca6ebcc7 authored by jianglx's avatar jianglx

修改会员模块促成人输入框样式

parent 5c3ed8de
...@@ -23,6 +23,7 @@ public class InviterPhoneDialog extends BaseDialog { ...@@ -23,6 +23,7 @@ public class InviterPhoneDialog extends BaseDialog {
public InviterPhoneDialog(@NonNull final Context context, String phone, final InputListener listener) { public InviterPhoneDialog(@NonNull final Context context, String phone, final InputListener listener) {
super(context); super(context);
setCancelable(false);
setDialogParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT, Gravity.CENTER); setDialogParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT, Gravity.CENTER);
edtInviterPhone = findViewById(R.id.edt_inviter_phone); edtInviterPhone = findViewById(R.id.edt_inviter_phone);
ivClose = findViewById(R.id.iv_close); ivClose = findViewById(R.id.iv_close);
......
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
<!--背景颜色--> <!--背景颜色-->
<solid android:color="#F2F2F2" /> <solid android:color="#F2F2F2" />
<!--设置圆角的角度--> <!--设置圆角的角度-->
<corners android:radius="3dp" /> <corners android:radius="5dp" />
</shape> </shape>
...@@ -17,11 +17,13 @@ ...@@ -17,11 +17,13 @@
<ImageView <ImageView
android:paddingLeft="@dimen/dp_10"
android:paddingTop="@dimen/dp_10"
android:id="@+id/iv_close" android:id="@+id/iv_close"
android:layout_width="wrap_content" android:layout_width="@dimen/size_20"
android:layout_height="wrap_content" android:layout_height="@dimen/size_20"
android:layout_gravity="right" android:layout_gravity="right"
android:layout_marginTop="13dp" android:layout_marginTop="3dp"
android:src="@drawable/icon_member_close" /> android:src="@drawable/icon_member_close" />
<TextView <TextView
...@@ -30,7 +32,8 @@ ...@@ -30,7 +32,8 @@
android:layout_marginTop="@dimen/dp_10" android:layout_marginTop="@dimen/dp_10"
android:text="邀请人手机号" android:text="邀请人手机号"
android:textColor="#171413" android:textColor="#171413"
android:textSize="@dimen/text_20" /> android:textStyle="bold"
android:textSize="@dimen/text_16" />
<EditText <EditText
android:id="@+id/edt_inviter_phone" android:id="@+id/edt_inviter_phone"
......
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