Top "Android-drawable" questions

In Android, a Drawable is a general abstraction for "something that can be drawn.

Android shape border with gradient

I want to create a border for a linearLayout. So I decide to create a shape. I want the border …

android android-layout android-drawable xml-drawable
Android: How to Make A Drawable Selector

I feel like this is kind of a silly question, but here I go anyways. I have an image button, …

android selector android-drawable xml-drawable android-selector
How to draw a circle inside a circle using Android xml shapes?

I'm trying to make a thumb for a seekbar for my app, and I want to have an inner circle …

java android android-drawable android-shape
How to change a layer-list drawable?

Trying to learn some new things and can't figure this one out, any help is appreciated. Given this simple code …

android android-drawable
Add gradient to imageview

I want to add a gradient on the bottom of my image . Something like this : I tried something like this …

android android-imageview android-drawable
Android : stroke in a shape create a margin of the stroke width

I created a rectangle shape in order to use it as list item background. My problem is the stroke does …

android android-layout android-drawable shapes stroke
How to change the color of the Progress Bar in Android?- (I tried one way,and it isn't working)

I added a progress bar to my activity using the following code: <LinearLayout android:id="@+id/linlaHeaderProgress" android:layout_…

android xml progress-bar android-linearlayout android-drawable
Changing the drawable size inside a button

I want to create a Button like this: Here is my code: <Button android:layout_width="80dp" android:layout_…

android android-layout android-drawable android-button android-image
How to create a right facing arrow (chevron) using XML shapes in android?

How to create a right facing arrow using xml shapes in android like this??

android xml android-drawable shape
Drawing programmatically oval shape with border (corner radius) on Android

I`m trying to draw custom ShapeDrawable with OvalShape, filled with white and with grey border. I created a drawable …

android android-drawable shapedrawable