Uederson Ferreira Member Licensed User Jan 16, 2019 #1 Hi! I am working on some apps, and I have some smartphones for testing proposes. I don't like how the input elements look on some Android versions. I have one bank app that I use and it looks the same on all the smartphones: https://www.dropbox.com/s/as2y2y6i6jseyq8/Screenshot_2019-01-16-19-34-00.png?dl=0 I was thinking how the guys did it. And I am thinking that I could draw the inputs by myself. An example (only for clarify): I could draw a rectangle, and when the user touches it the Android keyboard is showed letting the user type the text on the rectangle. By what you guys know about programming, could this be a good way of have input elements that look the same on all devices? Or there are another way? I tried some libs, but not found one the makes the inputs look the same on all the devices I had tested. Thank you in advanced
Hi! I am working on some apps, and I have some smartphones for testing proposes. I don't like how the input elements look on some Android versions. I have one bank app that I use and it looks the same on all the smartphones: https://www.dropbox.com/s/as2y2y6i6jseyq8/Screenshot_2019-01-16-19-34-00.png?dl=0 I was thinking how the guys did it. And I am thinking that I could draw the inputs by myself. An example (only for clarify): I could draw a rectangle, and when the user touches it the Android keyboard is showed letting the user type the text on the rectangle. By what you guys know about programming, could this be a good way of have input elements that look the same on all devices? Or there are another way? I tried some libs, but not found one the makes the inputs look the same on all the devices I had tested. Thank you in advanced
DonManfred Expert Licensed User Longtime User Jan 17, 2019 #2 See the AppCompat Tutorials: https://www.b4x.com/android/forum/t...le-with-older-android-versions.48423/#content Upvote 0
See the AppCompat Tutorials: https://www.b4x.com/android/forum/t...le-with-older-android-versions.48423/#content
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2019 #3 All Android devices running Android 5+ use the same material theme. If you set the theme correctly (e.g. CreateResourceFromFile(Macro, Themes.DarkTheme)) it will look the same on 90%+ of the devices. Upvote 0
All Android devices running Android 5+ use the same material theme. If you set the theme correctly (e.g. CreateResourceFromFile(Macro, Themes.DarkTheme)) it will look the same on 90%+ of the devices.
Uederson Ferreira Member Licensed User Jan 17, 2019 #4 Thank you so much dear friends! I will check everything you guys point me. Upvote 0