Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2015 The Android Open Source Project
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License.
     16 -->
     17 <resources>
     18 
     19     <style name="Theme.Design.BottomSheetDialog" parent="Theme.AppCompat.Dialog">
     20         <item name="android:windowBackground">@android:color/transparent</item>
     21         <item name="android:windowAnimationStyle">@style/Animation.Design.BottomSheetDialog</item>
     22         <item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
     23     </style>
     24 
     25     <style name="Theme.Design.Light.BottomSheetDialog" parent="Theme.AppCompat.Light.Dialog">
     26         <item name="android:windowBackground">@android:color/transparent</item>
     27         <item name="android:windowAnimationStyle">@style/Animation.Design.BottomSheetDialog</item>
     28         <item name="bottomSheetStyle">@style/Widget.Design.BottomSheet.Modal</item>
     29     </style>
     30 
     31     <style name="Theme.Design" parent="Theme.AppCompat">
     32         <item name="textColorError">@color/design_textinput_error_color_dark</item>
     33     </style>
     34 
     35     <style name="Theme.Design.Light" parent="Theme.AppCompat.Light">
     36         <item name="textColorError">@color/design_textinput_error_color_light</item>
     37     </style>
     38 
     39     <style name="Theme.Design.NoActionBar">
     40         <item name="windowActionBar">false</item>
     41         <item name="windowNoTitle">true</item>
     42     </style>
     43 
     44     <style name="Theme.Design.Light.NoActionBar">
     45         <item name="windowActionBar">false</item>
     46         <item name="windowNoTitle">true</item>
     47     </style>
     48 
     49 </resources>
     50