mirror of
https://github.com/moparisthebest/k-9
synced 2024-10-31 15:45:08 -04:00
Make the folder selector use a new K9 dialog theme so it looks like a popup rather than the whole current app context
(This wouldn't be necessary, but the builtin dialog styles are broken for light themes before cupcake)
This commit is contained in:
parent
d1661ee1f5
commit
636127d6fb
@ -62,6 +62,7 @@
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.android.email.activity.ChooseFolder"
|
||||
android:theme="@style/Theme.K9Dialog"
|
||||
android:label="@string/choose_folder_title"
|
||||
>
|
||||
</activity>
|
||||
|
BIN
res/drawable/panel_separator.9.png
Normal file
BIN
res/drawable/panel_separator.9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 255 B |
BIN
res/drawable/popup_background.9.png
Normal file
BIN
res/drawable/popup_background.9.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
13
res/values/styles.xml
Normal file
13
res/values/styles.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<resources>
|
||||
<style name="Theme.K9Dialog" parent="@android:Theme.Light">
|
||||
<item name="android:windowFrame">@null</item>
|
||||
<item name="android:windowBackground">@drawable/popup_background</item>
|
||||
<item name="android:attr/windowTitleStyle">?android:attr/textAppearanceLargeInverse</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
|
||||
<item name="android:windowContentOverlay">@drawable/panel_separator</item>
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user