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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:19:21+00:00 2026-05-31T22:19:21+00:00

From what I read elsewhere , the compiler error No resource identifier found for

  • 0

From what I read elsewhere, the compiler error “No resource identifier found” for custom attributes goes away when you change the namespace for an included project to: xmlns:si=”http://schemas.android.com/apk/lib/com.my.base.project” instead of “xmlns:si=”http://schemas.android.com/apk/res/com.my.base.project”

This still doesn’t solve the problem of actually reading the custom attribute’s value. From a non project context. The control just gets the default value. Any ideas to get this working?

In my application I use this custom attribute like so in a layout XML file:

<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:si="http://schemas.android.com/apk/lib/com.my.base.project">
       <com.my.base.project.view.CustomView
            si:collapsedHeight="100dp">
       </com.my.base.project.view.CustomView>
</merge>
  • 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-31T22:19:22+00:00Added an answer on May 31, 2026 at 10:19 pm

    From the release notes:

    Added support for custom views with custom attributes in libraries.
    Layouts using custom attributes must use the namespace URI
    http://schemas.android.com/apk/res-auto instead of the URI that
    includes the app package name. This URI is replaced with the app
    specific one at build time.

    They marked it as “released” with SDK Tools, Revision 17 (March 2012).

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

Sidebar

Related Questions

From what I've read elsewhere, Apple recommends multiple versions of every graphical asset, so
I read from some books that Phusion Passenger is the answer to easy Ruby
From what I've read from Herb Sutter and others you would think that volatile
History: I read from one of Knuth's algorithm book that first computers used the
I have read from some article that say's Apple doesn't approve the application which
I need to read from a variety of different text files (I've some delimited
How would I read from an Excel sheet and load the marked selection (Area)
I want to read from stdin five numbers entered as follows: 3, 4, 5,
I need to read from and write to Excel spreadsheets using Delphi 2010. Nothing
I have a string read from another source such as \b\bfoo\bx. In this case,

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.