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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:34:11+00:00 2026-06-08T12:34:11+00:00

I have problem with the corners tag. This is my shape file. <stroke android:width=1dp

  • 0

I have problem with the corners tag.

This is my shape file.

<stroke
    android:width="1dp"
    android:color="#ff999999" />

<size android:height="40dp" />

<gradient
    android:angle="90"
    android:centerColor="#f5f5f5"
    android:endColor="#fcfcfc"
    android:startColor="#efefef"
    android:type="linear" />

<corners
    android:bottomLeftRadius="0dip"
    android:bottomRightRadius="8dip"
    android:topLeftRadius="8dip"
    android:topRightRadius="0dip" />

But when I set it for view’s background. It display different shape in Android 2.2 and Android 4.0.3 .
When it is running on Android 4.0.3 :running on Android 4.0.3
And on Android 2.2 :Running on Android 2.2

Please see “ANNOUNCE” button.
Do you know why ? And how can I fix it ?
Please help me !
Sorry because my English is not really well.

  • 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-08T12:34:12+00:00Added an answer on June 8, 2026 at 12:34 pm

    This was a bug in pre-API 12 versions of the SDK, where the bottom left and bottom right radii were reversed. What you can do (and there is a lot more information at this link) is create a res/drawable-v12 folder, and copy these drawables into it with the radii reversed (i.e. bottom left radius becomes bottom right radius, and vice versa), and these drawables will be selected automatically for devices above API 12.

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

Sidebar

Related Questions

I have this problem with CSS round corners. The link to example is here:
Possible Duplicate: Standard Android Button with a different color I have 1 problem -
can anyone help? I have a problem aligning rounded corners in IE6/7. Basically everything
I am using CSS rounded corners for firefox and I have the following problem
I have problem with my query on C, I’m using the oci8 driver. This
Here is my problem. I have to round corners on a <a href=></a> but
I have two CSS files, pic off the problem: this pick shows no caps
i have the following shape <shape xmlns:android=http://schemas.android.com/apk/res/android android:shape=rectangle> <gradient android:angle=360 android:endColor=@color/LightBlue android:startColor=@color/DarkBlue/> <corners android:topRightRadius=10dp
I am in this situation: I have to do rounded corners and shadow for
I have this problem; I'm currently doing some modification on a web application that

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.