in Education by
I want to create some kind of row image that looks like that but I want it to scale with the screen size and density. So reading this http://developer.android.com/guide/developing/tools/draw9patch.html and this http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch I startet creating a Nine-patch image. But when I import it and use it in my android project it looks like that As you can see the little black line that was drawn with the draw 9 patch tool is still visible. Why? Here is the 9.png image JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Are you using the draw9patch tool that comes with the sdk? it is quite handy. Anyway: It is vital that every pixel except the black ones are completely transparent. The black pixels should be at the absolute top/bottom/left/right of the image. The image should be named filename.9.png.

Related questions

0 votes
    What is nine-patch images tool in android?...
asked Jan 14, 2021 in Technology by JackTerrance
0 votes
    I am trying to patch two functions within the Chosen jQuery library, however, no matter what I have tried ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    In Subversion, is it possible for the users to apply a patch directly in a subsection without taking the entire document into consideration?...
asked Feb 18, 2021 in Technology by JackTerrance
0 votes
    Which of these sentences use uppercase letters correctly? (a) I am Hungry (b) She lives in Delhi. (c) The ... and sunil are reading. Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Which of these sentences use uppercase letters correctly? a) I am Hungry. b) Divya and Sunil are reading. c) ... She lives in Delhi. Select the correct answer from above options...
asked Nov 13, 2021 in Education by JackTerrance
0 votes
    An urn contains nine balls of which three are red, four are blue and two are green. Three balls are drawn at random ... 1/3 D. 2/7 Select the correct answer from above options...
asked Nov 16, 2021 in Education by JackTerrance
0 votes
    The digits 1,2,3,4,5,6,7,8 and 9 are written in random order to form a nine digit number. The probability that this ... 2 9 2 D. 7 9 7 Select the correct answer from above options...
asked Nov 15, 2021 in Education by JackTerrance
0 votes
0 votes
    I have some trouble to correctly embed images in html/php email. My .php file just sends out a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I have some trouble to correctly embed images in html/php email. My .php file just sends out a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    When I plot densities with ggplot, it seems to be very wrong around the limits. I see that geom_density ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
...