Wednesday, 14 June 2017

How to change Background Color in Android

How-to-change-Background-Color-in-Android-gif



Changing the background color of the Layout or screen in android is very simple to do.

Open a New Project in Android Eclipse

new-android-application

Enter the Project Name For Ex:  BackgroundColor

android-project-name

and click Next till the Finish comes and also click Finish.

The new Project will be created

new-android-project

Click the activity_main.xml below this image to open the xml file.

activity-main-xml

Add the following line inside the Relative layout tag

 android:background="#EACC00"

How-to-change-Background-Color-in-Android-code

Then save the file and open the Graphics Layout you can see the background color has been changed.

How-to-change-Background-Color-in-Android-output

The #EAAC00 is HTML color code , you get more colors from the internet.

You can choose your desired background colors for your android app.

Also Read:

How to change Button color in Android

35 comments :

  1. Happy to chat on your blog, I feel like I can't wait to read more reliable posts and think we all want to thank many blog posts to share with us.

    Business Analytics Course in Bangalore

    ReplyDelete
  2. You have completed certain reliable points there. I did some research on the subject and found that almost everyone will agree with your blog.

    Data Analytics Course in Bangalore

    ReplyDelete
  3. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science course fees in bangalore

    ReplyDelete
  4. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    data scientist course in bangalore

    ReplyDelete
  5. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Training in Chennai

    ReplyDelete
  6. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    data scientist course in bangalore

    ReplyDelete
  7. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science course

    ReplyDelete
  8. i am glad to discover this page : i have to thank you for the time i spent on this especially great reading !! i really liked each part and also bookmarked you for new information on your site.
    best data science courses in bangalore

    ReplyDelete
  9. I want to leave a little comment to support and wish you the best of luck.we wish you the best of luck in all your blogging enedevors.
    data science course in chennai

    ReplyDelete
  10. I have voiced some of the posts on your website now, and I really like your blogging style. I added it to my list of favorite blogging sites and will be back soon ...

    Digital Marketing Training in Bangalore

    ReplyDelete
  11. You have completed certain reliable points there. I did some research on the subject and found that almost everyone will agree with your blog.

    Data Science Training in Bangalore

    ReplyDelete
  12. It took a while to understand all the comments, but I really enjoyed the article. It turned out to be really helpful for me and I'm positive for all the reviewers here! It's always nice to be able to not only be informed, but also entertained! I'm sure you enjoyed writing this article.

    Artificial Intelligence Training in Bangalore

    ReplyDelete
  13. I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
    Data Science Course Syllabus

    ReplyDelete
  14. The Extraordinary blog went amazed with the content that they have developed in a very descriptive manner. This type of content surely ensures the participants explore themselves. Hope you deliver the same near the future as well. Gratitude to the blogger for the efforts.

    Machine Learning Course in Bangalore

    ReplyDelete
  15. Truly mind blowing blog went amazed with the subject they have developed the content. These kind of posts really helpful to gain the knowledge of unknown things which surely triggers to motivate and learn the new innovative contents. Hope you deliver the similar successive contents forthcoming as well.

    Data Science in Bangalore

    ReplyDelete
  16. I wanted to leave a little comment to support you and wish you the best of luck. We wish you the best of luck in all of your blogging endeavors.

    Data Science Training in Bangalore

    ReplyDelete
  17. Happy to chat on your blog, I feel like I can't wait to read more reliable posts and think we all want to thank many blog posts to share with us.

    Machine Learning Course in Bangalore

    ReplyDelete
  18. It is late to find this act. At least one should be familiar with the fact that such events exist. I agree with your blog and will come back to inspect it further in the future, so keep your performance going.

    Digital Marketing Training in Bangalore

    ReplyDelete
  19. You have completed certain reliable points there. I did some research on the subject and found that almost everyone will agree with your blog.

    Artificial Intelligence Training in Bangalore

    ReplyDelete
  20. Thanks for your thoughts. Travelers can apply online for their Turkish visa. e Visa of Turkey can get online via Turkish visa. By the time your application is complete, this new system has made visa processing easy and cost-effective for tourism and business travel in Turkey.

    ReplyDelete
  21. This post is very simple to read and appreciate without leaving any details out. Great work!
    data science training in malaysia

    ReplyDelete
  22. A good blog always contains new and exciting information, and reading it I feel like this blog really has all of these qualities that make it a blog.

    Machine Learning Training in Bangalore

    ReplyDelete
  23. Nice article thank you for this. Check the kenya entry requirements before you apply for the Kenya visa through online visa application. The e visa application offers the fast visa services. Thank you

    ReplyDelete
  24. I read your excellent post. It's a great job. I enjoyed reading your post for the first time. I want to thank you for this publication. Thank you...

    Data Analytics Course in Patna

    ReplyDelete
  25. Thanks for the lovely blog. It helped me a lot. I'm glad I found this blog. Thanks for sharing with us, I too am always learning something new from your post.

    Data Scientist Training in Bangalore

    ReplyDelete
  26. That's great to find interesting and attractive information. This blog is awesome... And the post is amazing, and I really enjoyed reading it... required eligibility / documents for India eVisa, Required document & Eligibility check online via India e visa website and read all info here.

    ReplyDelete
  27. I was just examining through the web looking for certain information and ran over your blog.It shows how well you understand this subject. Bookmarked this page, will return for extra.

    ReplyDelete
  28. 360DigiTMG, the top-rated organisation among the most prestigious industries around the world, is an educational destination for those looking to pursue their dreams around the globe. The company is changing careers of many people through constant improvement, 360DigiTMG provides an outstanding learning experience and distinguishes itself from the pack. 360DigiTMG is a prominent global presence by offering world-class training. Its main office is in India and subsidiaries across Malaysia, USA, East Asia, Australia, Uk, Netherlands, and the Middle East.

    ReplyDelete
  29. Very happy to find a good place for many here in the post, the writing is just great, thanks for the post.

    Data Science Course in Ernakulam

    ReplyDelete
  30. I think this is an informative post and it is very useful and informative. So, I would like to thank you for the effort you put into writing this article. The Indian e visa online or Electronic Visa (eTV) is an online travel authorization. You can apply online for e visa to India via the India e visa website.

    ReplyDelete
  31. A good blog always contains new and exciting information and as I read it I felt that this blog really has all of these qualities that make a blog.

    Data Analytics Course in Patna

    ReplyDelete
  32. Hello, Thanks for sharing! Please share more posts like this one. Vietnam reopened international tourism on March 15 after almost two years. A conference was held on the same day to ensure a safe and effective reopening. Vietnam is open to international tourists. And you know about the Vietnam tourist visa fee for United States? You can check our Vietnam page for all details about visa fee.

    ReplyDelete
  33. Are you worried that joining in a top-rated Data Science course will burn a hole in your pocket, fret not 360DigiTMG offers Data Science courses that are pocket friendly. Enroll now to learn more about the course and fee details.

    Business Analytics Course in Calicut

    ReplyDelete