summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJordan Liu <jminjie@google.com>2017-12-20 21:38:33 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-12-20 21:38:33 +0000
commit7f6309695b1cd77df2fddded3036c6b49ed65552 (patch)
tree1beac49a75f7ec94ede2b9f1f28743b5e69db9b7 /res
parent1d99f06fb912fa43f8f15c1df120a195f9321584 (diff)
parent3f2beacf3d6cdf6bcc429c8642edbd1f1d162362 (diff)
downloadStk-7f6309695b1cd77df2fddded3036c6b49ed65552.tar.gz
Merge "The activity should not cover the background of the dialogs" am: e332eb0610
am: 3f2beacf3d Change-Id: I8b8aba9f3f89987b5556b682e56285aeebbe34ed
Diffstat (limited to 'res')
-rwxr-xr-xres/values/styles.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
new file mode 100755
index 0000000..a786fdc
--- /dev/null
+++ b/res/values/styles.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2017 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+ <style name="Transparent" parent="@android:style/Theme.Material.Light">
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowIsFloating">true</item>
+ <item name="android:backgroundDimEnabled">true</item>
+ <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
+ </style>
+</resources>