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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:14:09+00:00 2026-06-04T20:14:09+00:00

I am creating an Android keyboard with Eclipse. I want to implement popup keyboards

  • 0

I am creating an Android keyboard with Eclipse. I want to implement popup keyboards which show up when you long press a key.

Therefore I assigned the

android:popupKeyboard="@xml/a_popup"

property to the key-tag and created a popup keyboard under “res/xml/a_popup.xml”

That works fine, but since I want a lot of different popup keyboards and I don’t want them all to be directly in “res/xml/”, so I moved the “a_popup.xml” file to “res/xml/popup_keyboards/”

But now I can’t make a reference to the xml-file any more from my popupKeyboard-property by saying

android:popupKeyboard="@xml/popup_keyboards/a_popup"

If I do so, I get the message, that there is no resource which matches the given name. There is also no entry in the R.java file, although I cleaned the project.

I also tried to reference the popup keyboard by an ID but then I get a ResourcesNotFound Exception everytime I longpress the button.

Has anybody an idea why this happens?

  • 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-06-04T20:14:11+00:00Added an answer on June 4, 2026 at 8:14 pm

    You can’t use nested lists in resources in Android. “res/xml/popup_keyboards/” – it’s wrong, you can’t create directories under xml dir, only files.

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

Sidebar

Related Questions

I followed these two exemples of developer.android (Creating an Input Method, Soft Keyboard sample).
I'm creating an Android app which must do some web surfing in the background
I'm creating an Android chat application. I want chat screen to include features like
I am creating an android application in which I am using table layout in
I am looking into creating custom keyboard for Android, but I would like to
I am creating an Android application which will have some embedded music inside of
I'm creating a Android application which uses a Switch . I'm trying to listen
I'm new in creating android app using eclipse. I am planning to create an
I'm creating an android application. It compiles well and eclipse does not spot any
I am creating an android application which has to execute web requests in the

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.