定义一个矩形,圆角为50dp 然后设置ImageView的background为此文件 <ImageView android:id="@+id/imageView"android:layout_width="100dp"android:layout_height="100dp"android:background="@drawable/image_background"android:scaleType="fitXY"app:srcCompat="@drawable/b"/> 然后在Activity中 获取ImageView ,然后调...
百度试题 题目Android项目中主题和样式资源,通常放在( )目录。 A.res/drawableB.res/layoutC.res/valuesD.assets相关知识点: 试题来源: 解析 C 反馈 收藏