diff --git a/app/build.gradle b/app/build.gradle index dcae54cd..09a30b92 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -28,6 +28,9 @@ android { targetCompatibility = "8" sourceCompatibility = "8" } + defaultConfig{ + vectorDrawables.useSupportLibrary = true + } } configurations { diff --git a/app/src/main/java/org/mian/gitnex/activities/BaseActivity.java b/app/src/main/java/org/mian/gitnex/activities/BaseActivity.java index 2d4059d6..f0d0c1e0 100644 --- a/app/src/main/java/org/mian/gitnex/activities/BaseActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/BaseActivity.java @@ -51,6 +51,19 @@ public abstract class BaseActivity extends AppCompatActivity { } break; + case 3: + setTheme(R.style.AppThemeRetro); + break; + + case 4: + if(TimeHelper.timeBetweenHours(18, 6)) { // 6pm to 6am + setTheme(R.style.AppTheme); + } + else { + setTheme(R.style.AppThemeRetro); + } + break; + default: setTheme(R.style.AppTheme); break; diff --git a/app/src/main/java/org/mian/gitnex/activities/CreateFileActivity.java b/app/src/main/java/org/mian/gitnex/activities/CreateFileActivity.java index 46a17b9a..0e6c74ad 100644 --- a/app/src/main/java/org/mian/gitnex/activities/CreateFileActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/CreateFileActivity.java @@ -1,7 +1,6 @@ package org.mian.gitnex.activities; import android.content.Context; -import android.graphics.PorterDuff; import android.os.Bundle; import android.util.Log; import android.view.View; @@ -142,7 +141,6 @@ public class CreateFileActivity extends BaseActivity { closeActivity.setOnClickListener(onClickListener); newFileBranchesSpinner = findViewById(R.id.newFileBranchesSpinner); - newFileBranchesSpinner.getBackground().setColorFilter(getResources().getColor(R.color.colorWhite), PorterDuff.Mode.SRC_ATOP); getBranches(instanceUrl, instanceToken, repoOwner, repoName, loginUid); newFileBranchesSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() diff --git a/app/src/main/java/org/mian/gitnex/activities/CreateIssueActivity.java b/app/src/main/java/org/mian/gitnex/activities/CreateIssueActivity.java index a2c09393..cce00a8c 100644 --- a/app/src/main/java/org/mian/gitnex/activities/CreateIssueActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/CreateIssueActivity.java @@ -2,7 +2,6 @@ package org.mian.gitnex.activities; import android.app.DatePickerDialog; import android.content.Context; -import android.graphics.PorterDuff; import android.os.Bundle; import android.util.Log; import android.view.View; @@ -126,7 +125,6 @@ public class CreateIssueActivity extends BaseActivity implements View.OnClickLis newIssueDueDate.setOnClickListener(this); newIssueMilestoneSpinner = findViewById(R.id.newIssueMilestoneSpinner); - newIssueMilestoneSpinner.getBackground().setColorFilter(getResources().getColor(R.color.colorWhite), PorterDuff.Mode.SRC_ATOP); getMilestones(instanceUrl, instanceToken, repoOwner, repoName, loginUid, resultLimit); getLabels(instanceUrl, instanceToken, repoOwner, repoName, loginUid); diff --git a/app/src/main/java/org/mian/gitnex/activities/CreateReleaseActivity.java b/app/src/main/java/org/mian/gitnex/activities/CreateReleaseActivity.java index 2a2b951a..99cba7d3 100644 --- a/app/src/main/java/org/mian/gitnex/activities/CreateReleaseActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/CreateReleaseActivity.java @@ -1,7 +1,6 @@ package org.mian.gitnex.activities; import android.content.Context; -import android.graphics.PorterDuff; import android.os.Bundle; import android.util.Log; import android.view.View; @@ -87,7 +86,6 @@ public class CreateReleaseActivity extends BaseActivity { closeActivity.setOnClickListener(onClickListener); releaseBranch = findViewById(R.id.releaseBranch); - releaseBranch.getBackground().setColorFilter(getResources().getColor(R.color.colorWhite), PorterDuff.Mode.SRC_ATOP); getBranches(instanceUrl, Authorization.returnAuthentication(ctx, loginUid, instanceToken), repoOwner, repoName); releaseBranch.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override diff --git a/app/src/main/java/org/mian/gitnex/activities/CreateRepoActivity.java b/app/src/main/java/org/mian/gitnex/activities/CreateRepoActivity.java index b3b94b94..c231068d 100644 --- a/app/src/main/java/org/mian/gitnex/activities/CreateRepoActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/CreateRepoActivity.java @@ -1,7 +1,6 @@ package org.mian.gitnex.activities; import android.content.Context; -import android.graphics.PorterDuff; import android.os.Bundle; import android.util.Log; import android.view.View; @@ -86,9 +85,8 @@ public class CreateRepoActivity extends BaseActivity { closeActivity.setOnClickListener(onClickListener); spinner = findViewById(R.id.ownerSpinner); - spinner.getBackground().setColorFilter(getResources().getColor(R.color.colorWhite), PorterDuff.Mode.SRC_ATOP); getOrganizations(instanceUrl, Authorization.returnAuthentication(ctx, loginUid, instanceToken), userLogin); - + spinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { @Override public void onItemSelected(AdapterView parent, View view, int position, long id) { diff --git a/app/src/main/java/org/mian/gitnex/activities/EditIssueActivity.java b/app/src/main/java/org/mian/gitnex/activities/EditIssueActivity.java index d0cfde78..9c0b84c6 100644 --- a/app/src/main/java/org/mian/gitnex/activities/EditIssueActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/EditIssueActivity.java @@ -3,7 +3,6 @@ package org.mian.gitnex.activities; import android.annotation.SuppressLint; import android.app.DatePickerDialog; import android.content.Context; -import android.graphics.PorterDuff; import android.os.Bundle; import android.util.Log; import android.view.View; @@ -108,7 +107,6 @@ public class EditIssueActivity extends BaseActivity implements View.OnClickListe loadCollaboratorsList(); editIssueMilestoneSpinner = findViewById(R.id.editIssueMilestoneSpinner); - editIssueMilestoneSpinner.getBackground().setColorFilter(getResources().getColor(R.color.colorWhite), PorterDuff.Mode.SRC_ATOP); editIssueDescription.setMentionAdapter(defaultMentionAdapter); diff --git a/app/src/main/java/org/mian/gitnex/activities/SettingsAppearanceActivity.java b/app/src/main/java/org/mian/gitnex/activities/SettingsAppearanceActivity.java index e763a23b..b7cf2c14 100644 --- a/app/src/main/java/org/mian/gitnex/activities/SettingsAppearanceActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/SettingsAppearanceActivity.java @@ -35,7 +35,7 @@ public class SettingsAppearanceActivity extends BaseActivity { private static String[] customFontList = {"Roboto", "Manrope", "Source Code Pro"}; private static int customFontSelectedChoice = 0; - private static String[] themeList = {"Dark", "Light", "Auto (Day/Night)"}; + private static String[] themeList = {"Dark", "Light", "Auto (Light / Dark)", "Retro", "Auto (Retro / Dark)"}; private static int themeSelectedChoice = 0; @Override diff --git a/app/src/main/java/org/mian/gitnex/adapters/FilesAdapter.java b/app/src/main/java/org/mian/gitnex/adapters/FilesAdapter.java index 7217ba00..c9b273a3 100644 --- a/app/src/main/java/org/mian/gitnex/adapters/FilesAdapter.java +++ b/app/src/main/java/org/mian/gitnex/adapters/FilesAdapter.java @@ -37,6 +37,8 @@ public class FilesAdapter extends RecyclerView.Adapter allAccountsList) { TinyDB tinyDB = new TinyDB(mCtx); - Dialog dialog = new Dialog(mCtx); + Dialog dialog = new Dialog(mCtx, R.style.ThemeOverlay_MaterialComponents_Dialog_Alert); dialog.setContentView(R.layout.custom_user_accounts_dialog); ListView listView = dialog.findViewById(R.id.accountsList); diff --git a/app/src/main/res/drawable/ic_account_circle.xml b/app/src/main/res/drawable/ic_account_circle.xml deleted file mode 100644 index 6461e8cc..00000000 --- a/app/src/main/res/drawable/ic_account_circle.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/app/src/main/res/drawable/ic_android.xml b/app/src/main/res/drawable/ic_android.xml index 75126b08..b45d1adc 100644 --- a/app/src/main/res/drawable/ic_android.xml +++ b/app/src/main/res/drawable/ic_android.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/res/drawable/ic_appearance.xml b/app/src/main/res/drawable/ic_appearance.xml index a8308016..43bb0fda 100644 --- a/app/src/main/res/drawable/ic_appearance.xml +++ b/app/src/main/res/drawable/ic_appearance.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_archive.xml b/app/src/main/res/drawable/ic_archive.xml index bfb3657c..261883be 100644 --- a/app/src/main/res/drawable/ic_archive.xml +++ b/app/src/main/res/drawable/ic_archive.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_arrow_back.xml b/app/src/main/res/drawable/ic_arrow_back.xml index afc8e6da..7771303c 100644 --- a/app/src/main/res/drawable/ic_arrow_back.xml +++ b/app/src/main/res/drawable/ic_arrow_back.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_arrow_down.xml b/app/src/main/res/drawable/ic_arrow_down.xml index edf7c074..4b9aeb78 100644 --- a/app/src/main/res/drawable/ic_arrow_down.xml +++ b/app/src/main/res/drawable/ic_arrow_down.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_arrow_right.xml b/app/src/main/res/drawable/ic_arrow_right.xml index bbcf096c..e66fc4b0 100644 --- a/app/src/main/res/drawable/ic_arrow_right.xml +++ b/app/src/main/res/drawable/ic_arrow_right.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_arrow_up.xml b/app/src/main/res/drawable/ic_arrow_up.xml index 2c5991ef..53aba22c 100644 --- a/app/src/main/res/drawable/ic_arrow_up.xml +++ b/app/src/main/res/drawable/ic_arrow_up.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_branch.xml b/app/src/main/res/drawable/ic_branch.xml index 89723ab7..af27d484 100644 --- a/app/src/main/res/drawable/ic_branch.xml +++ b/app/src/main/res/drawable/ic_branch.xml @@ -8,27 +8,27 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_browser.xml b/app/src/main/res/drawable/ic_browser.xml index 93c33100..6a0bacc4 100644 --- a/app/src/main/res/drawable/ic_browser.xml +++ b/app/src/main/res/drawable/ic_browser.xml @@ -1,4 +1,4 @@ - + diff --git a/app/src/main/res/drawable/ic_bug_report.xml b/app/src/main/res/drawable/ic_bug_report.xml index f7555d7c..0c7a7a74 100644 --- a/app/src/main/res/drawable/ic_bug_report.xml +++ b/app/src/main/res/drawable/ic_bug_report.xml @@ -8,76 +8,76 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_calendar.xml b/app/src/main/res/drawable/ic_calendar.xml index ebfcbd96..e1b21ec9 100644 --- a/app/src/main/res/drawable/ic_calendar.xml +++ b/app/src/main/res/drawable/ic_calendar.xml @@ -8,27 +8,27 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_check.xml b/app/src/main/res/drawable/ic_check.xml index 3895ab41..c29fab52 100644 --- a/app/src/main/res/drawable/ic_check.xml +++ b/app/src/main/res/drawable/ic_check.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_chevron_down.xml b/app/src/main/res/drawable/ic_chevron_down.xml index b0798569..ad83d5ae 100644 --- a/app/src/main/res/drawable/ic_chevron_down.xml +++ b/app/src/main/res/drawable/ic_chevron_down.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_chevron_left.xml b/app/src/main/res/drawable/ic_chevron_left.xml index be2100ca..46dc2ef5 100644 --- a/app/src/main/res/drawable/ic_chevron_left.xml +++ b/app/src/main/res/drawable/ic_chevron_left.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_chevron_right.xml b/app/src/main/res/drawable/ic_chevron_right.xml index 97b3f2be..e1870d55 100644 --- a/app/src/main/res/drawable/ic_chevron_right.xml +++ b/app/src/main/res/drawable/ic_chevron_right.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_chevron_up.xml b/app/src/main/res/drawable/ic_chevron_up.xml index df1703a2..3492762d 100644 --- a/app/src/main/res/drawable/ic_chevron_up.xml +++ b/app/src/main/res/drawable/ic_chevron_up.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_close.xml b/app/src/main/res/drawable/ic_close.xml index e1be4e03..c88b244f 100644 --- a/app/src/main/res/drawable/ic_close.xml +++ b/app/src/main/res/drawable/ic_close.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_code.xml b/app/src/main/res/drawable/ic_code.xml index 0e732e1d..ca3382ea 100644 --- a/app/src/main/res/drawable/ic_code.xml +++ b/app/src/main/res/drawable/ic_code.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_comment.xml b/app/src/main/res/drawable/ic_comment.xml index cb87d675..a461e578 100644 --- a/app/src/main/res/drawable/ic_comment.xml +++ b/app/src/main/res/drawable/ic_comment.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_copy.xml b/app/src/main/res/drawable/ic_copy.xml index e3631b0e..80b19fec 100644 --- a/app/src/main/res/drawable/ic_copy.xml +++ b/app/src/main/res/drawable/ic_copy.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_delete.xml b/app/src/main/res/drawable/ic_delete.xml index 623fdbc3..93e8f59b 100644 --- a/app/src/main/res/drawable/ic_delete.xml +++ b/app/src/main/res/drawable/ic_delete.xml @@ -8,27 +8,27 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_directory.xml b/app/src/main/res/drawable/ic_directory.xml index b78ad9dd..3165bd97 100644 --- a/app/src/main/res/drawable/ic_directory.xml +++ b/app/src/main/res/drawable/ic_directory.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_done.xml b/app/src/main/res/drawable/ic_done.xml index 421be914..8043ef1b 100644 --- a/app/src/main/res/drawable/ic_done.xml +++ b/app/src/main/res/drawable/ic_done.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_dotted_menu.xml b/app/src/main/res/drawable/ic_dotted_menu.xml index 624f6510..96809e08 100644 --- a/app/src/main/res/drawable/ic_dotted_menu.xml +++ b/app/src/main/res/drawable/ic_dotted_menu.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_dotted_menu_horizontal.xml b/app/src/main/res/drawable/ic_dotted_menu_horizontal.xml index 2a157dd8..d6632219 100644 --- a/app/src/main/res/drawable/ic_dotted_menu_horizontal.xml +++ b/app/src/main/res/drawable/ic_dotted_menu_horizontal.xml @@ -4,7 +4,7 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_download.xml b/app/src/main/res/drawable/ic_download.xml index b3e56ea6..0254bca5 100644 --- a/app/src/main/res/drawable/ic_download.xml +++ b/app/src/main/res/drawable/ic_download.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_drafts.xml b/app/src/main/res/drawable/ic_drafts.xml index e4c63015..c7334b0b 100644 --- a/app/src/main/res/drawable/ic_drafts.xml +++ b/app/src/main/res/drawable/ic_drafts.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_edit.xml b/app/src/main/res/drawable/ic_edit.xml index a350e72b..c32b9318 100644 --- a/app/src/main/res/drawable/ic_edit.xml +++ b/app/src/main/res/drawable/ic_edit.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_email.xml b/app/src/main/res/drawable/ic_email.xml index 0577ff76..30a2eb64 100644 --- a/app/src/main/res/drawable/ic_email.xml +++ b/app/src/main/res/drawable/ic_email.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_file.xml b/app/src/main/res/drawable/ic_file.xml index 09f190ec..45577def 100644 --- a/app/src/main/res/drawable/ic_file.xml +++ b/app/src/main/res/drawable/ic_file.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_filter.xml b/app/src/main/res/drawable/ic_filter.xml index ee204906..df817d87 100644 --- a/app/src/main/res/drawable/ic_filter.xml +++ b/app/src/main/res/drawable/ic_filter.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_flag.xml b/app/src/main/res/drawable/ic_flag.xml index de00d90e..b45a7177 100644 --- a/app/src/main/res/drawable/ic_flag.xml +++ b/app/src/main/res/drawable/ic_flag.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_fork.xml b/app/src/main/res/drawable/ic_fork.xml index 96bf2e7b..4ad23171 100644 --- a/app/src/main/res/drawable/ic_fork.xml +++ b/app/src/main/res/drawable/ic_fork.xml @@ -4,15 +4,15 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_info.xml b/app/src/main/res/drawable/ic_info.xml index 0591f38a..4a854b7c 100644 --- a/app/src/main/res/drawable/ic_info.xml +++ b/app/src/main/res/drawable/ic_info.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_issue.xml b/app/src/main/res/drawable/ic_issue.xml index 8c379104..9a371b6b 100644 --- a/app/src/main/res/drawable/ic_issue.xml +++ b/app/src/main/res/drawable/ic_issue.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_issue_closed.xml b/app/src/main/res/drawable/ic_issue_closed.xml index 38013e41..3633cbb5 100644 --- a/app/src/main/res/drawable/ic_issue_closed.xml +++ b/app/src/main/res/drawable/ic_issue_closed.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_label.xml b/app/src/main/res/drawable/ic_label.xml index 2904637e..f7f3fbe1 100644 --- a/app/src/main/res/drawable/ic_label.xml +++ b/app/src/main/res/drawable/ic_label.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_language.xml b/app/src/main/res/drawable/ic_language.xml index 26a7bf52..f99a18bc 100644 --- a/app/src/main/res/drawable/ic_language.xml +++ b/app/src/main/res/drawable/ic_language.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_like.xml b/app/src/main/res/drawable/ic_like.xml index bf554fd0..216ce2d0 100644 --- a/app/src/main/res/drawable/ic_like.xml +++ b/app/src/main/res/drawable/ic_like.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_link.xml b/app/src/main/res/drawable/ic_link.xml index 5e04c607..34212db0 100644 --- a/app/src/main/res/drawable/ic_link.xml +++ b/app/src/main/res/drawable/ic_link.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_loader.xml b/app/src/main/res/drawable/ic_loader.xml index fdc6689c..10eea365 100644 --- a/app/src/main/res/drawable/ic_loader.xml +++ b/app/src/main/res/drawable/ic_loader.xml @@ -3,5 +3,5 @@ android:width="40dp" xmlns:android="http://schemas.android.com/apk/res/android"> - + diff --git a/app/src/main/res/drawable/ic_location.xml b/app/src/main/res/drawable/ic_location.xml index 92b1b30e..603fd244 100644 --- a/app/src/main/res/drawable/ic_location.xml +++ b/app/src/main/res/drawable/ic_location.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_lock.xml b/app/src/main/res/drawable/ic_lock.xml index 84dfbfda..87eaf2be 100644 --- a/app/src/main/res/drawable/ic_lock.xml +++ b/app/src/main/res/drawable/ic_lock.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_logout.xml b/app/src/main/res/drawable/ic_logout.xml index 9af0500d..1d3ff3d1 100644 --- a/app/src/main/res/drawable/ic_logout.xml +++ b/app/src/main/res/drawable/ic_logout.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_markdown.xml b/app/src/main/res/drawable/ic_markdown.xml index 2317f368..93fa75dc 100644 --- a/app/src/main/res/drawable/ic_markdown.xml +++ b/app/src/main/res/drawable/ic_markdown.xml @@ -1,4 +1,4 @@ - + diff --git a/app/src/main/res/drawable/ic_menu.xml b/app/src/main/res/drawable/ic_menu.xml index 255a0631..0b25012e 100644 --- a/app/src/main/res/drawable/ic_menu.xml +++ b/app/src/main/res/drawable/ic_menu.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_milestone.xml b/app/src/main/res/drawable/ic_milestone.xml index 57c297fe..7d9998dc 100644 --- a/app/src/main/res/drawable/ic_milestone.xml +++ b/app/src/main/res/drawable/ic_milestone.xml @@ -4,7 +4,7 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_notifications.xml b/app/src/main/res/drawable/ic_notifications.xml index 7fbbb611..341baca5 100644 --- a/app/src/main/res/drawable/ic_notifications.xml +++ b/app/src/main/res/drawable/ic_notifications.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_organization.xml b/app/src/main/res/drawable/ic_organization.xml index d6af441f..045235d3 100644 --- a/app/src/main/res/drawable/ic_organization.xml +++ b/app/src/main/res/drawable/ic_organization.xml @@ -4,10 +4,10 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_otp.xml b/app/src/main/res/drawable/ic_otp.xml index 3c7f1084..2c12e3ad 100644 --- a/app/src/main/res/drawable/ic_otp.xml +++ b/app/src/main/res/drawable/ic_otp.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_people.xml b/app/src/main/res/drawable/ic_people.xml index 8f7cfdad..69852ba9 100644 --- a/app/src/main/res/drawable/ic_people.xml +++ b/app/src/main/res/drawable/ic_people.xml @@ -8,27 +8,27 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_person.xml b/app/src/main/res/drawable/ic_person.xml index 11907879..8bebc422 100644 --- a/app/src/main/res/drawable/ic_person.xml +++ b/app/src/main/res/drawable/ic_person.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_person_add.xml b/app/src/main/res/drawable/ic_person_add.xml index aefcd29f..9d952ac7 100644 --- a/app/src/main/res/drawable/ic_person_add.xml +++ b/app/src/main/res/drawable/ic_person_add.xml @@ -8,27 +8,27 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_pin.xml b/app/src/main/res/drawable/ic_pin.xml index c8d666e3..420f66c8 100644 --- a/app/src/main/res/drawable/ic_pin.xml +++ b/app/src/main/res/drawable/ic_pin.xml @@ -1,7 +1,7 @@ diff --git a/app/src/main/res/drawable/ic_question.xml b/app/src/main/res/drawable/ic_question.xml index 596eab72..cbe0237d 100644 --- a/app/src/main/res/drawable/ic_question.xml +++ b/app/src/main/res/drawable/ic_question.xml @@ -8,20 +8,20 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_release.xml b/app/src/main/res/drawable/ic_release.xml index e32128c9..30a995d8 100644 --- a/app/src/main/res/drawable/ic_release.xml +++ b/app/src/main/res/drawable/ic_release.xml @@ -8,27 +8,27 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_reopen.xml b/app/src/main/res/drawable/ic_reopen.xml index aa8b34d1..3598d914 100644 --- a/app/src/main/res/drawable/ic_reopen.xml +++ b/app/src/main/res/drawable/ic_reopen.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_reply.xml b/app/src/main/res/drawable/ic_reply.xml index 9ff78ee1..8e780355 100644 --- a/app/src/main/res/drawable/ic_reply.xml +++ b/app/src/main/res/drawable/ic_reply.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_repo.xml b/app/src/main/res/drawable/ic_repo.xml index 05eed15b..ed771016 100644 --- a/app/src/main/res/drawable/ic_repo.xml +++ b/app/src/main/res/drawable/ic_repo.xml @@ -4,10 +4,10 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/app/src/main/res/drawable/ic_search.xml b/app/src/main/res/drawable/ic_search.xml index f4028471..14d35950 100644 --- a/app/src/main/res/drawable/ic_search.xml +++ b/app/src/main/res/drawable/ic_search.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_security.xml b/app/src/main/res/drawable/ic_security.xml index 27910cb9..d03068a9 100644 --- a/app/src/main/res/drawable/ic_security.xml +++ b/app/src/main/res/drawable/ic_security.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_settings.xml b/app/src/main/res/drawable/ic_settings.xml index c28e9ec2..5930c1f8 100644 --- a/app/src/main/res/drawable/ic_settings.xml +++ b/app/src/main/res/drawable/ic_settings.xml @@ -1,12 +1,20 @@ + android:pathData="M12,12m-3,0a3,3 0,1 1,6 0a3,3 0,1 1,-6 0" + android:strokeLineJoin="round" + android:strokeWidth="2" + android:fillColor="#00000000" + android:strokeColor="?attr/iconsColor" + android:strokeLineCap="round"/> + diff --git a/app/src/main/res/drawable/ic_share.xml b/app/src/main/res/drawable/ic_share.xml index 03d2ce36..494c9dc4 100644 --- a/app/src/main/res/drawable/ic_share.xml +++ b/app/src/main/res/drawable/ic_share.xml @@ -8,34 +8,34 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_star.xml b/app/src/main/res/drawable/ic_star.xml index d332c8ec..46e8ad01 100644 --- a/app/src/main/res/drawable/ic_star.xml +++ b/app/src/main/res/drawable/ic_star.xml @@ -8,7 +8,7 @@ android:pathData="M12,2l3.09,6.26l6.91,1.01l-5,4.87l1.18,6.88l-6.18,-3.25l-6.18,3.25l1.18,-6.88l-5,-4.87l6.91,-1.01l3.09,-6.26z" android:strokeLineJoin="round" android:strokeWidth="2" - android:fillColor="#368F73" - android:strokeColor="#368F73" + android:fillColor="?attr/iconsColor" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_star_unfilled.xml b/app/src/main/res/drawable/ic_star_unfilled.xml index 0e338c4c..2ad4c8e9 100644 --- a/app/src/main/res/drawable/ic_star_unfilled.xml +++ b/app/src/main/res/drawable/ic_star_unfilled.xml @@ -9,6 +9,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_tool.xml b/app/src/main/res/drawable/ic_tool.xml index e4cce1e7..cec91fef 100644 --- a/app/src/main/res/drawable/ic_tool.xml +++ b/app/src/main/res/drawable/ic_tool.xml @@ -8,6 +8,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368f73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_unlock.xml b/app/src/main/res/drawable/ic_unlock.xml index a06f66b2..69322218 100644 --- a/app/src/main/res/drawable/ic_unlock.xml +++ b/app/src/main/res/drawable/ic_unlock.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_unwatch.xml b/app/src/main/res/drawable/ic_unwatch.xml index 051d0208..abb78f9f 100644 --- a/app/src/main/res/drawable/ic_unwatch.xml +++ b/app/src/main/res/drawable/ic_unwatch.xml @@ -8,13 +8,13 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="#368F73" + android:strokeColor="?attr/iconsColor" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_verified_user.xml b/app/src/main/res/drawable/ic_verified_user.xml index cc155514..fe957909 100644 --- a/app/src/main/res/drawable/ic_verified_user.xml +++ b/app/src/main/res/drawable/ic_verified_user.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_warning.xml b/app/src/main/res/drawable/ic_warning.xml index e5541c63..53514f5b 100644 --- a/app/src/main/res/drawable/ic_warning.xml +++ b/app/src/main/res/drawable/ic_warning.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_watchers.xml b/app/src/main/res/drawable/ic_watchers.xml index f585f63e..d4f40478 100644 --- a/app/src/main/res/drawable/ic_watchers.xml +++ b/app/src/main/res/drawable/ic_watchers.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/shape_badge_background.xml b/app/src/main/res/drawable/shape_badge_background.xml index 79c7f015..896ae05a 100644 --- a/app/src/main/res/drawable/shape_badge_background.xml +++ b/app/src/main/res/drawable/shape_badge_background.xml @@ -4,11 +4,11 @@ + android:color="?attr/iconsColor"/> - \ No newline at end of file + diff --git a/app/src/main/res/drawable/shape_circle.xml b/app/src/main/res/drawable/shape_circle.xml index 63a896ff..a9381f54 100644 --- a/app/src/main/res/drawable/shape_circle.xml +++ b/app/src/main/res/drawable/shape_circle.xml @@ -2,5 +2,5 @@ + android:color="?attr/iconsColor"/> diff --git a/app/src/main/res/drawable/shape_dropdown.xml b/app/src/main/res/drawable/shape_dropdown.xml index 9974acb5..f967901c 100644 --- a/app/src/main/res/drawable/shape_dropdown.xml +++ b/app/src/main/res/drawable/shape_dropdown.xml @@ -18,4 +18,4 @@ android:shape="rectangle"> android:bottom="0dp"> - \ No newline at end of file + diff --git a/app/src/main/res/layout/activity_file_diff.xml b/app/src/main/res/layout/activity_file_diff.xml index 1ebc36b5..9c465288 100644 --- a/app/src/main/res/layout/activity_file_diff.xml +++ b/app/src/main/res/layout/activity_file_diff.xml @@ -1,9 +1,9 @@ @@ -61,13 +61,11 @@ - + android:layout_width="match_parent" + android:layout_height="wrap_content" + style="@style/Widget.MaterialComponents.ProgressIndicator.Linear.Indeterminate" + app:indicatorColor="?attr/progressIndicatorColor" /> diff --git a/app/src/main/res/layout/activity_issue_detail.xml b/app/src/main/res/layout/activity_issue_detail.xml index b0e62fb4..80efb9cd 100644 --- a/app/src/main/res/layout/activity_issue_detail.xml +++ b/app/src/main/res/layout/activity_issue_detail.xml @@ -48,7 +48,7 @@ android:text="@string/commentButtonText" android:contentDescription="@string/commentButtonText" android:textColor="@color/colorWhite" - android:backgroundTint="@color/darkGreen" + android:backgroundTint="?attr/fabColor" android:layout_gravity="bottom|end" app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" app:iconTint="@color/colorWhite" diff --git a/app/src/main/res/layout/activity_org_detail.xml b/app/src/main/res/layout/activity_org_detail.xml index 23ab3bce..ef9bb36c 100644 --- a/app/src/main/res/layout/activity_org_detail.xml +++ b/app/src/main/res/layout/activity_org_detail.xml @@ -40,6 +40,7 @@ app:tabMode="scrollable" app:tabTextColor="?attr/primaryTextColor" android:background="?attr/primaryBackgroundColor" + app:tabIndicatorColor="?attr/pagerTabIndicatorColor" android:layout_width="match_parent" android:layout_height="wrap_content"> diff --git a/app/src/main/res/layout/activity_repo_detail.xml b/app/src/main/res/layout/activity_repo_detail.xml index 1b7a3d20..20e62336 100644 --- a/app/src/main/res/layout/activity_repo_detail.xml +++ b/app/src/main/res/layout/activity_repo_detail.xml @@ -41,7 +41,7 @@ android:layout_width="match_parent" android:background="?attr/primaryBackgroundColor" app:tabTextColor="?attr/primaryTextColor" - app:tabIndicatorColor="@color/darkGreen" + app:tabIndicatorColor="?attr/pagerTabIndicatorColor" android:layout_height="wrap_content"> + android:textSize="16sp" /> diff --git a/app/src/main/res/layout/custom_user_accounts_list.xml b/app/src/main/res/layout/custom_user_accounts_list.xml index 5df00a9c..4809bf39 100644 --- a/app/src/main/res/layout/custom_user_accounts_list.xml +++ b/app/src/main/res/layout/custom_user_accounts_list.xml @@ -31,7 +31,7 @@ android:layout_weight=".95" android:layout_gravity="start" android:textColor="?attr/primaryTextColor" - android:textSize="14sp" + android:textSize="16sp" android:textStyle="bold" /> + android:textSize="16sp" /> diff --git a/app/src/main/res/layout/fragment_my_repositories.xml b/app/src/main/res/layout/fragment_my_repositories.xml index d8d2c16b..8c4b141b 100644 --- a/app/src/main/res/layout/fragment_my_repositories.xml +++ b/app/src/main/res/layout/fragment_my_repositories.xml @@ -48,7 +48,7 @@ android:text="@string/pageTitleNewRepo" android:contentDescription="@string/pageTitleNewRepo" android:textColor="@color/colorWhite" - android:backgroundTint="@color/darkGreen" + android:backgroundTint="?attr/fabColor" app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" app:iconTint="@color/colorWhite" app:icon="@drawable/ic_add" /> diff --git a/app/src/main/res/layout/fragment_notifications.xml b/app/src/main/res/layout/fragment_notifications.xml index 2ec2b49c..88442a5a 100644 --- a/app/src/main/res/layout/fragment_notifications.xml +++ b/app/src/main/res/layout/fragment_notifications.xml @@ -55,7 +55,7 @@ android:text="@string/markAsRead" android:contentDescription="@string/markAsRead" android:textColor="@color/colorWhite" - android:backgroundTint="@color/darkGreen" + android:backgroundTint="?attr/fabColor" app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" app:iconTint="@color/colorWhite" app:icon="@drawable/ic_done" /> diff --git a/app/src/main/res/layout/fragment_organizations.xml b/app/src/main/res/layout/fragment_organizations.xml index 27c50655..d14654ef 100644 --- a/app/src/main/res/layout/fragment_organizations.xml +++ b/app/src/main/res/layout/fragment_organizations.xml @@ -46,7 +46,7 @@ android:text="@string/pageTitleCreateOrganization" android:contentDescription="@string/pageTitleCreateOrganization" android:textColor="@color/colorWhite" - android:backgroundTint="@color/darkGreen" + android:backgroundTint="?attr/fabColor" app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" app:iconTint="@color/colorWhite" app:icon="@drawable/ic_add" /> diff --git a/app/src/main/res/layout/fragment_profile.xml b/app/src/main/res/layout/fragment_profile.xml index bfe0a10b..5be95c23 100644 --- a/app/src/main/res/layout/fragment_profile.xml +++ b/app/src/main/res/layout/fragment_profile.xml @@ -111,7 +111,7 @@ android:layout_width="match_parent" app:tabTextColor="?attr/primaryTextColor" android:background="?attr/primaryBackgroundColor" - app:tabIndicatorColor="@color/darkGreen" + app:tabIndicatorColor="?attr/pagerTabIndicatorColor" android:layout_height="wrap_content"> diff --git a/app/src/main/res/layout/fragment_starred_repositories.xml b/app/src/main/res/layout/fragment_starred_repositories.xml index 3044e1e0..a3b7ea53 100644 --- a/app/src/main/res/layout/fragment_starred_repositories.xml +++ b/app/src/main/res/layout/fragment_starred_repositories.xml @@ -48,7 +48,7 @@ android:text="@string/pageTitleNewRepo" android:contentDescription="@string/pageTitleNewRepo" android:textColor="@color/colorWhite" - android:backgroundTint="@color/darkGreen" + android:backgroundTint="?attr/fabColor" app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" app:iconTint="@color/colorWhite" app:icon="@drawable/ic_add" /> diff --git a/app/src/main/res/layout/fragment_user_accounts.xml b/app/src/main/res/layout/fragment_user_accounts.xml index 69e8abc3..1b9058bd 100644 --- a/app/src/main/res/layout/fragment_user_accounts.xml +++ b/app/src/main/res/layout/fragment_user_accounts.xml @@ -30,7 +30,7 @@ android:text="@string/addNewAccount" android:contentDescription="@string/addNewAccount" android:textColor="@color/colorWhite" - android:backgroundTint="@color/darkGreen" + android:backgroundTint="?attr/fabColor" app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior" app:iconTint="@color/colorWhite" app:icon="@drawable/ic_add" /> diff --git a/app/src/main/res/layout/list_files.xml b/app/src/main/res/layout/list_files.xml index c4a18e5b..cf59bc16 100644 --- a/app/src/main/res/layout/list_files.xml +++ b/app/src/main/res/layout/list_files.xml @@ -13,19 +13,45 @@ android:layout_height="wrap_content" android:visibility="invisible" /> - + + + + + + + + + + android:padding="16dp"> + + + + + android:textColor="?attr/colorPrimary" /> diff --git a/app/src/main/res/values-v23/themes.xml b/app/src/main/res/values-v23/themes.xml index e8fe3576..eebcf4cf 100644 --- a/app/src/main/res/values-v23/themes.xml +++ b/app/src/main/res/values-v23/themes.xml @@ -1,6 +1,7 @@ + + + + + + diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index c1028eb7..268fa6c6 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -12,4 +12,7 @@ + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 7d83a385..10192bf5 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -35,8 +35,19 @@ #e0e0e0 #646565 #f9f9f9 - #b6bbbf + #f2f2f2 #212121 #dbdbdb + #fad6d6 + #d0f7d9 + #d8d8d8 + #212f3c + #fcfcfc + #f2f2f2 + #6200EE + #dbdbdb + #6200EE + #03DAC6 + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 4d758fe6..d58a6b13 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -30,6 +30,9 @@ @style/AppThemeDarkBottomSheetDialog @style/AppSearchViewStyle @color/darkGreen + @color/darkGreen + @color/darkGreen + @color/darkGreen @@ -62,9 +65,47 @@ @style/AppThemeLightBottomSheetDialog @style/AppSearchViewStyle @color/darkGreen + @color/darkGreen + @color/darkGreen + @color/darkGreen + + + + + + + + + + + + + + + + + + + +