Button with Icon

Can someone try this ButtonWithIcon.apk (4.1 MB), just to confirm that sizing of the icon is getting the same size as text next to it

Since I haven’t found any topic about this that properly show the right size

How it looks on my phone

NOTE, only mobile

/Boban

1 Like

Samsung Grand Prime+
Android 6.0.1
Stock ROM

Actually before, I had a problem with Material Icons in Buttons. It was showing very big but looks like it fixed itself. :sweat_smile: Because I have an icon sizing problem with FAB.

As you can see all buttons has more height in my device.

2 Likes

Yep

Pixel 2
API 27

2 Likes

By the way, I realized that, why first button’s text is 14.0 for me? :joy:

1 Like

In designer it is set to 14.0 and only that one, in our devices cian’s and my it seems to remove it, don’t ask me why, no clue

/Boban

2 Likes

May I ask what density, dpi you have.

/Boban

1 Like

As far I know it is 240.

1 Like

Samsung A3 2016, Android7.0

2 Likes

Tank-you @yusufcihan @cian @Django_s_Android_App

With 360dp phones works as it should

now I need phones with odd screen size in px, dpi, dp, density

ex.
1080px, 540dp, 320dpi, density 2

/Boban

2 Likes

Have you installed Android Studio? If you do there are 25 different devices you can emulate from.

1 Like

Since I’m unable to get it from Genymotion I’ll take a look at it.

/Boban

1 Like

They take up alot of space and only some of them work with Play Store, but once you get your head wrapped around them, it is very good.

Let me know if you need any help with it.

2 Likes