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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:39:39+00:00 2026-06-17T05:39:39+00:00

I want to implement this image area textbox1 and textbox2 ninepatch able how can

  • 0

I want to implement this image
enter image description here

area textbox1 and textbox2 ninepatch able

enter image description here

how can I ninepatch exactly this ??

  • 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-17T05:39:40+00:00Added an answer on June 17, 2026 at 5:39 am

    There is one constraint with android 9-patch : the content area defined by right and bottom borders must be continuous (i.e. you can only have one segment on right and bottom border).

    On the other hand you can have multiple stretchable area defined by segments on the top and left borders.

    In your case :

    for the stretchable areas :

    • draw one segment on the left border

    • draw two segments (of the same lenght) on top border (symetric around the vertical divider but don’t include the vertical divider in them).

    for the content area:

    • draw one segment on bottom border
    • draw one segment on the right border

    For the content:

    • define a horizontal linear layout with 2 TextView in it (width = 0dp and weight = 1.0 for both)
    • use your nine patch image as background

    Hope this help.

    —————————————————————————-

    Result :

    I use your plan but result is this
    enter image description here

    when my text increase Textbox height don’t increase

    how can fix that ?

    —————————————————————————-

    I don’t think it’s linked to the 9-patch image. It’s more likely related to the textView.

    try : on the textView

    android:layout_height="WRAP_CONTENT"
    

    on the linear layout

    android:layout_height="WRAP_CONTENT"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to implement this image area textview 1 to textview 9 ninepatch able
I want to implement this view But I have one question: The text which
I want to implement this JSF page with pagination and sorting. Unfortunately Netbeans shows
First, I know about Clog , and I do not want to implement this
given this class definition: public class Frame { IFrameStream CapturedFrom; } I want implement
i starter in jqgrid, i want implement inline edit in jqgrid i have this
I have this algorithm that I want to implement on VB6. Sub Main() dim
I want to implement tomb-stoning in my WP7 app and this app is not
This is the feature i want to implement: check a tree node by click
This is the class I want to implement the onClickListener in: private void updateUserListView(DatabaseHandler

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.