G grafsoft Well-Known Member Licensed User Longtime User Nov 23, 2014 #1 Hi, I followed the hint given in http://www.b4x.com/android/forum/threads/solved-a-button-with-graphic-and-text.45630/ I still see just a text and no graphics. BTW: Can I make the button transparent, so that only the image is visible? Thanks Peter
Hi, I followed the hint given in http://www.b4x.com/android/forum/threads/solved-a-button-with-graphic-and-text.45630/ I still see just a text and no graphics. BTW: Can I make the button transparent, so that only the image is visible? Thanks Peter
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2014 #2 grafsoft said: I still see just a text and no graphics. Click to expand... We need to see your layout file in order to help here. If you set the drawables with the designer then only the text and image will be visible. Upvote 0
grafsoft said: I still see just a text and no graphics. Click to expand... We need to see your layout file in order to help here. If you set the drawables with the designer then only the text and image will be visible.
G grafsoft Well-Known Member Licensed User Longtime User Nov 23, 2014 #3 Thank you. It is btnclick in kamera.bal (kamera.zip) Attachments camera.zip 671 bytes · Views: 117 kamera.zip 1.2 KB · Views: 106 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2014 #4 You need to also set the Pressed Drawable. Other than that I only see the image and the text. Upvote 0
G grafsoft Well-Known Member Licensed User Longtime User Nov 24, 2014 #5 This is a very simple example, just one button with an image and text. Perhaps you can tell me what I am doing wrong. Attachments btntest.zip 7.7 KB · Views: 158 Upvote 0
This is a very simple example, just one button with an image and text. Perhaps you can tell me what I am doing wrong.
G grafsoft Well-Known Member Licensed User Longtime User Nov 24, 2014 #7 Thank you! It was hard to see on my device - I chose the wrong colors. Now everything is OK Upvote 0