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:
Jesse Vincent 2009-04-21 10:43:18 +00:00
parent d1661ee1f5
commit 636127d6fb
4 changed files with 14 additions and 0 deletions

View File

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

13
res/values/styles.xml Normal file
View 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>