2013-02-06 15 views

Odpowiedz

0

sprawdzić ten out:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    android:orientation="vertical" > 

    <EditText 
     android:id="@+id/editText1" 
     android:layout_width="match_parent" 
     android:layout_height="wrap_content" 
     android:ems="10" 
     android:drawableRight="@drawable/apple"> 

     <requestFocus /> 
    </EditText> 

</LinearLayout> 
20

używać następujących stylu w swoim EditText: style="?android:attr/spinnerStyle"

na przykład:

<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="?android:attr/spinnerStyle" />

+0

Łatwo i dokładnie to, czego szukałem. Dzięki! – David