I am trying to create a custom design for EditText. See the attached image below,
I am trying to achieve this using a custom shape like the one defined below.
I am trying to create a colored Circle and assign it to an ImageView for my GridView.
Here is my code:
ImageView ivColor;
ivColor = new ImageView(MainActivity.this);
ivColor.setLayoutParams(new…
how can i make this custom edittext using shape please ?
http://www.noelshack.com/2015-15-1428418773-form3.png
I've tried android:drawableLeft but the result's not matching
rectangle_shape.xml
Is it possible to create a completely custom shape in xml? I'm trying to create a button which looks like this: http://s11.postimg.org/e4izrlgrj/image.png (a mockup i did in photoshop)
I need to be able to create the outline shape and the small blue…
I found several answers to How to draw a triangle shape in Android in the resources files. But I don't found any to explain how I can change the triangle rotation.
Example that I found:
I try to apply a margin to my elements from BaseAdapter. I tried several things. I'm a bit dissapointed that I cannot just add a margin to my drawable.xml "background".
(Activity - Layout) ItemsView.xml
I'm searching on google how to transform these shapes to java code but I can't find the way, also I checked the documentation and nothing...
These are the shapes:
shape1.xml:
I am trying to make an Android View with a background like this:
I have figured out that the easiest way, properly is to make two shapes on top of each other with different background colors:
The height of the is different for each element, so I…
I am trying to change the color and shape of the checkbox with the below code. The below code changes color of checkbox but does not change the shape of the button. What changes need to be done?
I know this can be done by android xml, what should I do to make the left part bulge?
I have already tried the following code, but it only give me this: