Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Spinner Set dropdown text direction to RTL

How to set spinner dropdown text direction to rtl? I know for regular texts we can use android:textDirection="rtl" but it does not work for spinner dropdown text. Should I implement it in popup theme? How?

Thanks

like image 939
Saeed Vrz Avatar asked Dec 18 '22 19:12

Saeed Vrz


1 Answers

This will fix the issue.. enjoy

android:textAlignment="viewStart"
like image 113
nafees ahmed Avatar answered Feb 16 '23 10:02

nafees ahmed