Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /**
      4  * Copyright (C) 2014 The Android Open Source Project
      5  *
      6  * Licensed under the Apache License, Version 2.0 (the "License");
      7  * you may not use this file except in compliance with the License.
      8  * You may obtain a copy of the License at
      9  *
     10  *     http://www.apache.org/licenses/LICENSE-2.0
     11  *
     12  * Unless required by applicable law or agreed to in writing, software
     13  * distributed under the License is distributed on an "AS IS" BASIS,
     14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15  * See the License for the specific language governing permissions and
     16  * limitations under the License.
     17  */
     18 -->
     19 <resources>
     20 
     21     <style name="SetupWorkSpaceTheme" parent="SuwThemeMaterial.Light" >
     22         <item name="android:windowActionBar">false</item>
     23         <item name="android:windowNoTitle">true</item>
     24         <item name="android:colorPrimary">@color/orange</item>
     25         <item name="android:colorAccent">@color/accent</item>
     26         <item name="android:colorPrimaryDark">@color/orange</item>
     27         <item name="android:windowBackground">@color/gray_50</item>
     28         <item name="android:indeterminateTint">@color/teal</item>
     29         <item name="android:windowLightStatusBar">true</item>
     30         <item name="android:statusBarColor">@color/white</item>
     31     </style>
     32     <style name="TextOrCheckBox">
     33         <item name="android:textColor">@color/text_black</item>
     34         <item name="android:textSize">@dimen/main_text_size</item>
     35         <item name="android:layout_width">match_parent</item>
     36         <item name="android:layout_height">wrap_content</item>
     37         <item name="android:lineSpacingMultiplier">1.2</item>
     38     </style>
     39 
     40     <style name="MainText" parent="TextOrCheckBox">
     41         <item name="android:paddingTop">@dimen/main_text_padding_between_text</item>
     42     </style>
     43 
     44     <style name="CheckBox" parent="TextOrCheckBox">
     45         <item name="android:layout_marginTop">@dimen/checkbox_margin_top</item>
     46         <!-- Space between the checkbox itself and the text -->
     47         <item name="android:paddingLeft">@dimen/checkbox_padding_left</item>
     48     </style>
     49 
     50     <style name="TransparentButton" parent="@android:style/Widget.Material.Button.Borderless.Colored">
     51         <item name="android:layout_width">wrap_content</item>
     52         <item name="android:layout_height">wrap_content</item>
     53         <item name="android:gravity">center</item>
     54         <item name="android:textSize">@dimen/button_text_size</item>
     55         <item name="android:fontFamily">sans-serif-medium</item>
     56         <item name="android:background">@color/transparent</item>
     57         <item name="android:textAllCaps">true</item>
     58     </style>
     59 
     60     <style name="MainTextContainer">
     61         <item name="android:layout_width">match_parent</item>
     62         <item name="android:layout_height">match_parent</item>
     63         <item name="android:paddingBottom">@dimen/main_text_padding_bottom</item>
     64         <item name="android:paddingLeft">@dimen/main_text_padding_left_right</item>
     65         <item name="android:paddingRight">@dimen/main_text_padding_left_right</item>
     66         <item name="android:paddingTop">@dimen/main_text_padding_top</item>
     67         <item name="android:textSize">@dimen/main_text_size</item>
     68         <item name="android:textColor">@color/text_black</item>
     69         <item name="android:lineSpacingMultiplier">1.2</item>
     70     </style>
     71 
     72     <style name="DialogFragmentTextContainer">
     73         <item name="android:layout_width">@dimen/dialog_fragment_width</item>
     74         <item name="android:layout_height">wrap_content</item>
     75         <item name="android:orientation">vertical</item>
     76         <item name="android:background">@color/white</item>
     77         <item name="android:paddingBottom">@dimen/dialog_text_padding_bottom</item>
     78         <item name="android:paddingTop">@dimen/dialog_text_padding_top</item>
     79         <item name="android:textSize">@dimen/main_text_size</item>
     80         <item name="android:layout_marginTop">@dimen/dialog_fragment_margin_top_bottom</item>
     81         <item name="android:layout_marginBottom">@dimen/dialog_fragment_margin_top_bottom</item>
     82     </style>
     83 
     84     <style name="DialogFragmentScrollView" parent="@android:style/Widget.Material.Light.ScrollView">
     85         <item name="android:layout_width">match_parent</item>
     86         <item name="android:paddingLeft">@dimen/dialog_text_padding_left_right</item>
     87         <item name="android:paddingRight">@dimen/dialog_text_padding_left_right</item>
     88         <item name="android:fadeScrollbars">false</item>
     89         <item name="android:scrollbarStyle">outsideOverlay</item>
     90     </style>
     91 
     92     <style name="ManagedProvisioningDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
     93       <item name="android:windowFullscreen">true</item>
     94       <item name="android:windowNoTitle">true</item>
     95       <item name="android:windowBackground">@color/transparent</item>
     96       <!-- Color for checked checkbox -->
     97       <item name="android:colorControlActivated">@color/orange</item>
     98       <!-- Color for enabled button -->
     99       <item name="android:colorAccent">@color/accent</item>
    100     </style>
    101 </resources>
    102