This is a wrapper for this github project.
Requirement: B4A 6+
You can see a overview of Icons here: https://materialdesignicons.com/
MaterialIcons
Author: DonManfred
Version: 2.0 (2046 Icons)
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
	
	
	
		
		
		
			
		
		
	
	
		 
	
			
			Requirement: B4A 6+
You can see a overview of Icons here: https://materialdesignicons.com/
MaterialIcons
Author: DonManfred
Version: 2.0 (2046 Icons)
- MaterialDrawableBuilder- Functions:- build  As android.graphics.drawable.Drawable
 
- clearColorFilter  As MaterialDrawableBuilder
 
- Initialize (EventName As String)
 
- IsInitialized  As Boolean
 
- setAlpha (alpha As Int) As MaterialDrawableBuilder
 
- setColorFilter (cf As android.graphics.ColorFilter) As MaterialDrawableBuilder
 
- setColorResource (colorRes As Int) As MaterialDrawableBuilder
 Set the color of the drawable.
 colorRes: The color resource, from your R file.
 Return type: @return:The current IconDrawable for chaining.
- setStyle (style As android.graphics.Paint.Style) As MaterialDrawableBuilder
 Sets paint style.
 style: to be applied
 
- build  As android.graphics.drawable.Drawable
- Properties:- Color As Int [write only]
 
- Icon As String [write only]
 
- Iconlist As List [read only]
 
- Opacity As Int [read only]
 
- SizeDp As Int [write only]
 
- SizePx As Int [write only]
 
- Color As Int [write only]
 
- Functions:
- MaterialIconView- Fields:- ba As BA
 
- Functions:- BringToFront  
 
- DesignerCreateView (base As Panel, lw As Label, props As Map)
 
- Initialize (EventName As String)
 
- Invalidate  
 
- Invalidate2 (arg0 As android.graphics.Rect)
 
- Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
 
- IsInitialized  As Boolean
 
- RemoveView  
 
- RequestFocus  As Boolean
 
- SendToBack  
 
- SetBackgroundImage (arg0 As android.graphics.Bitmap) As BitmapDrawable
 
- SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
 
- SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
 
- SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
 
- SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
 
- BringToFront  
- Properties:- Background As android.graphics.drawable.Drawable
 
- Color As Int [write only]
 
- Enabled As Boolean
 
- Height As Int
 
- Icon As Int [write only]
 
- Iconlist As List [read only]
 
- Left As Int
 
- Padding As Int()
 
- Parent As Object [read only]
 
- SizeDp As Int [write only]
 
- SizePx As Int [write only]
 
- Tag As Object
 
- Top As Int
 
- Visible As Boolean
 
- Width As Int
 
- Background As android.graphics.drawable.Drawable
 
- Fields:
			
				B4X:
			
		
		
		    mi.Initialize("MaterialIcon")
    mi.Color = Colors.Red
    Dim iconlist As List
    iconlist.Initialize
    iconlist = mi.Iconlist
    Log(iconlist)
    For i = 0 To 249
        mi2.Initialize("MaterialIcon")
        Dim idx As Int = Rnd(1,iconlist.Size)
        mi2.Icon = idx
        mi2.Color = Colors.RGB(Rnd(1,255),Rnd(1,255),Rnd(1,255))
        Dim posx As Int = Rnd(0,100%x-50dip)
        Dim posy As Int = Rnd(0,100%y-50dip)
        Activity.AddView(mi2,posx,posy,50dip,50dip)
    Next 
	Attachments
			
				Last edited: 
			
		
	
							 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		