代码是:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<stroke android:color="#00000000"/>
<size android:height="10dp"/>
</shape>
但无论我设置什么屁股高度,我得到的总是 1dp
最佳答案
试试这个:
<stroke
android:width="10dp"
android:color="#000000" />
关于android - 无法更改形状可绘制对象的高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36860411/