Please is there any easy way to style select inputs on android to get close to the look and feel of selects as seen in the SworkIt app? Or is there a plugin to achieve that? Have tried to reach out to Ryan, the SworkIt developer to get his views but haven’t got his feedback yet.
Please @gylippus, another quick question would be - did you have to set up all the three custom theme directories mentioned on that Stack Overflow page?
You will have 3 values folders as you can see in this image. “values”, “values-v11”, “values-v14”
Each of those will have a themes.xml file:
“value”:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomTheme" parent="@android:style/Theme.NoTitleBar">
<!-- Any customizations for your app running on pre-3.0 devices here -->
</style>
</resources>
“value-v11”
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomTheme" parent="@android:style/Theme.Holo">
<!-- Any customizations for your app running on 3.0+ devices here -->
</style>
</resources>
“value-v14”
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomTheme" parent="@android:style/Theme.DeviceDefault.NoActionBar">
<!-- Any customizations for your app running on 4.0+ devices here -->
</style>
</resources>
then don’t miss the part where you need to add the references to the CustomTheme to your AndroidManifest.xml
Thank you for sharing the details, @gylippus. I have been able to get my select inputs looking like yours (with the native Holo theme). Now trying to go a step further and style the background color of the selected item/option.