python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Separate image from AppCompatTextView
I have a Linear Layout with a list of six horizontal button in column. Each Button is defined as a AppCompactTextView since I need to place two images on it, as you can see in the following image:
Wh...
Babbara
Votes: 0
Answers: 2
why is background overlapping drawable resource in android
I was following a tutorial when I stumbled on something I couldn't quite wrap my head around. This is the drawable resource that I use as the source for an image button.
<?xml version="1.0&quo...
Nathan Kim
Votes: 0
Answers: 1
Android Layer List Drawable Move Adjust Item Position
How to positon the <item> inside <layer-list> Drawable? Thanks for any help.
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item
...
Sam Chen
Votes: 0
Answers: 2
Set background to TextView with CompoundDrawable
I need to make a view like this one:
I already have a TextView with CompoundDrawable setted by:
textView.setCompoundDrawablesWithIntrinsicBounds(
null,
null,
context.getDrawableCompat(R.d...
Nikita Kalugin
Votes: 0
Answers: 1