Refine colorAccent again
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user