color test

This commit is contained in:
X1nto 2020-07-05 19:29:12 +04:00
parent dba06dd570
commit f53f922299
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,6 @@ import androidx.core.content.ContextCompat
import androidx.core.content.ContextCompat.startActivity
import androidx.databinding.ObservableField
import androidx.lifecycle.AndroidViewModel
import androidx.lifecycle.MutableLiveData
import androidx.preference.PreferenceManager.getDefaultSharedPreferences
import com.vanced.manager.R
import com.vanced.manager.utils.InternetTools.displayJsonInt

View File

@ -15,6 +15,8 @@
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foregroundTint="?colorPrimary"
android:backgroundTint="?colorOnSurface"
bind:refreshing="@{viewModel.fetching}"
bind:onRefreshListener="@{()-> viewModel.fetchData()}">