수직 라인을 추가하는 방법을 나는이있어 : 모양 레이아웃
을 그리고 내가 원하는 것은 :
지금 색상을 신경 쓰지 마십시오. 나는 수평선을 어떻게 그리는 지 알아 냈지만 수직선은 생각하지 않았다. 수직선을 추가하는 방법은 무엇입니까?
이
내 row_border.xml (모양)입니다 :<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#ffffff" />
<stroke android:width="1dp" android:color="#99cc00" />
</shape>
이 이미 시도하지만, 작동하지 않았다 :
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#ffffff" />
<stroke android:width="1dp" android:color="#99cc00" />
<stroke
android:angle="90"
android:width="1dp"
android:color="#ff0000"
></stroke>
</shape>
당신이 사용하고있는 레이아웃? 사용자 정의 목록보기 또는 테이블보기? –
@LazyNinja 테이블 뷰 미안하지만 질문에주의하는 것이 중요하다는 것을 알지 못했습니다. – Bigflow