android - 9 patch issue with nexus 5 -


i have 9 patch image, here 9 patch image

now, i'm using background image relative layout this

<relativelayout     android:layout_width="match_parent"     android:layout_height="wrap_content"     android:background="@drawable/ae_bubble">      <textview         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:padding="8dp"         android:text="how satisfied in terms of aeroman performance regarding: tat, quality of work performed , aircraft appearance?"/>  </relativelayout> 

this give me next result in android studio preview using nexus 5 preview, perfect in center

android studio preview

but when run in nexus 5 emulator tip of arrow not centered, same real nexus 5 device

enter image description here

i have tried on device moto g emulator , real moto g device , tip perfect in center, can wrong on image bubble affecting nexus 5?, weird nexus 5 preview on android studio centered, can do?, help

fix final image worked

enter image description here

just checked image , should change 2 dots place. right in same postion last pixels of bottom line. try move them 1 pixel other each side.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -