0
나는 당김 모양이있는 경우 :Java를 통해 Android에서 드로어 블 모양을 사용하는 방법은 무엇입니까?
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:width="2dp" android:color="#FFFFFFFF" />
<gradient android:startColor="#DD000000" android:endColor="#DD2ECCFA"
android:angle="225"/>
<corners android:bottomRightRadius="7dp" android:bottomLeftRadius="7dp"
android:topLeftRadius="7dp" android:topRightRadius="7dp"/>
</shape>
가 어떻게이 텍스트 뷰의 배경으로이 사용에 대한 갈 것입니까? 아래와 같은 것을 시도했지만 작동하지 않았습니다.