android - relativelayout space between its elements when background image is present -


i have relative layout background image (9patch). have set image background layout using xml. when add relative layout has buttons , textviews, there little space left before new layout. didnt set padding. tried setting padding top 0. if remove background image alignment proper no space left on top of new layout. have tried setting match parent , fill parent in new layout still space remains on top of it. space left little 3dp-5dp.

can suggest issue pls.

edit : space on top of new layout horizontally , have tried setting gravity top , top left.

the black pixels on top , left define stretch area of 9-patch, while pixels on bottom , right define fill area. guess have fill area defined not cover entire right , bottom edges.

here's guide.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -