Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spinner Default Theme to EditText android

I have EditText and I want it to be shown in the same theme of Spinner , with background and arrow because I have made this EditText Clickable and it is open a custom popup

like image 693
Amira Elsayed Ismail Avatar asked Feb 06 '13 09:02

Amira Elsayed Ismail


1 Answers

Use the following style in your EditText: style="?android:attr/spinnerStyle"

For example:

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

like image 115
aMiGo Avatar answered Nov 08 '22 12:11

aMiGo