lemonisdead Well-Known Member Licensed User Longtime User May 30, 2017 #1 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 Spoiler: Screenshots Example 1 Example 2 Original SMS app Last edited: May 30, 2017
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 Spoiler: Screenshots Example 1 Example 2 Original SMS app
Erel B4X founder Staff member Licensed User Longtime User May 31, 2017 #2 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.
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.