mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
361 lines
17 KiB
XML
361 lines
17 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- See the file "LICENSE" for the full license governing this code. -->
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- ========================================================== General -->
|
|
|
|
<style name="Theme" parent="@style/Theme.Sherlock">
|
|
<item name="android:windowBackground">@null</item>
|
|
<item name="asContentBackground">@drawable/background_gradient</item>
|
|
<item name="asHeaderBackground">@drawable/header_background</item>
|
|
<item name="asHeaderButtonBackground">@drawable/header_button</item>
|
|
<item name="asSeparatorBackground">@android:drawable/divider_horizontal_dark</item>
|
|
<item name="asTextColor">#ffffffff</item>
|
|
<item name="asDetailsColor">#ff777777</item>
|
|
<item name="asDueDateColor">#878787</item>
|
|
<item name="asDueDateOverdueColor">#ffee5555</item>
|
|
<item name="asDueDateCompletedColor">#ff777777</item>
|
|
<item name="asFilterHeaderColor">#ffcccccc</item>
|
|
<item name="asFilterHeaderBackground">@drawable/edit_titlebar</item>
|
|
<item name="asMembersHeaderBackground">@drawable/ios_fabric_480_dark</item>
|
|
<item name="asSeparatorBackground">#888888</item>
|
|
<item name="asAddButtonImg">@drawable/plus_button_red</item>
|
|
<item name="asMicButtonImg">@drawable/mic_button_gray</item>
|
|
<item name="asCameraButtonImg">@drawable/camera_button_gray</item>
|
|
<item name="asListsDisclosure">@drawable/lists_disclosure_gray</item>
|
|
<item name="asEditBackground">#171317</item>
|
|
<item name="asEditRowBackground">@drawable/task_edit_background</item>
|
|
<item name="asEditTabBackground">@drawable/custom_tab_indicator_dark</item>
|
|
<!-- actionbar-styling -->
|
|
<item name="abBackground">@drawable/header_background</item>
|
|
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
|
|
<item name="abLogo">@drawable/icon_48</item>
|
|
<item name="asAbTextColor">@android:color/darker_gray</item>
|
|
<item name="vpiTabPageIndicatorStyle">@style/CustomTabPageIndicator</item>
|
|
<item name="vpiTabTextStyle">@style/CustomTabPageIndicator.Text</item>
|
|
</style>
|
|
|
|
<style name="Theme.Transparent" parent="@style/Theme">
|
|
<item name="asContentBackground">@drawable/background_transparent</item>
|
|
<item name="asEditBackground">#33272327</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
|
|
<item name="asMembersHeaderBackground">@android:color/transparent</item>
|
|
<!-- actionbar-styling -->
|
|
<item name="abBackground">@drawable/header_background</item>
|
|
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
|
|
<item name="abLogo">@drawable/icon_48</item>
|
|
</style>
|
|
|
|
<style name="Theme.FullTransparent" parent="@style/Theme.Sherlock">
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:backgroundDimEnabled">false</item>
|
|
<!-- actionbar-styling -->
|
|
<item name="abBackground">@drawable/header_background</item>
|
|
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
|
|
<item name="abLogo">@drawable/icon_48</item>
|
|
</style>
|
|
|
|
<style name="Theme.White" parent="@style/Theme.Sherlock.Light">
|
|
<item name="asContentBackground">@drawable/background_white</item>
|
|
<item name="asEditBackground">#f7f3f7</item>
|
|
<item name="asHeaderBackground">@drawable/header_background_white</item>
|
|
<item name="asHeaderButtonBackground">@drawable/header_button_white</item>
|
|
<item name="asTextColor">#ff000000</item>
|
|
<item name="asDetailsColor">#ff6666aa</item>
|
|
<item name="asDueDateColor">#878787</item>
|
|
<item name="asFilterHeaderColor">#ffffff</item>
|
|
<item name="asFilterHeaderBackground">@drawable/edit_titlebar_white</item>
|
|
<item name="asMembersHeaderBackground">@drawable/ios_fabric_480</item>
|
|
<item name="asAddButtonImg">@drawable/plus_button_red</item>
|
|
<item name="asMicButtonImg">@drawable/mic_button_red</item>
|
|
<item name="asCameraButtonImg">@drawable/camera_button_red</item>
|
|
<item name="asListsDisclosure">@drawable/lists_disclosure_red</item>
|
|
<item name="asEditRowBackground">@drawable/task_edit_background_white</item>
|
|
<item name="asEditTabBackground">@drawable/custom_tab_indicator</item>
|
|
<!-- actionbar-styling -->
|
|
<item name="abBackground">@android:color/white</item>
|
|
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
|
|
<item name="abLogo">@drawable/icon_48</item>
|
|
<item name="asAbTextColor">@color/red_text_color</item>
|
|
</style>
|
|
|
|
<style name="Theme.TransparentWhite" parent="@style/Theme.White">
|
|
<item name="asContentBackground">@drawable/background_transparent</item>
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
<item name="android:windowAnimationStyle">@android:style/Animation.Translucent</item>
|
|
<item name="asMembersHeaderBackground">@android:color/transparent</item>
|
|
<!-- actionbar-styling -->
|
|
<item name="abBackground">@android:color/white</item>
|
|
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
|
|
<item name="abLogo">@drawable/icon_48</item>
|
|
<item name="asAbTextColor">@color/red_text_color</item>
|
|
</style>
|
|
|
|
<style name="Theme_Dialog" parent="@android:style/Theme.Dialog">
|
|
<item name="android:windowBackground">@null</item>
|
|
<item name="asContentBackground">@drawable/background_gradient</item>
|
|
<item name="asHeaderBackground">@drawable/header_background</item>
|
|
<item name="asHeaderButtonBackground">@drawable/header_button</item>
|
|
<item name="asSeparatorBackground">@android:drawable/divider_horizontal_dark</item>
|
|
<item name="asTextColor">#ffffffff</item>
|
|
<item name="asDetailsColor">#ff777777</item>
|
|
<item name="asDueDateColor">#ff7777aa</item>
|
|
<item name="asDueDateOverdueColor">#ffee5555</item>
|
|
<item name="asDueDateCompletedColor">#ff777777</item>
|
|
<item name="asFilterHeaderColor">#ffcccccc</item>
|
|
<item name="asFilterHeaderBackground">@drawable/edit_titlebar</item>
|
|
<item name="asMembersHeaderBackground">@drawable/ios_fabric_480_dark</item>
|
|
<item name="asSeparatorBackground">#888888</item>
|
|
<!-- actionbar-styling -->
|
|
<item name="abBackground">@drawable/header_background</item>
|
|
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
|
|
<item name="abLogo">@drawable/icon_48</item>
|
|
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowBackground">@drawable/panel_background</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
|
|
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
|
<item name="android:layout_width">fill_parent</item>
|
|
|
|
<item name="android:windowTitleSize">18dip</item>
|
|
<item name="android:windowTitleStyle">@style/DialogTitle</item>
|
|
<item name="android:windowTitleBackgroundStyle">@style/DialogTitle</item>
|
|
<item name="android:colorBackgroundCacheHint">@null</item>
|
|
</style>
|
|
|
|
<style name="Theme_Dialog.White">
|
|
<item name="asContentBackground">@drawable/background_white</item>
|
|
<item name="asHeaderBackground">@drawable/header_background_white</item>
|
|
<item name="asHeaderButtonBackground">@drawable/header_button_white</item>
|
|
<item name="asTextColor">#ff000000</item>
|
|
<item name="asDetailsColor">#ff6666aa</item>
|
|
<item name="asDueDateColor">#878787</item>
|
|
<item name="asFilterHeaderColor">#ffffff</item>
|
|
<item name="asFilterHeaderBackground">@drawable/edit_titlebar_white</item>
|
|
<item name="asMembersHeaderBackground">@drawable/ios_fabric_480</item>
|
|
<!-- actionbar-styling -->
|
|
<item name="abBackground">@android:color/white</item>
|
|
<item name="abDisplayOptions">useLogo|showHome|showTitle</item>
|
|
<item name="abLogo">@drawable/icon_48</item>
|
|
<item name="asAbTextColor">@color/red_text_color</item>
|
|
</style>
|
|
|
|
<!--================================================== General == -->
|
|
|
|
<style name="Content">
|
|
<item name="android:background">?attr/asContentBackground</item>
|
|
</style>
|
|
|
|
<style name="Header">
|
|
<item name="android:background">?attr/asHeaderBackground</item>
|
|
<item name="android:textColor">?attr/asTextColor</item>
|
|
</style>
|
|
|
|
<style name="TEA_Separator">
|
|
<item name="android:background">?attr/asSeparatorBackground</item>
|
|
</style>
|
|
|
|
<style name="FLA_Separator" parent="TEA_Separator">
|
|
</style>
|
|
|
|
<style name="TextAppearance" parent="android:TextAppearance">
|
|
<item name="android:textColor">?attr/asTextColor</item>
|
|
</style>
|
|
|
|
<!-- generic style for labels above edit boxes -->
|
|
<style name="TextAppearance.GEN_EditLabel">
|
|
<item name="android:textSize">15sp</item>
|
|
<item name="android:textStyle">bold</item>
|
|
</style>
|
|
|
|
|
|
<style name="TextAppearance.GEN_EditLabel.DLG_EditLabel">
|
|
<!-- <item name="android:textColor">@android:color/white</item> -->
|
|
</style>
|
|
|
|
<style name="TextAppearance.ActionBar_ListsHeader">
|
|
<item name="android:background">@android:color/transparent</item>
|
|
<item name="android:textColor">?attr/asAbTextColor</item>
|
|
<item name="android:textSize">20dip</item>
|
|
<item name="android:textStyle">bold</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.ActionBar_ListsHeader.Selected">
|
|
<item name="android:textColor">@android:color/white</item>
|
|
</style>
|
|
|
|
<!--================================================== Custom Dialogs == -->
|
|
|
|
<style name="DialogTitle">
|
|
<item name="android:textSize">18sp</item>
|
|
<item name="android:background">#323331</item>
|
|
</style>
|
|
|
|
<!--=============================================== TaskListActivity == -->
|
|
|
|
<style name="TextAppearance.TLA_NoItems">
|
|
<item name="android:textSize">20sp</item>
|
|
<item name="android:gravity">center</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TLA_Header">
|
|
<item name="android:textSize">18sp</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textColor">#ffffff</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TLA_Reminder">
|
|
<item name="android:textSize">18sp</item>
|
|
<item name="android:textColor">#000000</item>
|
|
</style>
|
|
|
|
<!-- =============================================== TaskEditActivity == -->
|
|
|
|
<style name="Content_EditScroll">
|
|
<item name="android:background">?attr/asEditBackground</item>
|
|
</style>
|
|
|
|
<style name="EditRow">
|
|
<item name="android:background">?attr/asEditRowBackground</item>
|
|
</style>
|
|
|
|
<style name="EditRowImage">
|
|
<item name="android:layout_width">25dip</item>
|
|
<item name="android:layout_height">25dip</item>
|
|
<item name="android:layout_marginRight">8dip</item>
|
|
<item name="android:scaleType">fitCenter</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.EditRowDisplay">
|
|
<item name="android:textColor">@color/task_edit_details</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TEA_action">
|
|
<item name="android:textSize">16sp</item>
|
|
<item name="android:textColor">@color/task_edit_details</item>
|
|
</style>
|
|
|
|
<style name="Theme.WhenDialog">
|
|
<item name="android:windowAnimationStyle">@style/TEA_WhenDialog_Anim</item>
|
|
</style>
|
|
|
|
<style name="Theme.White.WhenDialog">
|
|
<item name="android:windowAnimationStyle">@style/TEA_WhenDialog_Anim</item>
|
|
</style>
|
|
|
|
<style name="TEA_WhenDialog_Anim">
|
|
<item name="android:windowEnterAnimation">@anim/slide_left_in</item>
|
|
<item name="android:windowExitAnimation">@anim/slide_right_out</item>
|
|
</style>
|
|
|
|
<style name="TEA_Dialog" parent="@android:style/Theme.Dialog">
|
|
<item name="android:windowFrame">@null</item>
|
|
<item name="android:windowTitleStyle">@style/TEA_DialogWindowTitle</item>
|
|
<item name="android:windowBackground">@drawable/task_edit_dialog_background</item>
|
|
<item name="android:windowIsFloating">true</item>
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
|
|
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
|
|
<item name="asTextColor">#ffffff</item>
|
|
</style>
|
|
|
|
<style name="TEA_Dialog.White">
|
|
<item name="android:windowBackground">@drawable/task_edit_dialog_background_white</item>
|
|
<item name="asTextColor">#000000</item>
|
|
</style>
|
|
|
|
<style name="TEA_DialogWindowTitle">
|
|
<item name="android:maxLines">1</item>
|
|
<item name="android:scrollHorizontally">true</item>
|
|
<item name="android:textSize">18sp</item>
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="android:textColor">?attr/asTextColor</item>
|
|
</style>
|
|
|
|
<!-- ==================================================== TaskAdapter == -->
|
|
|
|
<style name="TextAppearance.TAd_ItemTitle">
|
|
<item name="android:textColorLink">#ff88aaff</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TAd_ItemTitle_Completed" parent="TextAppearance.TAd_ItemTitle">
|
|
<item name="android:textColor">#ff555555</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TAd_ItemTitle_Deleted" parent="TextAppearance.TAd_ItemTitle" />
|
|
|
|
<style name="TextAppearance.TAd_ItemTitle_Overdue" parent="TextAppearance.TAd_ItemTitle">
|
|
<item name="android:textStyle">bold</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TAd_ItemDetails">
|
|
<item name="android:textColor">?attr/asDetailsColor</item>
|
|
<item name="android:textColorLink">#ff88aaff</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TAd_ItemDueDate" parent="TextAppearance.TAd_ItemDetails">
|
|
<item name="android:textColor">?attr/asDueDateColor</item>
|
|
<item name="android:textStyle">bold</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TAd_ItemDueDate_Overdue" parent="TextAppearance.TAd_ItemDueDate">
|
|
<item name="android:textColor">?attr/asDueDateOverdueColor</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.TAd_ItemDueDate_Completed" parent="TextAppearance.TAd_ItemDueDate">
|
|
<item name="android:textColor">?attr/asDueDateCompletedColor</item>
|
|
</style>
|
|
|
|
<!-- ============================================== FilterListAdapter == -->
|
|
|
|
<style name="TextAppearance.FLA_Filter">
|
|
<item name="android:textSize">18sp</item>
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="android:textColor">@android:color/white</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.FLA_Button" parent="TextAppearance.FLA_Filter">
|
|
<item name="android:textColor">@color/new_list_button_text</item>
|
|
</style>
|
|
|
|
<style name="TextAppearance.FLA_Header" parent="TextAppearance.FLA_Filter">
|
|
<item name="android:textColor">?attr/asFilterHeaderColor</item>
|
|
</style>
|
|
|
|
<!-- ========================================================= Widget == -->
|
|
|
|
<style name="TextAppearance.Widget">
|
|
<item name="android:textSize">14sp</item>
|
|
<item name="android:textColor">@android:color/black</item>
|
|
</style>
|
|
|
|
<!-- ========================================================= ViewPager == -->
|
|
|
|
<style name="CustomCirclePageIndicator">
|
|
<item name="fillColor">#333333</item>
|
|
<item name="strokeColor">#333333</item>
|
|
<item name="strokeWidth">2dp</item>
|
|
<item name="radius">5dp</item>
|
|
<item name="centered">true</item>
|
|
<item name="android:background">#333333</item>
|
|
</style>
|
|
|
|
<style name="CustomTabPageIndicator" parent="Widget.TabPageIndicator">
|
|
<item name="android:background">?attr/asEditTabBackground</item>
|
|
<item name="android:textColor">#FFFF00FF</item>
|
|
</style>
|
|
<style name="CustomTabPageIndicator.Text" parent="Widget.TabPageIndicator.Text">
|
|
<item name="android:textColor">#FF00FF00</item>
|
|
<item name="android:textSize">15sp</item>
|
|
<item name="android:textStyle">bold</item>
|
|
<item name="android:layout_marginLeft">5dip</item>
|
|
<item name="android:layout_marginRight">5dip</item>
|
|
</style>
|
|
|
|
</resources>
|