🤑 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
  • 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.

    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.