All Questions
7 questions
0
votes
1
answer
43
views
Button Background in xml
I have a button and I want to replace the background I designed with the paste.
But there is no change in it.
where is the problem from ?
<Button
android:id="@+id/button_signIn"
...
0
votes
3
answers
1k
views
Centering a button on a background image
I'm trying to display a "link button" on top of a div (ccontainer) with a background image. It works with a position:absolute but with a position:relative it disappears. I'm wondering why that is as I ...
0
votes
1
answer
398
views
Layout with buttons inside Google Maps
I want to put a Layout with Buttons inside Google Maps with a gradient background as in this app:
i have done many combinations but they not works. How I can to make it?
0
votes
2
answers
1k
views
Android button background is covering up button text
I have a button that looks as I want it. The only issue is that it covers up the text. I know that it covers it and that the text shows behind it, because if I remove the android:background attribute, ...
0
votes
4
answers
683
views
One activitiy with different backgrounds in android
I am trying to create an android app. I have two buttons next and back in my android app. I want when i click on next button its open same activity with different background. Next time i again click ...
0
votes
3
answers
611
views
Setting round background for text of button in Android
I have a button in my app in which I am setting the background of it using :
setBackground(Drawable background)
Then I am using setText(CharSequence,TextView.BufferType) to display text on it at the ...
0
votes
1
answer
912
views
Android custom colored buttons, avoid redundant code
I created an Android app with a 4x6 grid of buttons. This buttons should all have different background colors.
I could achieve this by creating 24 custom shapes like drawable\red_botton.xml, drawable\...