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 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="">
<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" />

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


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot] and 5 guests