New custom view for menus

Star-Dust

Expert
Licensed User
Longtime User
I'm working on a new menu that you can insert both text and images. They are rounded and added a light effect.

It can also rotate

B4X:
For i=1 To 4
    SD_CosmosMenu1.SetItem(i,"Prova " & I,xui.CreateDefaultFont(14),True)
Next
SD_CosmosMenu1.SetItemImage(6,xui.LoadBitmap(File.DirAssets,"cocacola.png"),True)
SD_CosmosMenu1.SetItemImage(7,xui.LoadBitmap(File.DirAssets,"barilla.png"),True)
   
For i=0 To 72
    SD_CosmosMenu1.RotateDegree=i*5
    Sleep(100)
Next

Private Sub SD_CosmosMenu1_Click (ID As String)
    Log(ID)
End Sub

1.gif
 

Star-Dust

Expert
Licensed User
Longtime User
 
Top