Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Arvind Mehta
    PLUS
    Arvind Mehta
    Courses Plus Student 10,302 Points

    Next, switch to the activity_main.xml file and add this new style to each EditText in the layout

    Posted February 28, 2018 7:13am by Arvind Mehta
    Arvind Mehta
    Courses Plus Student 10,302 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling EditTexts and Buttons

    1 Answer

  • George Popovich
    George Popovich
    15,055 Points

    Having Trouble Opening The App Files

    Posted February 22, 2018 9:40am by George Popovich
    George Popovich
    15,055 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    0 Answers

  • Caleb Seeling
    Caleb Seeling
    1,189 Points

    Could this be a bug

    Posted December 2, 2017 5:52pm by Caleb Seeling
    Caleb Seeling
    1,189 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling EditTexts and Buttons

    1 Answer

  • Mustafa Ogün Öztürk
    Mustafa Ogün Öztürk
    3,468 Points

    selectableitembackgroundborderless

    Posted November 16, 2017 3:55pm by Mustafa Ogün Öztürk
    Mustafa Ogün Öztürk
    3,468 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    0 Answers

  • Tonnie Fanadez
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Tonnie Fanadez
    UX Design Techdegree Graduate 22,796 Points

    Commenting in XML

    Posted November 1, 2017 3:53am by Tonnie Fanadez
    .a{fill-rule:evenodd;}techdegree seal-36
    Tonnie Fanadez
    UX Design Techdegree Graduate 22,796 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    1 Answer

  • Elvis Chitsungo
    Elvis Chitsungo
    1,817 Points

    I am lost,can someone help

    Posted September 20, 2017 3:52pm by Elvis Chitsungo
    Elvis Chitsungo
    1,817 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    10 Answers

  • samllanwarne
    samllanwarne
    3,849 Points

    Can someone explain the "include" bit as I couldn't see how it linked two .xml files, or what it actually linked across?

    Posted August 31, 2017 10:57am by samllanwarne
    samllanwarne
    3,849 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Including One Layout in Another

    1 Answer

  • TRACY ZIWEWE
    TRACY ZIWEWE
    1,820 Points

    Styles and Themes in Android

    Posted August 13, 2017 7:50pm by TRACY ZIWEWE
    TRACY ZIWEWE
    1,820 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    1 Answer

  • Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points

    I need help to this challenge too

    Posted August 2, 2017 3:09am by Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    1 Answer

  • Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points

    I need help to this code challenge:

    Posted August 2, 2017 3:07am by Cristian Gerardo Hernandez Barrios
    Cristian Gerardo Hernandez Barrios
    28,382 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling EditTexts and Buttons

    1 Answer

  • Stanley Aaron Meki
    Stanley Aaron Meki
    6,345 Points

    In this challenge we want to extract a style manually. Start by adding a new empty style named CustomEditText.

    Posted July 29, 2017 1:39pm by Stanley Aaron Meki
    Stanley Aaron Meki
    6,345 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling EditTexts and Buttons

    0 Answers

  • shahaf cohen
    shahaf cohen
    1,896 Points

    Bummer! Oops! Don't include 'android:hint' in the style.

    Posted July 22, 2017 7:18am by shahaf cohen
    shahaf cohen
    1,896 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling EditTexts and Buttons

    2 Answers

  • shahaf cohen
    shahaf cohen
    1,896 Points

    receiving this error - Bummer! Don't forget to include 'android:layout_alignParentLeft' in the style!

    Posted July 22, 2017 6:52am by shahaf cohen
    shahaf cohen
    1,896 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling EditTexts and Buttons

    1 Answer

  • Mustafa Ogün Öztürk
    Mustafa Ogün Öztürk
    3,468 Points

    Course Level

    Posted July 6, 2017 1:22pm by Mustafa Ogün Öztürk
    Mustafa Ogün Öztürk
    3,468 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Defining the Problem

    3 Answers

  • Kazakhstan Cola
    Kazakhstan Cola
    1,775 Points

    In question "What must the root element be for a layout component that will be included in other layout files?"

    Posted July 1, 2017 8:50am by Kazakhstan Cola
    Kazakhstan Cola
    1,775 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Using Includes for Repeatable Layouts

    3 Answers

  • SHAWN FURLONG
    SHAWN FURLONG
    2,811 Points

    I have went and opened . Everything opens fine, but there are many errors. The errors is only "R" within the R.id method

    Posted June 26, 2017 2:28am by SHAWN FURLONG
    SHAWN FURLONG
    2,811 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Defining the Problem

    1 Answer

  • Yulin Wang
    Yulin Wang
    36,990 Points

    The GitHub repo is a completed project. I thought I will get a starter project, but not.

    Posted June 24, 2017 10:48am by Yulin Wang
    Yulin Wang
    36,990 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Defining the Problem

    0 Answers

  • Filmon Elias
    Filmon Elias
    3,514 Points

    Already Completed Project on GitHub link?

    Posted May 27, 2017 1:34am by Filmon Elias
    Filmon Elias
    3,514 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    2 Answers

  • Trudy Lee
    Trudy Lee
    2,812 Points

    Please update teacher's note : shortcut

    Posted May 11, 2017 11:39pm by Trudy Lee
    Trudy Lee
    2,812 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling More Views

    0 Answers

  • Zaur Kandokhov
    Zaur Kandokhov
    12,276 Points

    Getting "Bummer! Don't forget to include 'android:layout_alignParentLeft' in the style!". What I missed here?

    Posted April 29, 2017 8:23pm by Zaur Kandokhov
    Zaur Kandokhov
    12,276 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Styling EditTexts and Buttons

    1 Answer

  • Steven Holt
    Steven Holt
    7,382 Points

    The Starter files GitHub Repo is not found for the "Styles and Themes in Android" course...

    Posted April 17, 2017 1:57pm by Steven Holt
    Steven Holt
    7,382 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Defining the Problem

    2 Answers

  • sean tatenda jack
    sean tatenda jack
    6,127 Points

    Challenge Task 3 of 3 Switch to the file activity_main.xml.Use the new style you just created for the Button.

    Posted April 13, 2017 9:08am by sean tatenda jack
    sean tatenda jack
    6,127 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    1 Answer

  • Ansh ⠀
    Ansh ⠀
    6,521 Points

    Where's the link in teacher notes?

    Posted April 12, 2017 7:03am by Ansh ⠀
    Ansh ⠀
    6,521 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Defining the Problem

    2 Answers

  • Luke Farrell
    Luke Farrell
    3,278 Points

    Links are missing, how can I follow along?

    Posted April 10, 2017 6:39pm by Luke Farrell
    Luke Farrell
    3,278 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Creating a Style

    1 Answer

  • Prateek Prasad
    Prateek Prasad
    7,292 Points

    Links missing from teacher's notes

    Posted April 5, 2017 1:35pm by Prateek Prasad
    Prateek Prasad
    7,292 Points
    • Android
    • Styles and Themes in Android
    • Using Styles in Layouts
    • Defining the Problem

    1 Answer

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord