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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:25:41+00:00 2026-06-04T23:25:41+00:00

Previously i used the ADT10.0 . In this version i am not getting any

  • 0

Previously i used the ADT10.0 . In this version i am not getting any errors regarding styles. After i updated my ADT to 18.0. Now i got the following error.

error: Error retrieving parent for item: No resource found that matches the given name ‘@android:style/Widget.RatingBar.Small’.

How can I solve this? I saw somewhere to solve this import the styles using http://source.android.com/source/downloading.html but it’s not understandable please can any body help me?

<style name="reviewRatingBar1" parent="@android:style/Widget.RatingBar.Small" >

    <item name="android:progressDrawable">@drawable/review_rating_bar_full</item>
    <item name="android:minHeight">13dip</item>
    <item name="android:maxHeight">13dip</item>
</style>
  • 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-04T23:25:42+00:00Added an answer on June 4, 2026 at 11:25 pm

    According to the android.R.style documentation there isn’t a Widget.RatingBar.Small style (any longer), which appears to be the reason why Eclipse is giving you that error.

    Comparing the styles.xml files from e.g. API level 7 and 15 it appears that the style isn’t public anymore. If I try to reference it in Eclipse, I actually get an error message that confirms this

    Error: Resource is not public. (at ‘style’ with value ‘@android:style/Widget.RatingBar.Small’).

    As far as I can tell, there are several options you have here:

    1. Do as @havexz suggests and copy over the original style and referenced resources. Unfortunately, this will give your stars a fixed appearance on every device. In other words: you don’t get the ability to use theme-based resources from e.g. the device’s manufacturer and the stars will look different from what the user is used to.
    2. Reference style="?android:attr/ratingBarStyleSmall" when you declare the RatingBar. You can, however, not inherit from this theme-based style, so any customizations to the default ‘small’ style will have to be copied over to all your other small rating bars.
    3. If you target Honeycomb or above devices, you could refer to Widget.Holo.RatingBar.Small or Widget.Holo.Light.RatingBar.Small. You probably design your app against either one, so you’ll know at design time which style to inherit from.
    4. It appears you limit the height of the small RatingBar further down anyhow, so you may be able to get away with just inheriting from the regular RatingBar style?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used this code previously in netbeans 6.9.1 but it does not seem to
Previously i have used oracle 10g version . but today i uninstalled oracle 10g
In my perl code I've previously used the following two styles of writing which
I've previously used a CookieContainer with HttpWebRequest and HttpWebResponse sessions, but now, I want
I have previously used XML based configuration for my Spring app. Now, I want
I'm currently working on a project where we previously used Django. However this proved
Greetings I may have imagined this but does anyone know if Last.fm previously used
Hi I've previously used this very simple php contact script with success though when
i have previously used datatable pagination and it worked as a charm. This time
We're using MSpec for unit tests after having previously used MbUnit. I'm used to

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.