<?xml version="1.0" encoding="utf-8"?>
<!--
   Zirco Browser for Android
  
   Copyright (C) 2010 - 2011 J. Devauchelle and contributors.
 
   This program is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License
   version 3 as published by the Free Software Foundation.
 
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
-->

<resources>

  <style name="Widget.Shadow.Switch" parent="@style/Widget.Holo.CompoundButton.Switch">
    <item name="switchTextAppearance">@android:style/TextAppearance.Small.Inverse</item>
  </style>

  <!-- Variation on the Light theme that turns off the title -->
  <style name="Theme.Shadowsocks" parent="@style/Theme.Shadow">
    <item name="switchStyle">@style/Widget.Shadow.Switch</item>
    <item name="menuDrawerStyle">@style/MenuDrawerStyle</item>
  </style>

  <style name="Theme.AppManager" parent="@style/Theme.Shadow">
    <item name="switchStyle">@style/Widget.Holo.Light.CompoundButton.Switch</item>
  </style>

  <style name="MenuDrawer"/>

  <style name="MenuDrawer.Widget"/>

  <style name="MenuDrawer.Widget.Category">
    <item name="android:textStyle">bold</item>
    <item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
    <item name="android:textSize">14sp</item>
    <item name="android:textAllCaps">true</item>

    <item name="android:gravity">center_vertical</item>
    <item name="android:paddingLeft">16dp</item>
    <item name="android:background">@drawable/md__category_background</item>

    <item name="android:singleLine">true</item>
    <item name="android:ellipsize">end</item>
  </style>

  <style name="MenuDrawer.Widget.Title">
    <item name="android:background">@drawable/md__list_selector_holo_dark</item>
    <item name="android:textAppearance">?android:attr/textAppearance</item>
    <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
    <item name="android:textSize">18sp</item>
    <item name="android:paddingLeft">16dp</item>
    <item name="android:paddingRight">32dp</item>
    <item name="android:paddingTop">8dp</item>
    <item name="android:paddingBottom">8dp</item>
    <item name="android:drawablePadding">16dp</item>
    <item name="android:gravity">center_vertical</item>
  </style>

  <style name="MenuDrawerStyle" parent="Widget.MenuDrawer">
    <item name="mdActiveIndicator">@drawable/menu_arrow</item>
    <item name="mdMenuSize">250dp</item>
  </style>

</resources>