登录也优化点击范围
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/read_select" android:state_checked="true"></item>
|
||||
<item android:drawable="@drawable/read_nor" android:state_checked="false"></item>
|
||||
<item android:drawable="@drawable/read_nor"></item>
|
||||
</selector>
|
||||
@@ -104,35 +104,15 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:padding="@dimen/dp_7"
|
||||
android:layout_marginTop="@dimen/dp_2"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
app:cardCornerRadius="@dimen/dp_7"
|
||||
app:cardBackgroundColor="@color/theme_color"
|
||||
app:cardElevation="@dimen/dp_0">
|
||||
<androidx.cardview.widget.CardView
|
||||
android:padding="@dimen/dp_7"
|
||||
android:id="@+id/no_btn"
|
||||
android:layout_width="@dimen/dp_12"
|
||||
android:layout_height="@dimen/dp_12"
|
||||
app:cardCornerRadius="@dimen/dp_6"
|
||||
app:cardBackgroundColor="#fff"
|
||||
android:layout_gravity="center"
|
||||
app:cardElevation="@dimen/dp_0">
|
||||
</androidx.cardview.widget.CardView>
|
||||
<ImageButton
|
||||
android:id="@+id/agree_btn"
|
||||
android:layout_width="@dimen/dp_14"
|
||||
android:layout_height="@dimen/dp_14"
|
||||
android:src="@mipmap/choice"
|
||||
android:scaleType="fitXY"
|
||||
android:background="#fff"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<CheckBox
|
||||
android:layout_marginTop="@dimen/dp_3"
|
||||
android:id="@+id/cb"
|
||||
android:layout_width="@dimen/dp_28"
|
||||
android:layout_height="@dimen/dp_34"
|
||||
android:button="@null"
|
||||
android:checked="false"
|
||||
android:drawableStart="@drawable/select_read"/>
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
Reference in New Issue
Block a user