Android Question User interface lenovo

DPaul

Active Member
Licensed User
Longtime User
Hi,

Since i did not have a tablet with external storage, i procured myself a lenovo 1280x800 with sd card.
(with android 5.1.1)
This is the same screen as my samsung 10.1 , but with a newer android version.

To my surprise, the user application screen, is not exactly the same;
in particular msgboxes, textboxes and seekbars are not recognisable (faint or invisible), although they do "work".

Any ideas how come ?

thx,
Paul
 

RandomCoder

Well-Known Member
Licensed User
Longtime User
This is most likely caused by the theme each device is applying. You can force to use your own theme via the manifest editor. I presume the size and layout appears the same, just the look is different. If size and layout is also being affected then this could be caused by one device having a navigation bar and the other not or something like this.
 
Upvote 0

DPaul

Active Member
Licensed User
Longtime User
This is most likely caused by the theme each device is applying. You can force to use your own theme via the manifest editor. I presume the size and layout appears the same, just the look is different. If size and layout is also being affected then this could be caused by one device having a navigation bar and the other not or something like this.

Sounds plausible. Will try.
thx,
paul
 
Upvote 0

DPaul

Active Member
Licensed User
Longtime User
Any ideas on a "theme" that will render B4A controls perfectly ?
There are so many :)

thx,
Paul
 
Upvote 0

DPaul

Active Member
Licensed User
Longtime User
OK, i got this far, after trying out many, many theme settings.
Last line of my manifest file, i added:
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.NoActionBar.Fullscreen")


At least i can see all of my controls now. But most of them still seem "transparent", they work, but i can't show this to a user.

I found this resource:
http://swagos.blogspot.be/2012/12/various-themes-available-in-android_28.html

Should i try them all ? :-(

Dpaul
 
Upvote 0

DPaul

Active Member
Licensed User
Longtime User
I wish that I could offer better advice but here is a link that will hopefully be of some use... https://www.b4x.com/android/forum/threads/theme-colors-for-material-design.68286/#content

Hi , i appreciate your suggestion, and i tested various combinations in the manifest file.
From what i understand, this mainly focuses on colors, and does not do the total makeover i would like to see. (which was OK on my (older) samsung.)

It must be something fundamental with the rendering of the controls, because they do work , but texboxes and spinners have become sort of transparent.
The biggest change is in the seekbars, instead of a button-like appearance they look like a movable unframed radio button .
And also the msgbox(2) is totally different, with even a change of order of the "answers".
Is it a "lollipop thing ?"

I am currently using this in the manifest:
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="19"/>
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.NoActionBar.Fullscreen")

Oh, and BTW , i also had the idea to change the theme on the Lenovo itself.
I tried the "chat" support. They kept me waiting for 20 minutes, "you are #1 in the queue", and then comes the message:"chat service not available".
So much for support under warranty. I also sent an email... but :-(
 
Upvote 0

DPaul

Active Member
Licensed User
Longtime User
OK, I give up.
Tried 3x to get chat support from lenovo, impossible.
Phoned support, they did not have a clue what i was talking about. Change the theme ?
My question now is.
My app works perfectly on my old samsung galaxy 10.1.
What tablet should i buy today, that has NO WLAN, but MicroSD, and HD (1280x800) ,
that will NOT tamper with rendering of the B4A controls.
Any suggestions ?
thx,
Paul
 
Upvote 0
Top