Android更新圆点代码,Android布局,这个凸出的圆点该怎么加到我这个布局上呢?

使用 android:clipChildren="false"这个属性依然不行,下面是需要的效果图和布局代码,就差那个凸起的圆点了

bVbljkw?w=541&h=814

xmlns:app="http://schemas.android.com/apk/res-auto"

android:layout_width="match_parent"

android:clipChildren="false"

android:layout_height="match_parent">

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:scaleType="fitXY"

android:src="@mipmap/login_background" />

android:id="@+id/cv_login"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_marginLeft="12dp"

android:layout_marginRight="12dp"

android:orientation="vertical"

app:cardCornerRadius="10dp"

app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintLeft_toLeftOf="parent"

app:layout_constraintRight_toRightOf="parent"

android:clipChildren="false"

app:layout_constraintTop_toTopOf="parent">

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:orientation="vertical">

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_gravity="center"

android:src="@mipmap/login_circle"/>

android:id="@+id/et_account"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:hint="邮箱账号"

android:padding="10dp"

android:layout_marginLeft="13dp"

android:layout_marginRight="13dp"

android:background="@drawable/login_shape"

android:singleLine="true" />

android:id="@+id/et_password"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_centerInParent="true"

android:hint="密码"

android:layout_marginLeft="13dp"

android:layout_marginRight="13dp"

android:layout_marginTop="10dp"

android:padding="10dp"

android:background="@drawable/login_shape"

android:inputType="textPassword"

android:singleLine="true" />

android:layout_width="match_parent"

android:padding="20dp"

android:layout_height="wrap_content">

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="忘记密码?"/>

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignParentRight="true"

android:text="快速注册>"/>

android:id="@+id/btn_login"

app:layout_constraintTop_toBottomOf="@id/cv_login"

android:layout_width="match_parent"

android:layout_margin="12dp"

android:textColor="@color/colorWhite"

android:layout_height="wrap_content"

android:background="@drawable/login_buton_shape"

android:text="@string/login"/>

app:layout_constraintTop_toBottomOf="@id/btn_login"

android:orientation="horizontal"

android:layout_width="wrap_content"

android:layout_margin="12dp"

app:layout_constraintLeft_toLeftOf="parent"

app:layout_constraintRight_toRightOf="parent"

android:layout_height="wrap_content">

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:textColor="#999999"

android:text="登录即代表同意"/>

android:id="@+id/tv_user_deal"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="用户协议"/>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本方法。编译原理不仅是计算机科学理论的重要组成部分,也是实现高效、可靠的计算机程序设计的关键。本文将对编译原理的基本概念、发展历程、主要内容和实际应用进行详细介绍编译原理是计算机专业的一门核心课程,旨在介绍编译程序构造的一般原理和基本

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值