0
ShapeDrawable 객체를 TableLayout 셀 안에 넣으려고합니다. 문서 here에 의해 제안 나는 사용자 정의보기 mCustomView
를 만든 다음ShapeDrawable 및 TableLayout
mRow.addView(mCustomView)
mTableLayout.addView(mRow)
모두를 수행하여 TableLayout을에보기를 추가, 아니 오류가 잘 작동하지 않습니다하지만 모양이 전혀 표시되지 않습니다. 내 당김을 만들 수
코드는 좀 더 파고 후
icon = new ShapeDrawable(new ArcShape(0, 360));
icon.setBounds(0, 0, 20, 20);
icon.getPaint().setColor(parseColor);