Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Android Programming with Android Studio, Fourth Edition
This is the forum to discuss the Wrox book Beginning Android Programming with Android Studio, Fourth Edition by Jerome F. DiMarzio; ISBN: 978-1-118-70559-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Programming with Android Studio, Fourth Edition section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 2nd, 2017, 04:51 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Chapter 3: Dialog Window Code not working

I refer to the code example in the book, where the following line shows in red: The DialogActivity example includes the line:

Code:
Toolbar toolbar = (Toolbar)findViewById(R.id.toolbar);
This line shows the toolbar identifier in red, because it is not recognized. All searches I have done have a simple restart or clean and rebuild as the solution, but not for my instance of this problem. I have tried about 4 suggested remedies already with no solution.

I only have about 1 month Java and Android studio experience, so please forgive me if this is a stupid or often asked question.

I suspect I need to add a reference to something in the project; that normally solves unknown identifiers, but I have no idea where or how, or even what they're really called, to find these references.

Last edited by brady@bradykelly.net; December 2nd, 2017 at 04:55 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2: Displaying a Dialog Window Using and Activity ethomps2 BOOK: Beginning Android Application Development 1 August 3rd, 2012 06:39 PM
Chapter 4: Split Window Code GeezerRoy BOOK: Beginning iPad Application Development 1 August 30th, 2010 08:47 AM
Communication between a parent window and a modal dialog window swizz182g Javascript 0 August 27th, 2009 04:41 PM
Working Code for Chapter 4 clomby BOOK: Professional PHP 5 ISBN: 978-0-7645-7282-1 1 December 26th, 2005 05:44 AM
Modal dialog window eldanh ASP.NET 1.0 and 1.1 Basics 0 August 10th, 2004 02:07 PM



All times are GMT -4. The time now is 07:52 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.