Wish Appcompat with toolbar : constraint Icon Nav size

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
I have tested the two samples provided on a small smartphone (Dogbie (almost no name phone), Android 6.0, 240x400) and found that the navigation icon's size was too big.

Of course, I could decide to use a smaller sized image for the navigation icon but in general, couldn't it be possible that those icon resize by themselves when in place ?

Many thanks

Example 1
d11.png


Example 2
d1.png


Original SMS app
d111.png
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Looks like a bug in Toolbar.NavigationIconBitmap property. @corwin42 you should change the constructor to the one that expects resources and pass: BA.applicationContext.getResources()

As a workaround, you need to use Toolbar.NavigationIconDrawable with a BitmapDrawable.
I will update the examples tomorrow.
 
Top