How to change background color of custom xml file

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to change background color of custom xml file

Postby gomathisankar » Tue Feb 16, 2010 8:46 am

how to change the inner color of my xml file.It has default color as black only.how to change to other color.i have gn by xml file below .xml file is used for creating border,but i cant change the background color


Need help on this


<shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke android:width="4dp" android:color="#FF00FF00" />
<color name="opaque_red">#f00</color>
<color name="translucent_red">#80ff0000</color>
<padding android:left="7dp" android:top="7dp"
android:right="7dp" android:bottom="7dp" />
<corners android:radius="4dp" />
</shape>


Regards
Gomathi sankar
gomathisankar
Junior Developer
Junior Developer
 
Posts: 13
Joined: Sat Feb 13, 2010 8:48 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests