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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -