I am playing with excellent sample of @Sagenut 
	
	
		
			
			
				
					
						
							 www.b4x.com
						
					
					www.b4x.com
				
			
		
	
I made a B4XPages sample and used his widget service. All fine.
There is one aspect that we need to copy the 'preview.png' in the 'res\drawable' folder and mark it read-only, else it will be deleted.
Now I do not want to do it and used '#AdditionalRes: ..\Files' but it is not working.
Any idea how to put the 'preview.png' from another folder to 'res\drawable\' without remembering to keep it there as read-only ?
I mean, I want to have the png in 'Files' or some other folder outside the 'Objects' and the png should be copied to 'res\drawable' from there.
			
			Widget Layout (Resizable, Adaptive)
Not sure if this can be considered a Tutorial, my first attempt. Lately I started to play with Widgets, mostly for curiosity. The main problem I encountered was how to design the Layout to make it resizable and make the content to adapt automatically to size changes. Unluckily designing a widget...
				 www.b4x.com
						
					
					www.b4x.com
				I made a B4XPages sample and used his widget service. All fine.
There is one aspect that we need to copy the 'preview.png' in the 'res\drawable' folder and mark it read-only, else it will be deleted.
Now I do not want to do it and used '#AdditionalRes: ..\Files' but it is not working.
Any idea how to put the 'preview.png' from another folder to 'res\drawable\' without remembering to keep it there as read-only ?
I mean, I want to have the png in 'Files' or some other folder outside the 'Objects' and the png should be copied to 'res\drawable' from there.
 
				 
 
		 
 
		 
 
		 
 
		 
 
		