boinc/android/BOINC/res/values/theme.xml

64 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
This file is part of BOINC.
http://boinc.berkeley.edu
Copyright (C) 2012 University of California
BOINC is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.
BOINC 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with BOINC. If not, see <http://www.gnu.org/licenses/>.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="Theme" parent="android:Theme">
<item name="android:background">@color/white_smoke</item>
<item name="android:textColor">@color/black</item>
<item name="android:windowTitleSize">35dp</item>
<item name="android:windowTitleStyle">@style/CustomWindowTitle</item>
<item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item>
<item name="android:listViewStyle">@style/CustomListView</item>
<item name="android:panelFullBackground">@color/dark_blue_transparent</item>
</style>
<!-- title bar -->
<style name="CustomWindowTitle">
<item name="android:singleLine">true</item>
<item name="android:shadowDx">0</item>
<item name="android:shadowDy">0</item>
<item name="android:shadowRadius">5</item>
<item name="android:shadowColor">#1155CC</item>
</style>
<style name="CustomWindowTitleBackground">
<item name="android:background">@color/black</item>
</style>
<!-- sub header -->
<style name="SubHeader">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:padding">5dp</item>
<item name="android:singleLine">true</item>
<item name="android:background">@drawable/shape_light_blue_background</item>
<item name="android:textColor">@color/black</item>
<item name="android:textStyle">bold</item>
</style>
<!-- list view -->
<style name="CustomListView" parent="@android:style/Widget.ListView">
<item name="android:background">@color/white_smoke</item>
<item name="android:cacheColorHint">@color/lightest_blue</item>
<item name="android:divider">@color/lightest_blue</item>
<item name="android:dividerHeight">1dp</item>
</style>
</resources>