mirror of
https://github.com/nextcloud/android.git
synced 2024-12-23 01:00:26 +03:00
set background color for primary action buttons on upload and participate
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
c4b5d8f2e9
commit
34cef89ce8
2 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ public class CommunityActivity extends FileActivity {
|
||||||
getString(R.string.contributing_link)))));
|
getString(R.string.contributing_link)))));
|
||||||
|
|
||||||
MaterialButton reportButton = findViewById(R.id.community_testing_report);
|
MaterialButton reportButton = findViewById(R.id.community_testing_report);
|
||||||
reportButton.getBackground().setColorFilter(ThemeUtils.primaryColor(this, true), PorterDuff.Mode.SRC_ATOP);
|
reportButton.setBackgroundColor(ThemeUtils.primaryColor(this,true));
|
||||||
reportButton.setOnClickListener(v -> DisplayUtils.startLinkIntent(this, R.string.report_issue_link));
|
reportButton.setOnClickListener(v -> DisplayUtils.startLinkIntent(this, R.string.report_issue_link));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -178,7 +178,7 @@ public class UploadFilesActivity extends FileActivity implements
|
||||||
mCancelButton.setOnClickListener(this);
|
mCancelButton.setOnClickListener(this);
|
||||||
|
|
||||||
mUploadBtn = findViewById(R.id.upload_files_btn_upload);
|
mUploadBtn = findViewById(R.id.upload_files_btn_upload);
|
||||||
mUploadBtn.getBackground().setColorFilter(ThemeUtils.primaryColor(this, true), PorterDuff.Mode.SRC_ATOP);
|
mUploadBtn.setBackgroundColor(ThemeUtils.primaryColor(this,true));
|
||||||
mUploadBtn.setOnClickListener(this);
|
mUploadBtn.setOnClickListener(this);
|
||||||
|
|
||||||
int localBehaviour = preferences.getUploaderBehaviour();
|
int localBehaviour = preferences.getUploaderBehaviour();
|
||||||
|
|
Loading…
Reference in a new issue