summaryrefslogtreecommitdiffstats
path: root/res/values/FloatingStyle.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/values/FloatingStyle.xml')
-rw-r--r--res/values/FloatingStyle.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/values/FloatingStyle.xml b/res/values/FloatingStyle.xml
new file mode 100644
index 0000000..0d4d2f2
--- /dev/null
+++ b/res/values/FloatingStyle.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <style name="Floating">
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:background">@android:color/transparent</item>
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:windowNoTitle">true</item>
+ </style>
+
+ <!-- These could have just been put in the above theme but I thought
+ I would separate them out so I would remember this trick hopefully -->
+ <style name="Floating.NoTitleBar">
+ <item name="android:windowNoTitle">true</item>
+ </style>
+
+ <style name="Floating.NoTitleBar.Fullscreen">
+ <item name="android:windowFullscreen">true</item>
+ <item name="android:windowContentOverlay">@null</item>
+ </style>
+</resources> \ No newline at end of file