Fix accent

This commit is contained in:
tom79 2019-11-12 19:22:14 +01:00
parent ee9a9fcca5
commit 5d651f4e83
8 changed files with 24 additions and 24 deletions

View File

@ -105,9 +105,9 @@ public class GroupActivity extends BaseActivity implements OnRetrieveFeedsInterf
firstLoad = true;
boolean isOnWifi = Helper.isOnWIFI(getApplicationContext());
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1

View File

@ -108,9 +108,9 @@ public class HashTagActivity extends BaseActivity implements OnRetrieveFeedsInte
firstLoad = true;
boolean isOnWifi = Helper.isOnWIFI(getApplicationContext());
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1

View File

@ -105,9 +105,9 @@ public class ListActivity extends BaseActivity implements OnListActionInterface
textviewNoAction = findViewById(R.id.no_action);
mainLoader.setVisibility(View.VISIBLE);
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1

View File

@ -226,9 +226,9 @@ public class MutedInstanceActivity extends BaseActivity implements OnRetrieveDom
swiped = false;
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1

View File

@ -189,9 +189,9 @@ public class OwnerNotificationActivity extends BaseActivity implements OnRetriev
Helper.loadGiF(getApplicationContext(), account.getAvatar(), pp_actionBar);
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1

View File

@ -191,9 +191,9 @@ public class OwnerStatusActivity extends BaseActivity implements OnRetrieveFeeds
Helper.loadGiF(getApplicationContext(), account.getAvatar(), pp_actionBar);
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1

View File

@ -125,9 +125,9 @@ public class PlaylistsActivity extends BaseActivity implements OnPlaylistActionI
textviewNoAction = findViewById(R.id.no_action);
mainLoader.setVisibility(View.VISIBLE);
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1

View File

@ -215,9 +215,9 @@ public class ShowConversationActivity extends BaseActivity implements OnRetrieve
swipeRefreshLayout = findViewById(R.id.swipeContainer);
int c1 = getResources().getColor(R.color.cyanea_accent_reference);
int c2 = getResources().getColor(R.color.cyanea_primary_dark_reference);
int c3 = getResources().getColor(R.color.cyanea_primary_reference);
int c1 = getResources().getColor(R.color.cyanea_accent);
int c2 = getResources().getColor(R.color.cyanea_primary_dark);
int c3 = getResources().getColor(R.color.cyanea_primary);
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(c3);
swipeRefreshLayout.setColorSchemeColors(
c1, c2, c1