styles.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <resources xmlns:tools="http://schemas.android.com/tools">
  2. <style name="AppTheme" parent="AppTheme.Base">
  3. </style>
  4. <style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
  5. <item name="colorPrimary">@color/colorPrimary</item>
  6. <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
  7. <item name="colorAccent">@color/colorAccent</item>
  8. <item name="alertDialogTheme">@style/AlertDialogStyle</item>
  9. <item name="android:textColor">@color/primary_text</item>
  10. <item name="windowActionModeOverlay">true</item>
  11. <item name="android:navigationBarColor" tools:targetApi="lollipop">@color/colorPrimaryDark</item>
  12. <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
  13. </style>
  14. <style name="AppTheme.BrandedLaunch" parent="AppTheme">
  15. <item name="android:windowBackground">@drawable/branded_logo</item>
  16. </style>
  17. <style name="AppTheme.ActionBar" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
  18. <item name="android:spinnerItemStyle">@style/ActionBarSpinner</item>
  19. <item name="android:spinnerDropDownItemStyle">@style/ActionBarSpinnerItem</item>
  20. <item name="actionModeBackground">@color/colorPrimarySuperDark</item>
  21. <item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Light</item>
  22. <item name="popupTheme">@style/ThemeOverlay.AppCompat.Light</item>
  23. <item name="colorAccent">@color/colorAccent</item>
  24. </style>
  25. <style name="AppTheme.Overlay.Dark" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
  26. <item name="colorAccent">@color/white</item>
  27. </style>
  28. <style name="AlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert">
  29. <item name="android:windowTitleStyle">@style/DialogTitleText</item>
  30. <item name="colorAccent">@color/primary</item>
  31. </style>
  32. <style name="DialogTitleText">
  33. <item name="android:textColor">@color/primary_text</item>
  34. <item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
  35. </style>
  36. <style name="ActionBarSpinner" parent="@style/Widget.AppCompat.TextView.SpinnerItem">
  37. <item name="android:textColor">@color/white</item>
  38. <item name="android:textColorHint">@color/hint_foreground_material_dark</item>
  39. </style>
  40. <style name="ActionBarSpinnerItem" parent="@style/Widget.AppCompat.DropDownItem.Spinner">
  41. <item name="android:background">@color/background_material_light</item>
  42. </style>
  43. <style name="AppTheme.Popup" parent="@style/AppTheme.Overlay.Dark">
  44. <item name="colorAccent">@color/white</item>
  45. <item name="android:background">@color/colorPrimary</item>
  46. <item name="android:textColor">@color/white</item>
  47. </style>
  48. <style name="AppTheme.GridView" parent="AppTheme">
  49. <item name="android:layout_width">match_parent</item>
  50. <item name="android:padding">5dp</item>
  51. <item name="android:layout_height">match_parent</item>
  52. <item name="android:clipToPadding">false</item>
  53. <item name="android:gravity">top|left</item>
  54. <item name="android:smoothScrollbar">true</item>
  55. <item name="android:cacheColorHint">#00000000</item>
  56. <item name="android:fastScrollEnabled">true</item>
  57. <item name="android:horizontalSpacing">0dp</item>
  58. <item name="android:verticalSpacing">0dp</item>
  59. <item name="android:numColumns">auto_fit</item>
  60. <item name="android:stretchMode">columnWidth</item>
  61. <item name="android:scrollbarStyle">outsideOverlay</item>
  62. </style>
  63. <style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
  64. <item name="colorPrimary">@color/colorPrimary</item>
  65. <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
  66. <item name="colorAccent">@color/colorAccent</item>
  67. <item name="colorButtonNormal">@color/colorPrimary</item>
  68. <item name="android:textSize">14sp</item>
  69. <item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
  70. <item name="nnf_toolbarTheme">@style/AppTheme.Overlay.Dark</item>
  71. </style>
  72. <style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
  73. </style>
  74. <style name="manga_detail_label">
  75. <item name="android:textSize">15sp</item>
  76. <item name="android:textStyle">bold</item>
  77. <item name="android:textColor">#ff58595b</item>
  78. <item name="android:ellipsize">end</item>
  79. <item name="android:paddingRight">10dp</item>
  80. <item name="android:singleLine">true</item>
  81. <item name="android:textIsSelectable">false</item>
  82. </style>
  83. <style name="manga_detail_text">
  84. <item name="android:textSize">15sp</item>
  85. <item name="android:textStyle">normal</item>
  86. <item name="android:textColor">#ff808285</item>
  87. <item name="android:ellipsize">end</item>
  88. <item name="android:singleLine">true</item>
  89. <item name="android:textIsSelectable">false</item>
  90. </style>
  91. <style name="reader_settings_popup_animation">
  92. <item name="android:windowEnterAnimation">@anim/enter_from_right</item>
  93. <item name="android:windowExitAnimation">@anim/exit_to_right</item>
  94. </style>
  95. <style name="reader_brightness_popup_animation">
  96. <item name="android:windowEnterAnimation">@anim/enter_from_left</item>
  97. <item name="android:windowExitAnimation">@anim/exit_to_left</item>
  98. </style>
  99. <style name="reader_menu_settings_item">
  100. <item name="android:textColor">@color/md_grey_300</item>
  101. <item name="android:layout_width">wrap_content</item>
  102. <item name="android:layout_height">36dp</item>
  103. <item name="android:gravity">center</item>
  104. </style>
  105. </resources>