add padding to spinner text items
This commit is contained in:
parent
146b7fdc8d
commit
fb86bc2311
|
@ -45,7 +45,7 @@ class MainActivity : AppCompatActivity() {
|
||||||
|
|
||||||
manager = openEuiccApplication.euiccChannelManager
|
manager = openEuiccApplication.euiccChannelManager
|
||||||
|
|
||||||
spinnerAdapter = ArrayAdapter<String>(this, android.R.layout.simple_spinner_item)
|
spinnerAdapter = ArrayAdapter<String>(this, R.layout.spinner_item)
|
||||||
|
|
||||||
lifecycleScope.launch {
|
lifecycleScope.launch {
|
||||||
init()
|
init()
|
||||||
|
|
6
app/src/main/res/layout/spinner_item.xml
Normal file
6
app/src/main/res/layout/spinner_item.xml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:paddingHorizontal="10dp"
|
||||||
|
android:paddingVertical="8dp"/>
|
Loading…
Reference in a new issue