android - How to create circular marks/buttons and circular window -
let me try explain doing...
i creating map marks on map, want change these marks circular buttons. when click, should open circular window on map options (map in background).
is possible? if explanation not clear can paste code. appreciated!
u can use outline object android l or u can set oval background image (f.e. define oval drawable file)
here sample code:
//outline int size = getresources().getdimensionpixelsize(r.dimen.fab_size); outline outline = new outline(); outline.setoval(0, 0, size, size);
and code example oval drawable:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <solid android:color="#79bfea"/>
Comments
Post a Comment