Loading presentation/src/main/java/com/moez/QKSMS/feature/main/MainActivity.kt +8 −3 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.view.View import android.view.ViewStub import androidx.appcompat.app.ActionBarDrawerToggle import androidx.core.app.ActivityCompat import androidx.core.content.ContextCompat import androidx.core.view.GravityCompat import androidx.core.view.isVisible import androidx.lifecycle.Lifecycle Loading Loading @@ -67,8 +68,11 @@ import io.reactivex.subjects.PublishSubject import io.reactivex.subjects.Subject import kotlinx.android.synthetic.main.drawer_view.* import kotlinx.android.synthetic.main.main_activity.* import kotlinx.android.synthetic.main.main_activity.compose import kotlinx.android.synthetic.main.main_activity.empty import kotlinx.android.synthetic.main.main_permission_hint.* import kotlinx.android.synthetic.main.main_syncing.* import kotlinx.android.synthetic.main.scheduled_activity.* import javax.inject.Inject class MainActivity : QkThemedActivity(), MainView { Loading Loading @@ -180,10 +184,11 @@ class MainActivity : QkThemedActivity(), MainView { syncingProgress?.indeterminateTintList = ColorStateList.valueOf(theme.theme) plusIcon.setTint(theme.theme) rateIcon.setTint(theme.theme) compose.setBackgroundTint(theme.theme) // Set the FAB compose icon color compose.setTint(theme.textPrimary) compose.setTint(ContextCompat.getColor(this, R.color.tools_theme)) //set the FAB background color compose.setBackgroundTint(ContextCompat.getColor(this, R.color.colorPrimaryDark)) } // These theme attributes don't apply themselves on API 21 Loading Loading
presentation/src/main/java/com/moez/QKSMS/feature/main/MainActivity.kt +8 −3 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ import android.view.View import android.view.ViewStub import androidx.appcompat.app.ActionBarDrawerToggle import androidx.core.app.ActivityCompat import androidx.core.content.ContextCompat import androidx.core.view.GravityCompat import androidx.core.view.isVisible import androidx.lifecycle.Lifecycle Loading Loading @@ -67,8 +68,11 @@ import io.reactivex.subjects.PublishSubject import io.reactivex.subjects.Subject import kotlinx.android.synthetic.main.drawer_view.* import kotlinx.android.synthetic.main.main_activity.* import kotlinx.android.synthetic.main.main_activity.compose import kotlinx.android.synthetic.main.main_activity.empty import kotlinx.android.synthetic.main.main_permission_hint.* import kotlinx.android.synthetic.main.main_syncing.* import kotlinx.android.synthetic.main.scheduled_activity.* import javax.inject.Inject class MainActivity : QkThemedActivity(), MainView { Loading Loading @@ -180,10 +184,11 @@ class MainActivity : QkThemedActivity(), MainView { syncingProgress?.indeterminateTintList = ColorStateList.valueOf(theme.theme) plusIcon.setTint(theme.theme) rateIcon.setTint(theme.theme) compose.setBackgroundTint(theme.theme) // Set the FAB compose icon color compose.setTint(theme.textPrimary) compose.setTint(ContextCompat.getColor(this, R.color.tools_theme)) //set the FAB background color compose.setBackgroundTint(ContextCompat.getColor(this, R.color.colorPrimaryDark)) } // These theme attributes don't apply themselves on API 21 Loading