Refine colorAccent again

This commit is contained in:
Mygod
2018-01-20 23:58:15 -08:00
parent 19c87c661b
commit abe8802535
3 changed files with 3 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ class RepeaterFragment : Fragment(), ServiceConnection, Toolbar.OnMenuItemClickL
animator.supportsChangeAnimations = false // prevent fading-in/out when rebinding
binding.clients.itemAnimator = animator
binding.clients.adapter = adapter
binding.swipeRefresher.setColorSchemeResources(R.color.colorAccentDark)
binding.swipeRefresher.setColorSchemeResources(R.color.colorAccent)
binding.swipeRefresher.setOnRefreshListener {
IpNeighbourMonitor.instance?.flush()
adapter.recreate()

View File

@@ -2,6 +2,5 @@
<resources>
<color name="colorPrimary">#4CAF50</color>
<color name="colorPrimaryDark">#388E3C</color>
<color name="colorAccent">#C6FF00</color>
<color name="colorAccentDark">#AEEA00</color>
<color name="colorAccent">#AEEA00</color>
</resources>

View File

@@ -9,7 +9,7 @@
<style name="AppTheme.Preference" parent="PreferenceThemeOverlay.v14.Material.Fix">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccentDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="preferenceCategory_marginBottom">8dp</item>
</style>