forked from github/szkolny
[UI] Set pull-to-refresh colors.
This commit is contained in:
parent
965f5e73d9
commit
9a20511935
@ -376,6 +376,11 @@ class MainActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
b.swipeRefreshLayout.isEnabled = true
|
b.swipeRefreshLayout.isEnabled = true
|
||||||
b.swipeRefreshLayout.setOnRefreshListener { this.syncCurrentFeature() }
|
b.swipeRefreshLayout.setOnRefreshListener { this.syncCurrentFeature() }
|
||||||
|
b.swipeRefreshLayout.setColorSchemeResources(
|
||||||
|
R.color.md_blue_500,
|
||||||
|
R.color.md_amber_500,
|
||||||
|
R.color.md_green_500
|
||||||
|
)
|
||||||
|
|
||||||
isStoragePermissionGranted()
|
isStoragePermissionGranted()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user