2016-08-11 3 views
-2

안녕하세요이보기를 만들려고 :이 호를 만드는 방법은 무엇입니까?

How to make this arc?

내가 라인 아크를 만드는 방법을 알고하지 않습니다. 어떤 shaperadius 속성을 시도했지만 작동하지 않습니다.

도와 주시겠습니까? Thenks

+0

사용자 정의'View'을하고 onDraw' 방법'내부 도면을을 – pskink

답변

0
이 같은보기의 반원을 만들 수 있습니다

:

?xml version="1.0" encoding="utf-8"?> 
<clip 
xmlns:android="http://schemas.android.com/apk/res/android" 
android:clipOrientation="vertical" 
android:gravity="bottom"> 
<shape android:shape="oval"> 
    <solid android:color="#444"/> 
</shape> 

관련 문제