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

🤑 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

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

  • 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
    • Showing results for:
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs
    • Close
  • Arkadiusz Paluszek
    Arkadiusz Paluszek
    1,340 Points

    View cannot be converted to button

    Posted on Aug 2, 2022 by Arkadiusz Paluszek
    Arkadiusz Paluszek
    1,340 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    0 Answers

  • Derek Lam
    Derek Lam
    1,012 Points

    exterminateButton

    Posted on Apr 19, 2021 by Derek Lam
    Derek Lam
    1,012 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    2 Answers

  • Nkosinolwazi Moyo
    Nkosinolwazi Moyo
    9,588 Points

    Please help

    Posted on Aug 17, 2019 by Nkosinolwazi Moyo
    Nkosinolwazi Moyo
    9,588 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    2 Answers

  • Nkosinolwazi Moyo
    Nkosinolwazi Moyo
    9,588 Points

    Find view by Id

    Posted on Aug 14, 2019 by Nkosinolwazi Moyo
    Nkosinolwazi Moyo
    9,588 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    3 Answers

  • Ajinkya Jadhav
    PLUS
    Ajinkya Jadhav
    Courses Plus Student 151 Points

    The ID for the button is button1. Don't forget to cast the generic View returned by the method!

    Posted on Apr 5, 2019 by Ajinkya Jadhav
    Ajinkya Jadhav
    Courses Plus Student 151 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • Denzel Whittaker
    PLUS
    Denzel Whittaker
    Courses Plus Student 623 Points

    I'm confused. What am I missing?

    Posted on Oct 13, 2018 by Denzel Whittaker
    Denzel Whittaker
    Courses Plus Student 623 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    0 Answers

  • leo mutombwa
    leo mutombwa
    657 Points

    FindViewById

    Posted on Oct 3, 2018 by leo mutombwa
    leo mutombwa
    657 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    2 Answers

  • Eliran Elgozi
    Eliran Elgozi
    673 Points

    Why there are no clues to help knowing the steps we should take?! I'm stuck and I can't proceed.

    Posted on Jul 14, 2018 by Eliran Elgozi
    Eliran Elgozi
    673 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • Filipe Madureira
    Filipe Madureira
    703 Points

    I dont get what i did wrong?

    Posted on Jul 4, 2018 by Filipe Madureira
    Filipe Madureira
    703 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    0 Answers

  • JOSEPHINE MUFOWO
    PLUS
    JOSEPHINE MUFOWO
    Courses Plus Student 158 Points

    Initializing button

    Posted on Mar 2, 2018 by JOSEPHINE MUFOWO
    JOSEPHINE MUFOWO
    Courses Plus Student 158 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • JOSEPHINE MUFOWO
    PLUS
    JOSEPHINE MUFOWO
    Courses Plus Student 158 Points

    Initialize

    Posted on Mar 2, 2018 by JOSEPHINE MUFOWO
    JOSEPHINE MUFOWO
    Courses Plus Student 158 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • Xdreme Gaming
    Xdreme Gaming
    638 Points

    I forgot how to initialize findViewById. Can someone please help me. Thanks

    Posted on Nov 4, 2017 by Xdreme Gaming
    Xdreme Gaming
    638 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • Riya Prasannan
    Riya Prasannan
    806 Points

    The ID for the button, button1

    Posted on Oct 11, 2017 by Riya Prasannan
    Riya Prasannan
    806 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    2 Answers

  • Darrell Young
    Darrell Young
    230 Points

    Hi, I need help the complier is giving me a error message and I don't understand.

    Posted on Oct 1, 2017 by Darrell Young
    Darrell Young
    230 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • hazem ibrahim
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    hazem ibrahim
    Android Development Techdegree Student 186 Points

    i need help for programming .i cant

    Posted on Aug 31, 2017 by hazem ibrahim
    .a{fill-rule:evenodd;}techdegree
    hazem ibrahim
    Android Development Techdegree Student 186 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points

    My findViewById doesn't work.

    Posted on Jul 18, 2017 by Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    2 Answers

  • Bro Winchester
    Bro Winchester
    479 Points

    can someone look at my code and tell me where i am going wrong with this challenge?

    Posted on Jun 19, 2017 by Bro Winchester
    Bro Winchester
    479 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    2 Answers

  • Olha Markova
    Olha Markova
    2,050 Points

    I have difficulties with the code

    Posted on Jun 12, 2017 by Olha Markova
    Olha Markova
    2,050 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    2 Answers

  • Jorge Ponce
    Jorge Ponce
    2,252 Points

    I don't no why don't accept my answer .

    Posted on May 30, 2017 by Jorge Ponce
    Jorge Ponce
    2,252 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    1 Answer

  • Jonathan Barnthouse
    Jonathan Barnthouse
    2,801 Points

    Having trouble with this task, looking for exact code to complete so I can learn.

    Posted on May 19, 2017 by Jonathan Barnthouse
    Jonathan Barnthouse
    2,801 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    3 Answers

  • Darryl Wonge
    Darryl Wonge
    2,514 Points

    I need help with findViewId() Code Challenge!

    Posted on Apr 13, 2017 by Darryl Wonge
    Darryl Wonge
    2,514 Points
    • Android
    • Build an Interactive Story App
    • User Input
    • Finding Views by IDs

    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.