Skip to main content

NOTICE: On Friday Nov 6, Workspaces will be temporarily unavailable for maintenance.

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

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

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
  • Oisin Lavery
    Oisin Lavery
    14,745 Points

    Could you use gravity to center the button instead of using blank views as spacers?

    Posted August 12, 2014 3:02pm by Oisin Lavery
    Oisin Lavery
    14,745 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Your Mom
    Your Mom
    249 Points

    What are the possible reasons that my emulator has begun reporting, "Unfortunately, Crystal Ball has stopped"?

    Posted August 5, 2014 3:52pm by Your Mom
    Your Mom
    249 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    3 Answers

  • ashleychen
    ashleychen
    638 Points

    When I add the textView to the LinearLayout, it jumps automatically to the top of the screen and I can't move it. Help?

    Posted July 25, 2014 6:24pm by ashleychen
    ashleychen
    638 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Adil Patel
    Adil Patel
    316 Points

    Cant find the "view" from the design tab in Android studio. Only thing I can see is "custom view".

    Posted July 22, 2014 9:40pm by Adil Patel
    Adil Patel
    316 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    2 Answers

  • Jed Carey
    Jed Carey
    12,678 Points

    A better solution?

    Posted July 17, 2014 5:40am by Jed Carey
    Jed Carey
    12,678 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Ramya reddy
    PLUS
    Ramya reddy
    Courses Plus Student 1,746 Points

    I have no errors in my code but still crystalball app crashes in the emulator. Please help

    Posted July 16, 2014 5:07am by Ramya reddy
    Ramya reddy
    Courses Plus Student 1,746 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Robert Shaw
    Robert Shaw
    1,567 Points

    Crystal Ball

    Posted July 15, 2014 11:51pm by Robert Shaw
    Robert Shaw
    1,567 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    5 Answers

  • michal grossberg
    michal grossberg
    178 Points

    Error

    Posted July 14, 2014 10:51am by michal grossberg
    michal grossberg
    178 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Shane Desouza
    Shane Desouza
    3,523 Points

    Can't find Weight option in the Properties menu of the Linear Layout

    Posted June 22, 2014 2:52am by Shane Desouza
    Shane Desouza
    3,523 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • rushabhjain
    PLUS
    rushabhjain
    Courses Plus Student 2,465 Points

    Unable to click any of the properties

    Posted June 20, 2014 8:29pm by rushabhjain
    rushabhjain
    Courses Plus Student 2,465 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    2 Answers

  • danielplaisimnd
    danielplaisimnd
    6,837 Points

    Android Update

    Posted June 18, 2014 2:10am by danielplaisimnd
    danielplaisimnd
    6,837 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Harry James
    Harry James
    14,780 Points

    Unable to copy view1

    Posted June 15, 2014 2:58pm by Harry James
    Harry James
    14,780 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Alo Gutierrez
    PLUS
    Alo Gutierrez
    Courses Plus Student 3,345 Points

    CrystalBall crashing after adding the image and changing the Theme ?

    Posted June 5, 2014 12:28am by Alo Gutierrez
    Alo Gutierrez
    Courses Plus Student 3,345 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    2 Answers

  • Richard Chance
    PLUS
    Richard Chance
    Courses Plus Student 311 Points

    Cannot get my text formatted and + my app will not display "Shake for prediction".

    Posted May 22, 2014 6:37pm by Richard Chance
    Richard Chance
    Courses Plus Student 311 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Michael Brent
    Michael Brent
    883 Points

    Using view for spacing.

    Posted May 1, 2014 5:52pm by Michael Brent
    Michael Brent
    883 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • ohad shaboody
    ohad shaboody
    195 Points

    my app works, but does something else

    Posted April 24, 2014 5:50am by ohad shaboody
    ohad shaboody
    195 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    9 Answers

  • Cicedea Andrei
    PLUS
    Cicedea Andrei
    Courses Plus Student 369 Points

    Positioning items in a relative layout

    Posted April 2, 2014 5:57pm by Cicedea Andrei
    Cicedea Andrei
    Courses Plus Student 369 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    4 Answers

  • Nuri Amari
    Nuri Amari
    8,212 Points

    Properties Panel doesn't work

    Posted March 30, 2014 11:27pm by Nuri Amari
    Nuri Amari
    8,212 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    2 Answers

  • piyush arora
    piyush arora
    5,735 Points

    Properties of the button not changing!!

    Posted March 15, 2014 7:45pm by piyush arora
    piyush arora
    5,735 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    13 Answers

  • Peter Vakselis
    Peter Vakselis
    2,108 Points

    Windows 8- Having issues changing text size/color etc

    Posted March 7, 2014 4:31pm by Peter Vakselis
    Peter Vakselis
    2,108 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    1 Answer

  • Ranjini Krishnaswamy
    Ranjini Krishnaswamy
    1,612 Points

    Changing the button and text properties

    Posted February 27, 2014 11:09pm by Ranjini Krishnaswamy
    Ranjini Krishnaswamy
    1,612 Points
    • Android
    • Build a Simple Android App (retired 2014)
    • Pretty Little Things
    • Positioning Text Using a Linear Layout

    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