Default buttons looking transparent in Android 3.1

NJDude

Expert
Licensed User
Longtime User
I installed one of my apps on a Galaxy Tab running android 3.1 and the default buttons are transparent, I tried searching the forums but couldn't find an answer.

Is this a normal behavior on 3.1 or something can be done?

Thanks
 

NJDude

Expert
Licensed User
Longtime User
The attached screenshots show the problem I'm mentioning.

The First one is how it looks on a phone, the other 2 on a Galaxy Tab.
 

Attachments

  • Phone.JPG
    13.2 KB · Views: 235
  • Tablet.JPG
    6.4 KB · Views: 256
  • Tablet1.JPG
    4.1 KB · Views: 260
Upvote 0

NJDude

Expert
Licensed User
Longtime User
This is what I found out, if you set the background as a panel with a 255 Alpha, works fine, if you add a picture to the panel's background the button becomes transparent, also, changing the alpha of the panel affects the alpha of the button.

The attached file is a sample, it contains a button, a panel and a picture, if you change the backgound of the panel you will see what's going on.

Is this an Android issue, a B4A issue or something else?.

Thanks.
 

Attachments

  • ButtonIssue.zip
    22.5 KB · Views: 254
Last edited:
Upvote 0

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
I tried it on a Toshiba Thrive running 3.1 because I have related issues with it. (In fact, I just logged on to post one.) I don't get the problem on the TT -- it looks fine.

Have you updated your system lately? You might want to see if you and Erel have the same Build Number and Kernel Version.
 
Upvote 0

moster67

Expert
Licensed User
Longtime User
I had some users who reported a "visual" problem which looks identical to your problem. It turned out they were all using a customized ROM based upon MUI. It happened also with other apps which were NOT written in B4A.

I didn't look into to it further. :sign0013:
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User

No custom ROM here, but maybe that's one reason, who knows, this is the Galaxy Tab info:

Model Number : GT-P7510
Android Version: 3.1
Kernel Version: 2.6.36.3 se.infra@SEP-63 #1

In my case ALL the apps written with B4A show that issue, I'm puzzled.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
I don't see any problem:

I see a subtle difference, your button looks "plain" mine has a beveled effect, maybe a "theme" is the culprit? but, I can't see any settings or options for themes on this tab.


EDIT: It seems it might have something to do with "Styles", according to what I've read so far.
 

Attachments

  • Button.JPG
    2.6 KB · Views: 208
Last edited:
Upvote 0

moster67

Expert
Licensed User
Longtime User
Yep, I believe it could be due to the styles. Also the MUI-roms implement styles or other graphical eyecandy.





Sent from my HTC HD2
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…