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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:54:51+00:00 2026-06-15T18:54:51+00:00

This is what i want to make for my textview. I have a 9

  • 0

folded corner

This is what i want to make for my textview. I have a 9 patch image here. But i have no idea how can i convert this png image into the folded corner background for the textview.Many of you may have faced this problem and came up with a solution. So, please share how did you solved yours.

  • 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-15T18:54:52+00:00Added an answer on June 15, 2026 at 6:54 pm

    Heres the solution for you:

        <TextView
        android:id="@+id/yourTextViewWidget"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@drawable/your_9_patch_image"
        android:paddingLeft="10dip"
        android:paddingRight="10dip"
        android:text="Testing News" />
    

    Let me expalain here: Setting the 9 patch image as the background of the textview and putting the padding to the textview will create the above image like background for your textview.

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

Sidebar

Related Questions

I have TextView and want to use setScaleX()/setScaleY() to make the text zoomable. But
Question: I have to create a tablet application. In this i want to make
I can't seem to find an answer on this and just want to make
I want to make this 1332251639632 to this 1332251639 I try this code, but
I want to make Activity like this using GridView. And this Activity have only
I have a screen with textviews now i want to make this editable on
I want to make my TextView vertically scrollable. I have read Making TextView Scrollable
I have a TextView and any text entered into the TextView can be saved
I have created a custom tab layout which look like this,I want to make
I want to make this hierarchy: <ul id=red class=treeview-red> <li><span>Item 1</span> <ul> <li><span>Item 1.0</span>

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.