forked from organicmaps/organicmaps
Fix for non-clickable lists.
This commit is contained in:
parent
e619d29e14
commit
3dfa934956
3 changed files with 37 additions and 2 deletions
|
@ -24,4 +24,20 @@
|
|||
<item name="android:windowAnimationStyle">@android:style/Animation</item>
|
||||
<item name="clickableBackground">?android:attr/selectableItemBackground</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmList" parent="android:Widget.Holo.ListView">
|
||||
<item name="android:fadingEdge">none</item>
|
||||
<item name="android:divider">@drawable/divider_medium_padded</item>
|
||||
<item name="android:dividerHeight">1px</item>
|
||||
<item name="android:background">@android:color/white</item>
|
||||
<item name="android:animationCache">false</item>
|
||||
<item name="android:scrollingCache">false</item>
|
||||
<item name="android:cacheColorHint">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmText" parent="android:Widget.Holo.TextView">
|
||||
<item name="android:fontFamily">@string/robotoRegular</item>
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
19
android/res/values-v21/styles.xml
Normal file
19
android/res/values-v21/styles.xml
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="MwmList" parent="android:Widget.Material.ListView">
|
||||
<item name="android:fadingEdge">none</item>
|
||||
<item name="android:divider">@drawable/divider_medium_padded</item>
|
||||
<item name="android:dividerHeight">1px</item>
|
||||
<item name="android:background">@android:color/white</item>
|
||||
<item name="android:animationCache">false</item>
|
||||
<item name="android:scrollingCache">false</item>
|
||||
<item name="android:cacheColorHint">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmText" parent="android:Widget.Material.TextView">
|
||||
<item name="android:fontFamily">@string/robotoRegular</item>
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
|
@ -127,7 +127,7 @@
|
|||
<item name="android:background">@color/base_green</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmList" parent="android:Widget.Material.ListView">
|
||||
<style name="MwmList" parent="android:Widget.ListView">
|
||||
<item name="android:fadingEdge">none</item>
|
||||
<item name="android:divider">@drawable/divider_medium_padded</item>
|
||||
<item name="android:dividerHeight">1px</item>
|
||||
|
@ -137,7 +137,7 @@
|
|||
<item name="android:cacheColorHint">@android:color/transparent</item>
|
||||
</style>
|
||||
|
||||
<style name="MwmText" parent="android:Widget.Material.TextView">
|
||||
<style name="MwmText" parent="android:Widget.TextView">
|
||||
<item name="android:fontFamily">@string/robotoRegular</item>
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue