Skip to main content

🚀 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
  • Ahmed SanaUllah
    Ahmed SanaUllah
    640 Points

    getIcon() vs mIcon in if-else block conditions

    Posted April 21, 2018 10:14pm by Ahmed SanaUllah
    Ahmed SanaUllah
    640 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    0 Answers

  • Festus Ifiti jr
    Festus Ifiti jr
    9,652 Points

    I'm getting a "can't resolve symbol 'clear day'" error? I've copied the weather images into the res folder. Any ideas?

    Posted February 20, 2018 5:52pm by Festus Ifiti jr
    Festus Ifiti jr
    9,652 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    0 Answers

  • Mohannad Hakmeh
    Mohannad Hakmeh
    1,772 Points

    clear_day does not show after R.drawable.

    Posted February 7, 2018 11:09am by Mohannad Hakmeh
    Mohannad Hakmeh
    1,772 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    2 Answers

  • tianranwang
    tianranwang
    3,740 Points

    What does this mean in my logcat? This appears ongoingly repeatedly, while my App is Running.

    Posted January 7, 2017 2:48am by tianranwang
    tianranwang
    3,740 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    0 Answers

  • Alex Londono
    Alex Londono
    2,033 Points

    I have a weird error. My program runs but the error still shows up.

    Posted December 16, 2016 11:29am by Alex Londono
    Alex Londono
    2,033 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    1 Answer

  • Mark Junge
    Mark Junge
    1,374 Points

    Pictures to the Android, not the project

    Posted October 18, 2016 9:32pm by Mark Junge
    Mark Junge
    1,374 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    1 Answer

  • aroshinemunasinghe
    aroshinemunasinghe
    5,649 Points

    How did Matt designed those icons?

    Posted June 30, 2016 11:41am by aroshinemunasinghe
    aroshinemunasinghe
    5,649 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    1 Answer

  • Derek Derek
    Derek Derek
    8,744 Points

    Cannot find the icon folder under Downloads

    Posted January 29, 2016 1:59pm by Derek Derek
    Derek Derek
    8,744 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    1 Answer

  • sam john
    sam john
    790 Points

    i dont have option "reveal in folder" when i am right clicking res folder

    Posted January 29, 2016 12:08pm by sam john
    sam john
    790 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    4 Answers

  • Kathleen Roberson
    Kathleen Roberson
    2,706 Points

    I can't drag widgets onto the phone mockup. Component Tree shows "customview" instead of the Relative View. Help!

    Posted November 29, 2015 4:13am by Kathleen Roberson
    Kathleen Roberson
    2,706 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    3 Answers

  • Ashish Mittal
    Ashish Mittal
    2,302 Points

    how to use the google map matrix api for calculating the distance between two points in java... a big treat is promise

    Posted September 15, 2015 9:08am by Ashish Mittal
    Ashish Mittal
    2,302 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    1 Answer

  • Lucas Atayde
    Lucas Atayde
    6,784 Points

    Alternative ways of getting the Icon Id?

    Posted June 29, 2015 7:24pm by Lucas Atayde
    Lucas Atayde
    6,784 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    4 Answers

  • Jessica Soruco
    Jessica Soruco
    5,843 Points

    I didn't quite get how did images suddenly become type int and can be accesed with R.mipmap.clear_day;

    Posted June 4, 2015 10:36pm by Jessica Soruco
    Jessica Soruco
    5,843 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    1 Answer

  • Pavel Razuvayev
    Pavel Razuvayev
    4,128 Points

    Why not switch statement?

    Posted March 9, 2015 1:58am by Pavel Razuvayev
    Pavel Razuvayev
    4,128 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    4 Answers

  • Evans Attafuah
    Evans Attafuah
    18,277 Points

    mipmap folders

    Posted March 3, 2015 11:59am by Evans Attafuah
    Evans Attafuah
    18,277 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    1 Answer

  • medev21
    medev21
    18,291 Points

    Drawable folders not displaying on Android mode (Project Pane)

    Posted February 18, 2015 11:25am by medev21
    medev21
    18,291 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    2 Answers

  • Slava Fleer
    Slava Fleer
    6,086 Points

    license question for images

    Posted February 9, 2015 8:04am by Slava Fleer
    Slava Fleer
    6,086 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    0 Answers

  • daviddavis3
    daviddavis3
    4,904 Points

    Setting the Weather Icon: Directions for dragging drawables for Windows?

    Posted February 7, 2015 1:26am by daviddavis3
    daviddavis3
    4,904 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting the Weather Icon

    9 Answers

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