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 3239448
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:58:17+00:00 2026-05-17T17:58:17+00:00

The only available reproducible example I can find to share with the board is

  • 0

The only available reproducible example I can find to share with the board is the Android sample code NotePad, which is loaded into the IDE’s Package Explorer as ‘NotesList’.

I want to know why, in the package’s NoteEditor.java, LinedEditText (extended from EditText) can’t be renamed? In other words why can’t I rewrite this extended class as, say, “Lined_EditText” in the two lines where the word exists, in its class name and its constructor? They are the only two locations, as far as I can determine, where the words exist in the entire package.

(There is an org.hermit.android.widgets.LinedEditText at http://moonblink.googlecode.com/svn/trunk/HermitAndroid/doc/org/hermit/android/widgets/LinedEditText.html, but this NotePad sample in the Android SDK doesn’t import that class. The sample only imports android.widget.EditText .)

Thanks for any help.

  • 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-17T17:58:17+00:00Added an answer on May 17, 2026 at 5:58 pm

    That class is referenced from the layout file that describes the UI — http://developer.android.com/resources/samples/NotePad/res/layout/note_editor.html

    If you change the name of the Java class without the name the layout file uses, the layout will fail during inflation. You should see in the log an explicit error message about the inflate failing, it being unable to find the LinedEditText class, and what line this happened in.

    The NotePad sample doesn’t import the LinedEditText class you reference because… well, it is implementing its own LinedEditText right on the code. In fact the source you reference was probably just copied from the NotePad sample.

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

Sidebar

Related Questions

How can I get popover -like behavior in Snow Leopard? NSPopover is only available
The only real available library i could find was the Apache Commons Transaction Library
Since the ActionBar is available only in Android 3.0 and later, what is a
My app needs to use a library which is only available for Python and
I know that android.utils.Base64 is only available as of API level8, but I've also
My module currently imports the json module, which is only available in 2.6. I'd
How can I make the FileField only available to download for logged in users
I have a project in which there are many codes only available in determined
I am building an obscure application which is only available after an involved sign-up
I need to declare a global variable which is only available if a certain

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.