summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-02-05 13:20:38 +0100
committerDanny Baumann <dannybaumann@web.de>2016-02-05 13:24:08 +0100
commit6b269d931319667d327c5a8f69bd1c2a877babe3 (patch)
tree20715127a6484835f173165fda22937cac4940f5 /main
parent3ebdb6482f3bab9423436e6b208963d5d7c07656 (diff)
Remove preference style override.
Doesn't serve a visually recognizable purpose, and causes the simple (non-list, -dialog, etc.) preference titles to be overly large on API 21+ due to the framework using a fallback to the non-material preference layout.
Diffstat (limited to 'main')
-rw-r--r--main/src/main/res/values/styles.xml10
1 files changed, 1 insertions, 9 deletions
diff --git a/main/src/main/res/values/styles.xml b/main/src/main/res/values/styles.xml
index a1723456..13d5e0b1 100644
--- a/main/src/main/res/values/styles.xml
+++ b/main/src/main/res/values/styles.xml
@@ -6,18 +6,10 @@
<resources>
<style name="blinkt.baseTheme" parent="android:Theme.DeviceDefault.Light" />
- <style name="blinkt" parent="blinkt.baseTheme" >
- <!-- Shared between Holo and Material -->
- <item name="android:preferenceStyle">@style/BlinktPreferencePanel</item>
- </style>
+ <style name="blinkt" parent="blinkt.baseTheme" />
<style name="blinkt.dialog" parent="android:Theme.DeviceDefault.Light.Dialog" />
- <!-- No margins or background by default. Not different for x-large screens -->
- <style name="BlinktPreferencePanel">
- <item name="android:background">@color/gelb</item>
- </style>
-
<style name="item">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>