🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • angel juarez
    angel juarez
    15,886 Points

    I have problems adding a background color for a button.

    Posted November 13, 2016 3:34am by angel juarez
    angel juarez
    15,886 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    2 Answers

  • oak agasi
    oak agasi
    2,240 Points

    I think there is something wrong with the question

    Posted April 17, 2016 4:24pm by oak agasi
    oak agasi
    2,240 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    2 Answers

  • Ramesh Ram
    Ramesh Ram
    3,340 Points

    Now add the attribute to change the color of the button text to white. Use the system value or the appropriate hex color

    Posted April 7, 2016 7:25pm by Ramesh Ram
    Ramesh Ram
    3,340 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    2 Answers

  • Ramesh Ram
    Ramesh Ram
    3,340 Points

    Now add the attribute to change the color of the button text to white. Use the system value or the appropriate hex color

    Posted April 7, 2016 7:25pm by Ramesh Ram
    Ramesh Ram
    3,340 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    1 Answer

  • MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points

    Adding the white colour

    Posted July 25, 2015 3:37pm by MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    1 Answer

  • MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points

    Background color

    Posted July 23, 2015 2:08pm by MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    1 Answer

  • MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points

    Background Colour

    Posted July 23, 2015 1:12pm by MUZ140881 Munyaradzi Dhodho
    MUZ140881 Munyaradzi Dhodho
    1,326 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    1 Answer

  • Edwin Rozario
    Edwin Rozario
    2,922 Points

    <Button android:textColor="#ffffff" /> not working for challenge

    Posted July 8, 2015 10:25pm by Edwin Rozario
    Edwin Rozario
    2,922 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    3 Answers

  • Alice Emmely Sadza
    Alice Emmely Sadza
    4,205 Points

    code challenge

    Posted June 2, 2015 4:22am by Alice Emmely Sadza
    Alice Emmely Sadza
    4,205 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    2 Answers

  • Adlight Sibanda
    Adlight Sibanda
    5,701 Points

    Just a bit lost

    Posted May 17, 2015 10:57pm by Adlight Sibanda
    Adlight Sibanda
    5,701 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    2 Answers

  • Adlight Sibanda
    Adlight Sibanda
    5,701 Points

    In the layout below we have one button. Add an attribute to set its background to #ffaa0000.

    Posted May 17, 2015 9:37pm by Adlight Sibanda
    Adlight Sibanda
    5,701 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    1 Answer

  • MUZ140564 Kudakwashe Jena
    MUZ140564 Kudakwashe Jena
    4,895 Points

    Now add the attribute to change the color of the button text to white. Use the system value or the appropriate hex colo

    Posted May 14, 2015 10:46am by MUZ140564 Kudakwashe Jena
    MUZ140564 Kudakwashe Jena
    4,895 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    5 Answers

  • MUZ140584 Heredity Mbundire
    MUZ140584 Heredity Mbundire
    4,979 Points

    Now add the attribute to change the color of the button text to white. Use the system value or the appropriate hex color

    Posted April 17, 2015 11:49am by MUZ140584 Heredity Mbundire
    MUZ140584 Heredity Mbundire
    4,979 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    1 Answer

  • khaled Ahmed
    PLUS
    khaled Ahmed
    Courses Plus Student 2,066 Points

    Button background

    Posted March 17, 2015 3:45pm by khaled Ahmed
    khaled Ahmed
    Courses Plus Student 2,066 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    0 Answers

  • MUZ140110 Pasipamire
    MUZ140110 Pasipamire
    4,871 Points

    I am getting a bummer and instruction to make sure I am using the correct code for white. I am stuck

    Posted March 12, 2015 12:29pm by MUZ140110 Pasipamire
    MUZ140110 Pasipamire
    4,871 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    1 Answer

  • David Santos
    David Santos
    1,486 Points

    not sure why it won't work

    Posted March 12, 2015 12:16pm by David Santos
    David Santos
    1,486 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    0 Answers

  • jacob fields rules
    jacob fields rules
    3,548 Points

    In the layout below we have one button. Add an attribute to set its background to #ffaa0000.

    Posted March 4, 2015 6:50pm by jacob fields rules
    jacob fields rules
    3,548 Points
    • Android
    • Build an Interactive Story App (Retired)
    • Finishing the User Interface
    • Customizing a Button

    8 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.