view - Android - draw9patch should help me? background of textview -


i need set background of textview without stretching this: enter image description here

i tried draw9patch seems doesn't work. how can reach efect? use imageview, don't know how can add text in imageview (i cannot use layout or 2 views... image , text need in 1 view)

i think should use drawableleft :

  <edittext             android:id="@+id/question_text"             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:hint=" question"             android:drawableleft="@drawable/ic_menu_info_details"             android:layout_weight="1"             android:singleline="true" /> 

Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -