Issue
How can i make my edit text have a background with that blue border at the bottom, left and right sides where left and right side border has (let say) a height of 2dp ?
I have tried using layelist but all it's hard to get left and right border like the one at the image
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape >
<solid android:color="@android:color/holo_blue_bright"/>
<size android:height="1dp"/>
</shape>
</item>
<item android:bottom="5dp" android:left="5dp" android:right="5dp">
<shape>
<solid android:color="@android:color/black"/>
</shape>
</item>
This is what i get
Solution
Hi in most cases to have this type of background developers use 9.png graphics, you can generate background on this site.
http://android-holo-colors.com/
Answered By - bongo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.