<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainArithmetic"
android:background="@drawable/sizebj"> //背景图
<ImageView
android:id="@+id/imageButton1"
android:layout_width="0dp"
android:layout_height="0dp"
android:background="@drawable/sizesp_000" //适配背景的小图片
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHeight_percent="0.075"
app:layout_constraintHorizontal_bias="0.31"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_
Android studio ConstraintLayout ImageView适配精准恨
最新推荐文章于 2022-01-20 23:46:14 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)