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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:25:37+00:00 2026-06-15T08:25:37+00:00

The nine patch line are being shown when I’m running it on the actual

  • 0

The nine patch line are being shown when I’m running it on the actual device. Previewing the xml file on eclipse works just fine, no black line on top and bottom of my image. However running in on actual device, the line is being shown.

I’ve already tried editing it in drawninepatch. The filename includes .9, and I’ve already tried setting the padding to 0dp. BTW, I’m setting the background of a TextView here.

Sorry, here goes:

enter image description here

  • 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-15T08:25:38+00:00Added an answer on June 15, 2026 at 8:25 am

    you draw only top line. No left line.

    for nine patch top and left lines are must. If you do not want to scale left line then just make it complete. You can not leave it empty.

    Right and bottom are optional. But if you seting content padding for Right, then to draw line for bottom is must!

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

Sidebar

Related Questions

My nine patch ImageButtons are showing nine patch -Lines (There is dotted line on
I have designed an xml file contain nine images i.e.., 3 rows each row
I have a textview and a nine-patch image. Assigning this image in the xml
according to this description I just created an nine-patch image. I named it androidRow.9.png
I am trying to use a nine patch image as a background in an
Android has a nice way of defining stretchable images called a nine-patch. See these
I use several nine patch images in my layout, for buttons, text fields and
I want to put two images together (a nine-patch image with icon), So that
This is the first time i use nine-patch image on my android app. It
I want to paint a Nine Patch into a Bitmap (filling all the space

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.