2
私は基本的に私に丸みのある角を与える以下のXMLレイアウトを持っており、私はそれをEditTextで使用します。 Androidインスペクタは、なぜelement solid is not allowed here
と、またelement corners is not allowed here.
Android XML要素は許可されていません
と言っていますか?
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<solid android:color="#FFFFFF" />
<corners
android:bottomRightRadius="5dp"
android:bottomLeftRadius="5dp"
android:topLeftRadius="5dp"
android:topRightRadius="5dp" />
</shape>
とてもシンプルですが、なぜそれが言っているのか分かりませんでした。完璧に動作します。あなたの知恵をありがとう:)それは私にできるだけ早く正しいとマークします。 – Phil
@Philあなたは歓迎です:) –