How to add the shade of a panels like the image attached?
I tried to do this with this solution:
That method isn't the best solution because with different smartphone's resolutions, the position of code_lock_bottom must be changed to view it
I tried also with a 9-patch method but i don't understand how it works and if permits to add the shade under the panel
There's a standard method that follow the official guidelines?
I tried to do this with this solution:
B4X:
Dim ivShadow As ImageView
ivShadow.Initialize("")
ivShadow.Background = LoadDrawable("code_lock_bottom")
Panel1.AddView(ivShadow, 0, 0, 100%x, 5dip)
That method isn't the best solution because with different smartphone's resolutions, the position of code_lock_bottom must be changed to view it
I tried also with a 9-patch method but i don't understand how it works and if permits to add the shade under the panel
There's a standard method that follow the official guidelines?