dooplaye
dooplaye

Reputation: 1029

How to create transparent semicircle?

I want to create this effect.TextView with transparent semicircle as backgound . enter image description here I tried add drawable as background.

<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval" >
    <solid android:color="#00000000" />
</shape>

also i tried this stackoverflow similar question ,but it doesn't work for me. Can anyone help me?

Upvotes: 4

Views: 6285

Answers (0)

Related Questions