Android Layout textview (Margin/padding) issue in Samsung Galaxy S3 Version 4.3 -


its kind of chat screen, textview contains image(9-patch image) background drawable. devices working perfectly. please refer image:

all devices in version 4.4 & version 5

problem encountered in android 4.3 in samsung s3, image(9-patch) unable take margin or padding textview. background image not getting stretch give margin. please refer image :

enter image description here

i have tried margin doesn't reflect in android 4.3. device specific or android 4.3 bug?

how can solve this?

when using 9-patch image background don't have set margin/padding inner view. content area of 9-patch defined in right , bottom 1 pixel stripe. yours image has content area set on of , results in behavior reffered in question.

try image correctly set content area:

enter image description here


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -