Rasoull
Member
Hi,
I use the following code to create custom notifications but I can not change the font and size of the text, does anyone know what the problem is?
Thank You.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			I use the following code to create custom notifications but I can not change the font and size of the text, does anyone know what the problem is?
Thank You.
			
				B4X:
			
		
		
		n.Initialize("default","", "LOW").AutoCancel(False).LargeIcon(icon1).SmallIcon(icon2).OnlyAlertOnce(True).Colorized(True).Color(bgcol).SetDefaults(False,False,False)'n as NB6
Dim cs As CSBuilder
Dim title As Object = cs.Initialize.Size(tsize).Typeface(Helper.IranSans).Color(txtcol1).Alignment("ALIGN_CENTER").Append(title ).PopAll
Dim Content As Object = cs.Initialize.Size(tsize-2).Typeface(Helper.IranSansIR).Color(txtcol2).Alignment("ALIGN_CENTER").Append(Content).PopAll
notf = n.Build(title,Content, "tag1", Main)'notf as notification
Service.StartForeground(1,notf) 
				 
 
		 
 
		 
 
		 
 
		 
 
		