color test
This commit is contained in:
parent
dba06dd570
commit
f53f922299
|
@ -13,7 +13,6 @@ import androidx.core.content.ContextCompat
|
||||||
import androidx.core.content.ContextCompat.startActivity
|
import androidx.core.content.ContextCompat.startActivity
|
||||||
import androidx.databinding.ObservableField
|
import androidx.databinding.ObservableField
|
||||||
import androidx.lifecycle.AndroidViewModel
|
import androidx.lifecycle.AndroidViewModel
|
||||||
import androidx.lifecycle.MutableLiveData
|
|
||||||
import androidx.preference.PreferenceManager.getDefaultSharedPreferences
|
import androidx.preference.PreferenceManager.getDefaultSharedPreferences
|
||||||
import com.vanced.manager.R
|
import com.vanced.manager.R
|
||||||
import com.vanced.manager.utils.InternetTools.displayJsonInt
|
import com.vanced.manager.utils.InternetTools.displayJsonInt
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
android:foregroundTint="?colorPrimary"
|
||||||
|
android:backgroundTint="?colorOnSurface"
|
||||||
bind:refreshing="@{viewModel.fetching}"
|
bind:refreshing="@{viewModel.fetching}"
|
||||||
bind:onRefreshListener="@{()-> viewModel.fetchData()}">
|
bind:onRefreshListener="@{()-> viewModel.fetchData()}">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue