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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:13:13+00:00 2026-05-22T01:13:13+00:00

I am truly stumped. I followed this link in learning how to create custom

  • 0

I am truly stumped. I followed this link in learning how to create custom xml tags for my views. Well as far as I can tell I did everything correctly. But eclipse still tosses error: No resource identifier found for attribute 'radius' in package 'com.theliraeffect.fantasy'

Can you guys take a look?

hexmap.xml

<com.theliraeffect.fantasy.HexMap xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:hexmap="http://schemas.android.com/apk/res/com.theliraeffect.fantasy"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  hexmap:radius="3"/>

attrs.xml

<resources>
    <declare-styleable name="HexMap">
        <attr name="radius"/>
    </declare-styleable>

</resources>

Just in case (although I doubt it has anything to do with it).

package com.theliraeffect.fantasy;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.View;

public class HexMap extends View {

    HexMap(Context context, AttributeSet attrs, int defstyle) {
        super(context, attrs, defstyle);
        TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.hexmap);

        a.recycle();
    }
}
  • 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-22T01:13:14+00:00Added an answer on May 22, 2026 at 1:13 am

    @Harism – Thanks, that was it. I thought that integer was a default setting and didn’t need specification. It works now. If you change your comment to an answer, I will give you the credit.

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

Sidebar

Related Questions

reversehttp.net offers little immediate insight into what reversehttp truly is and how this can
I'm truly stumped. I've tried every tool imaginable, checked every resource I can, and
Ok, i'm well and truly stumped here. I've written extension methods before, and never
Can I really and truly trust .NET to initialize fields (like ints, structs and
I want to learn how to create truly robust applications in .net - ones
This is my first time truly working with composite keys. I have a record
There's a truly a lot of questions that seem similar to this on SO,
Switching to custom generated device UUID's is turning out to truly be a nightmare!
This is probably a truly basic thing that I'm simply having an odd time
This is something I never truly understood in Java. Lets say I have: int

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.