Changing of backbround color of activity can be achieved by assigning color value to "android:background" of the layout.
eg.
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#e0e0ff"
>
![Change backbround color of activity Change backbround color of activity](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXbW2aw7kl0DXh38bkgeezE7SfORLmNLjCGCkC2Mt6MR836Y7QYhbuxg6DtxY12WcHYYojhATaKGgFgTbVaddherQoU6YB3uPRruIlSrikbIf0VDdRI6ChpB9FW3ydHl_o20jWm91dj4J0/s400/background_color.png)
android:background may be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
No comments:
Post a Comment