Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6869091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:30:54+00:00 2026-05-27T03:30:54+00:00

I am learning Android from Notepad tutorial and one thing confuses me. Since Notepad2

  • 0

I am learning Android from Notepad tutorial and one thing confuses me. Since Notepad2 in file notes_list.xml is used + with definition of id resource:

<ListView android:id="@+id/android:list"
<TextView android:id="@+id/android:empty"

But from what I have read + sign is nnecessary only when defining new resource and list and empty is not new, but it is provided by android. So why did they used + sign then? If you delete program runs anyway.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:30:54+00:00Added an answer on May 27, 2026 at 3:30 am

    Probably habit or copy/paste. 🙂

    You’re correct in that you don’t need it, the @+id/ syntax will define a new id if one with that name didn’t already exist. Since the Android framework ids android.R.id.list and android.R.id.empty exist as part of the public SDK the two forms are functionally equivalent here. It’s slightly better for clarity/style to omit the + for framework ids since it avoids the confusion shown here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As part of learning android, I am following the NotePad tutorial One thing I
I'm learning about using Custom Views from the following: http://developer.android.com/guide/topics/ui/custom-components.html#modifying The description says: Class
I'm coming from Android and now I'm learning for Blackberry. In Android to access
I'm learning the Android api from a book, and it seems like there isn't
I am working on learning Android. From the documents I have read so far
I'm learning Android (ironically from a cross of the developer site from Google and
I've been learning Android and Phonegap development from mainly these two sources: http://news.softpedia.com/news/How-to-Run-Android-Applications-on-Ubuntu-115152.shtml http://wiki.phonegap.com/w/page/30862722/phonegap-android-eclipse-quickstart
Update: This post was from when I was learning android with android 2.2, be
I've been learning and building an Android application from scratch and I've hit a
I've started learning Android development and am following a todolist example from a book:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.