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.
Comments
Post a Comment