From 36774620dbeaf77b4be824677b4dd8385b356b04 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Tue, 7 Jan 2020 17:27:05 +0500 Subject: [PATCH 01/14] initial work on adding new theme --- app/src/main/AndroidManifest.xml | 3 +- .../mian/gitnex/activities/BaseActivity.java | 3 ++ .../mian/gitnex/activities/MainActivity.java | 5 +-- .../gitnex/activities/NewRepoActivity.java | 10 ++++-- app/src/main/res/drawable/circle.xml | 2 +- app/src/main/res/drawable/ic_add_person.xml | 2 +- app/src/main/res/drawable/ic_android.xml | 2 +- app/src/main/res/drawable/ic_arrow_down.xml | 2 +- app/src/main/res/drawable/ic_arrow_up.xml | 2 +- app/src/main/res/drawable/ic_calendar.xml | 2 +- app/src/main/res/drawable/ic_check.xml | 2 +- app/src/main/res/drawable/ic_close.xml | 2 +- app/src/main/res/drawable/ic_color.xml | 2 +- app/src/main/res/drawable/ic_comment.xml | 2 +- app/src/main/res/drawable/ic_comment_16.xml | 2 +- app/src/main/res/drawable/ic_comment_20.xml | 2 +- app/src/main/res/drawable/ic_content_copy.xml | 2 +- app/src/main/res/drawable/ic_delete.xml | 2 +- app/src/main/res/drawable/ic_done.xml | 2 +- app/src/main/res/drawable/ic_dotted_menu.xml | 2 +- .../drawable/ic_dotted_menu_horizontal.xml | 2 +- app/src/main/res/drawable/ic_edit.xml | 2 +- app/src/main/res/drawable/ic_email.xml | 2 +- app/src/main/res/drawable/ic_exit_24dp.xml | 2 +- app/src/main/res/drawable/ic_file.xml | 2 +- app/src/main/res/drawable/ic_file_new.xml | 2 +- app/src/main/res/drawable/ic_filter.xml | 2 +- app/src/main/res/drawable/ic_folder_24.xml | 2 +- app/src/main/res/drawable/ic_forks_24.xml | 2 +- app/src/main/res/drawable/ic_home_24dp.xml | 2 +- app/src/main/res/drawable/ic_info_24dp.xml | 2 +- .../res/drawable/ic_info_outline_24dp.xml | 2 +- app/src/main/res/drawable/ic_issue_closed.xml | 2 +- .../main/res/drawable/ic_issue_comments.xml | 2 +- app/src/main/res/drawable/ic_issue_open.xml | 2 +- .../main/res/drawable/ic_issue_open_white.xml | 2 +- app/src/main/res/drawable/ic_issues.xml | 2 +- app/src/main/res/drawable/ic_label.xml | 2 +- app/src/main/res/drawable/ic_language.xml | 2 +- app/src/main/res/drawable/ic_link_24dp.xml | 2 +- app/src/main/res/drawable/ic_lock_24dp.xml | 2 +- app/src/main/res/drawable/ic_lock_bold.xml | 2 +- app/src/main/res/drawable/ic_lock_open.xml | 2 +- app/src/main/res/drawable/ic_merge.xml | 2 +- app/src/main/res/drawable/ic_milestone.xml | 2 +- .../main/res/drawable/ic_my_repositories.xml | 2 +- app/src/main/res/drawable/ic_new_releases.xml | 2 +- .../main/res/drawable/ic_open_in_browser.xml | 2 +- .../main/res/drawable/ic_organizations.xml | 2 +- app/src/main/res/drawable/ic_otp.xml | 2 +- app/src/main/res/drawable/ic_person_24dp.xml | 2 +- .../main/res/drawable/ic_person_filled.xml | 2 +- app/src/main/res/drawable/ic_public.xml | 2 +- .../main/res/drawable/ic_question_mark_24.xml | 2 +- app/src/main/res/drawable/ic_reopen.xml | 2 +- app/src/main/res/drawable/ic_reply.xml | 2 +- app/src/main/res/drawable/ic_repos.xml | 2 +- app/src/main/res/drawable/ic_search.xml | 2 +- .../main/res/drawable/ic_settings_24dp.xml | 2 +- app/src/main/res/drawable/ic_star.xml | 2 +- .../main/res/drawable/ic_star_border_24dp.xml | 2 +- .../main/res/drawable/ic_thumb_up_like.xml | 2 +- app/src/main/res/drawable/ic_unwatch.xml | 4 +-- app/src/main/res/drawable/ic_users.xml | 2 +- .../main/res/drawable/ic_verified_user.xml | 2 +- app/src/main/res/drawable/ic_warning.xml | 2 +- app/src/main/res/drawable/ic_watchers.xml | 2 +- app/src/main/res/layout/activity_main.xml | 11 ++++--- app/src/main/res/layout/activity_new_repo.xml | 31 +++++++++---------- app/src/main/res/layout/fragment_about.xml | 19 ++++++------ .../main/res/layout/fragment_repositories.xml | 4 +-- app/src/main/res/layout/repos_list.xml | 15 +++++---- app/src/main/res/values-v21/styles.xml | 8 ----- app/src/main/res/values/attrs.xml | 5 +++ app/src/main/res/values/colors.xml | 3 ++ app/src/main/res/values/styles.xml | 9 ------ app/src/main/res/values/themes.xml | 22 +++++++++++++ 77 files changed, 147 insertions(+), 129 deletions(-) create mode 100644 app/src/main/res/values/attrs.xml create mode 100644 app/src/main/res/values/themes.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b317cb1f..a13a7e14 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -11,8 +11,7 @@ android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/app_logo_round" - android:supportsRtl="true" - android:theme="@style/AppTheme"> + android:supportsRtl="true"> orgsList = new ArrayList<>(); @Override - protected void onCreate(Bundle savedInstanceState) { + protected int getLayoutResourceId(){ + return R.layout.activity_new_repo; + } + + @Override + public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setContentView(R.layout.activity_new_repo); boolean connToInternet = AppUtil.haveNetworkConnection(getApplicationContext()); diff --git a/app/src/main/res/drawable/circle.xml b/app/src/main/res/drawable/circle.xml index 1fff93db..27c363c7 100644 --- a/app/src/main/res/drawable/circle.xml +++ b/app/src/main/res/drawable/circle.xml @@ -1,5 +1,5 @@ + android:color="@color/darkGreen"/> \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_add_person.xml b/app/src/main/res/drawable/ic_add_person.xml index c273ca40..4ffbfd7b 100644 --- a/app/src/main/res/drawable/ic_add_person.xml +++ b/app/src/main/res/drawable/ic_add_person.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_android.xml b/app/src/main/res/drawable/ic_android.xml index 8d3fd387..75126b08 100644 --- a/app/src/main/res/drawable/ic_android.xml +++ b/app/src/main/res/drawable/ic_android.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_arrow_down.xml b/app/src/main/res/drawable/ic_arrow_down.xml index 3d577786..7b5745b0 100644 --- a/app/src/main/res/drawable/ic_arrow_down.xml +++ b/app/src/main/res/drawable/ic_arrow_down.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_arrow_up.xml b/app/src/main/res/drawable/ic_arrow_up.xml index bc010396..a8148237 100644 --- a/app/src/main/res/drawable/ic_arrow_up.xml +++ b/app/src/main/res/drawable/ic_arrow_up.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_calendar.xml b/app/src/main/res/drawable/ic_calendar.xml index 9f2745e4..bb4524e6 100644 --- a/app/src/main/res/drawable/ic_calendar.xml +++ b/app/src/main/res/drawable/ic_calendar.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_check.xml b/app/src/main/res/drawable/ic_check.xml index 17aca2af..cbaa42cd 100644 --- a/app/src/main/res/drawable/ic_check.xml +++ b/app/src/main/res/drawable/ic_check.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_close.xml b/app/src/main/res/drawable/ic_close.xml index 0c8775c4..32323cf0 100644 --- a/app/src/main/res/drawable/ic_close.xml +++ b/app/src/main/res/drawable/ic_close.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_color.xml b/app/src/main/res/drawable/ic_color.xml index 4abeea58..ace41e5f 100644 --- a/app/src/main/res/drawable/ic_color.xml +++ b/app/src/main/res/drawable/ic_color.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_comment.xml b/app/src/main/res/drawable/ic_comment.xml index efb7e76a..8aebe804 100644 --- a/app/src/main/res/drawable/ic_comment.xml +++ b/app/src/main/res/drawable/ic_comment.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_comment_16.xml b/app/src/main/res/drawable/ic_comment_16.xml index 186a57d7..48d25d22 100644 --- a/app/src/main/res/drawable/ic_comment_16.xml +++ b/app/src/main/res/drawable/ic_comment_16.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_comment_20.xml b/app/src/main/res/drawable/ic_comment_20.xml index 8a5e73a5..e776fbea 100644 --- a/app/src/main/res/drawable/ic_comment_20.xml +++ b/app/src/main/res/drawable/ic_comment_20.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_content_copy.xml b/app/src/main/res/drawable/ic_content_copy.xml index 62ad9539..cf704c38 100644 --- a/app/src/main/res/drawable/ic_content_copy.xml +++ b/app/src/main/res/drawable/ic_content_copy.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_delete.xml b/app/src/main/res/drawable/ic_delete.xml index 8bed121a..e892e7c0 100644 --- a/app/src/main/res/drawable/ic_delete.xml +++ b/app/src/main/res/drawable/ic_delete.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_done.xml b/app/src/main/res/drawable/ic_done.xml index 2479e86c..421be914 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 c097d3e4..52b9c2ca 100644 --- a/app/src/main/res/drawable/ic_dotted_menu.xml +++ b/app/src/main/res/drawable/ic_dotted_menu.xml @@ -1,4 +1,4 @@ - 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 bc4c55ab..3c2bb154 100644 --- a/app/src/main/res/drawable/ic_dotted_menu_horizontal.xml +++ b/app/src/main/res/drawable/ic_dotted_menu_horizontal.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_edit.xml b/app/src/main/res/drawable/ic_edit.xml index 46462b57..ab20cd1e 100644 --- a/app/src/main/res/drawable/ic_edit.xml +++ b/app/src/main/res/drawable/ic_edit.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_email.xml b/app/src/main/res/drawable/ic_email.xml index 79199e39..8ce97f0c 100644 --- a/app/src/main/res/drawable/ic_email.xml +++ b/app/src/main/res/drawable/ic_email.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_exit_24dp.xml b/app/src/main/res/drawable/ic_exit_24dp.xml index e233f593..78f89ebd 100644 --- a/app/src/main/res/drawable/ic_exit_24dp.xml +++ b/app/src/main/res/drawable/ic_exit_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_file.xml b/app/src/main/res/drawable/ic_file.xml index a431a5e9..dba37435 100644 --- a/app/src/main/res/drawable/ic_file.xml +++ b/app/src/main/res/drawable/ic_file.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_file_new.xml b/app/src/main/res/drawable/ic_file_new.xml index 65334152..489e3ec0 100644 --- a/app/src/main/res/drawable/ic_file_new.xml +++ b/app/src/main/res/drawable/ic_file_new.xml @@ -6,6 +6,6 @@ android:viewportHeight="16" tools:ignore="VectorRaster"> diff --git a/app/src/main/res/drawable/ic_filter.xml b/app/src/main/res/drawable/ic_filter.xml index 5d4ec18e..e1f8fb45 100644 --- a/app/src/main/res/drawable/ic_filter.xml +++ b/app/src/main/res/drawable/ic_filter.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_folder_24.xml b/app/src/main/res/drawable/ic_folder_24.xml index 82347288..0e4fa59c 100644 --- a/app/src/main/res/drawable/ic_folder_24.xml +++ b/app/src/main/res/drawable/ic_folder_24.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_forks_24.xml b/app/src/main/res/drawable/ic_forks_24.xml index 052486c6..25ac239f 100644 --- a/app/src/main/res/drawable/ic_forks_24.xml +++ b/app/src/main/res/drawable/ic_forks_24.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_home_24dp.xml b/app/src/main/res/drawable/ic_home_24dp.xml index 30296ba9..2c735000 100644 --- a/app/src/main/res/drawable/ic_home_24dp.xml +++ b/app/src/main/res/drawable/ic_home_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_info_24dp.xml b/app/src/main/res/drawable/ic_info_24dp.xml index 7be01472..f28cf03e 100644 --- a/app/src/main/res/drawable/ic_info_24dp.xml +++ b/app/src/main/res/drawable/ic_info_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_info_outline_24dp.xml b/app/src/main/res/drawable/ic_info_outline_24dp.xml index af0d4d06..5fcf7402 100644 --- a/app/src/main/res/drawable/ic_info_outline_24dp.xml +++ b/app/src/main/res/drawable/ic_info_outline_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_issue_closed.xml b/app/src/main/res/drawable/ic_issue_closed.xml index 7cdc15de..f60d56e6 100644 --- a/app/src/main/res/drawable/ic_issue_closed.xml +++ b/app/src/main/res/drawable/ic_issue_closed.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_issue_comments.xml b/app/src/main/res/drawable/ic_issue_comments.xml index 55b04ab1..4b253fc4 100644 --- a/app/src/main/res/drawable/ic_issue_comments.xml +++ b/app/src/main/res/drawable/ic_issue_comments.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_issue_open.xml b/app/src/main/res/drawable/ic_issue_open.xml index d191ba92..7180582e 100644 --- a/app/src/main/res/drawable/ic_issue_open.xml +++ b/app/src/main/res/drawable/ic_issue_open.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_issue_open_white.xml b/app/src/main/res/drawable/ic_issue_open_white.xml index d191ba92..7180582e 100644 --- a/app/src/main/res/drawable/ic_issue_open_white.xml +++ b/app/src/main/res/drawable/ic_issue_open_white.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_issues.xml b/app/src/main/res/drawable/ic_issues.xml index 93db1791..d7b44e88 100644 --- a/app/src/main/res/drawable/ic_issues.xml +++ b/app/src/main/res/drawable/ic_issues.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_label.xml b/app/src/main/res/drawable/ic_label.xml index eb94181d..580cc961 100644 --- a/app/src/main/res/drawable/ic_label.xml +++ b/app/src/main/res/drawable/ic_label.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_language.xml b/app/src/main/res/drawable/ic_language.xml index 74bc2790..26a7bf52 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_link_24dp.xml b/app/src/main/res/drawable/ic_link_24dp.xml index cb9fa025..cfb3de32 100644 --- a/app/src/main/res/drawable/ic_link_24dp.xml +++ b/app/src/main/res/drawable/ic_link_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_lock_24dp.xml b/app/src/main/res/drawable/ic_lock_24dp.xml index 3d9f5431..c8826764 100644 --- a/app/src/main/res/drawable/ic_lock_24dp.xml +++ b/app/src/main/res/drawable/ic_lock_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_lock_bold.xml b/app/src/main/res/drawable/ic_lock_bold.xml index 146c066b..c6daf188 100644 --- a/app/src/main/res/drawable/ic_lock_bold.xml +++ b/app/src/main/res/drawable/ic_lock_bold.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_lock_open.xml b/app/src/main/res/drawable/ic_lock_open.xml index 6c09b2a9..f8ba66a2 100644 --- a/app/src/main/res/drawable/ic_lock_open.xml +++ b/app/src/main/res/drawable/ic_lock_open.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_merge.xml b/app/src/main/res/drawable/ic_merge.xml index 35cdcf9e..4f3b8225 100644 --- a/app/src/main/res/drawable/ic_merge.xml +++ b/app/src/main/res/drawable/ic_merge.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_milestone.xml b/app/src/main/res/drawable/ic_milestone.xml index 5fa11896..a04d7e2e 100644 --- a/app/src/main/res/drawable/ic_milestone.xml +++ b/app/src/main/res/drawable/ic_milestone.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_my_repositories.xml b/app/src/main/res/drawable/ic_my_repositories.xml index e51e7a7a..52e62dad 100644 --- a/app/src/main/res/drawable/ic_my_repositories.xml +++ b/app/src/main/res/drawable/ic_my_repositories.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_new_releases.xml b/app/src/main/res/drawable/ic_new_releases.xml index 36c3b630..6df66f71 100644 --- a/app/src/main/res/drawable/ic_new_releases.xml +++ b/app/src/main/res/drawable/ic_new_releases.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_open_in_browser.xml b/app/src/main/res/drawable/ic_open_in_browser.xml index 3fb9799c..0e583b3c 100644 --- a/app/src/main/res/drawable/ic_open_in_browser.xml +++ b/app/src/main/res/drawable/ic_open_in_browser.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_organizations.xml b/app/src/main/res/drawable/ic_organizations.xml index 7fa7a3c0..6e17c51c 100644 --- a/app/src/main/res/drawable/ic_organizations.xml +++ b/app/src/main/res/drawable/ic_organizations.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_otp.xml b/app/src/main/res/drawable/ic_otp.xml index 56aad2a4..a69c1eaa 100644 --- a/app/src/main/res/drawable/ic_otp.xml +++ b/app/src/main/res/drawable/ic_otp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_person_24dp.xml b/app/src/main/res/drawable/ic_person_24dp.xml index 9b1420c9..34c1d163 100644 --- a/app/src/main/res/drawable/ic_person_24dp.xml +++ b/app/src/main/res/drawable/ic_person_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_person_filled.xml b/app/src/main/res/drawable/ic_person_filled.xml index d7366bda..569ebace 100644 --- a/app/src/main/res/drawable/ic_person_filled.xml +++ b/app/src/main/res/drawable/ic_person_filled.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_public.xml b/app/src/main/res/drawable/ic_public.xml index 880e4277..e3f5593c 100644 --- a/app/src/main/res/drawable/ic_public.xml +++ b/app/src/main/res/drawable/ic_public.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_question_mark_24.xml b/app/src/main/res/drawable/ic_question_mark_24.xml index 5ec2577a..c5741a68 100644 --- a/app/src/main/res/drawable/ic_question_mark_24.xml +++ b/app/src/main/res/drawable/ic_question_mark_24.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_reopen.xml b/app/src/main/res/drawable/ic_reopen.xml index cc2d1e04..09f758f0 100644 --- a/app/src/main/res/drawable/ic_reopen.xml +++ b/app/src/main/res/drawable/ic_reopen.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_reply.xml b/app/src/main/res/drawable/ic_reply.xml index 3aff3f9f..9ff78ee1 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_repos.xml b/app/src/main/res/drawable/ic_repos.xml index 0d321254..7773644d 100644 --- a/app/src/main/res/drawable/ic_repos.xml +++ b/app/src/main/res/drawable/ic_repos.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_search.xml b/app/src/main/res/drawable/ic_search.xml index be5ad99c..e5ff5093 100644 --- a/app/src/main/res/drawable/ic_search.xml +++ b/app/src/main/res/drawable/ic_search.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_settings_24dp.xml b/app/src/main/res/drawable/ic_settings_24dp.xml index 79af3ab6..86f0cbd8 100644 --- a/app/src/main/res/drawable/ic_settings_24dp.xml +++ b/app/src/main/res/drawable/ic_settings_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_star.xml b/app/src/main/res/drawable/ic_star.xml index 85c045c0..b47a7cb0 100644 --- a/app/src/main/res/drawable/ic_star.xml +++ b/app/src/main/res/drawable/ic_star.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_star_border_24dp.xml b/app/src/main/res/drawable/ic_star_border_24dp.xml index 3fc251d1..3706f71c 100644 --- a/app/src/main/res/drawable/ic_star_border_24dp.xml +++ b/app/src/main/res/drawable/ic_star_border_24dp.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_thumb_up_like.xml b/app/src/main/res/drawable/ic_thumb_up_like.xml index d9acf750..03ab0483 100644 --- a/app/src/main/res/drawable/ic_thumb_up_like.xml +++ b/app/src/main/res/drawable/ic_thumb_up_like.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_unwatch.xml b/app/src/main/res/drawable/ic_unwatch.xml index 3d2f50d8..3d694e13 100644 --- a/app/src/main/res/drawable/ic_unwatch.xml +++ b/app/src/main/res/drawable/ic_unwatch.xml @@ -1,6 +1,6 @@ - - + + diff --git a/app/src/main/res/drawable/ic_users.xml b/app/src/main/res/drawable/ic_users.xml index 23afe227..bdc23ad1 100644 --- a/app/src/main/res/drawable/ic_users.xml +++ b/app/src/main/res/drawable/ic_users.xml @@ -1,4 +1,4 @@ - diff --git a/app/src/main/res/drawable/ic_verified_user.xml b/app/src/main/res/drawable/ic_verified_user.xml index 1f48d2d9..cc155514 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 29d8a440..e5541c63 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 743220b5..f585f63e 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/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index f31c6bde..92d525a9 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -18,9 +18,9 @@ @@ -31,6 +31,7 @@ android:layout_gravity="center_vertical" android:gravity="center_vertical" android:textSize="18sp" + android:textColor="?attr/primaryTextColor" android:id="@+id/toolbar_title" /> @@ -49,9 +50,9 @@ android:id="@+id/nav_view" app:headerLayout="@layout/nav_header" app:menu="@menu/drawer_menu" - android:background="@color/backgroundColor" - app:itemIconTint="@color/white" + android:background="?attr/primaryBackgroundColor" + app:itemIconTint="?attr/primaryTextColor" app:itemTextAppearance="@style/DrawerIcon" - app:itemTextColor="@color/white" /> + app:itemTextColor="?attr/primaryTextColor" /> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_new_repo.xml b/app/src/main/res/layout/activity_new_repo.xml index 715b7118..8bc338b5 100644 --- a/app/src/main/res/layout/activity_new_repo.xml +++ b/app/src/main/res/layout/activity_new_repo.xml @@ -1,11 +1,10 @@ - + android:background="?attr/primaryBackgroundColor"> @@ -46,7 +45,7 @@ + android:background="?attr/primaryBackgroundColor" > + android:textColorHighlight="?attr/primaryTextColor"/> @@ -119,16 +118,16 @@ android:scrollbars="vertical" android:gravity="top|start" android:textSize="14sp" - android:textColor="@color/colorWhite" - android:textColorHint="@color/colorWhite" + android:textColor="?attr/primaryTextColor" + android:textColorHint="?attr/primaryBackgroundColor" android:inputType="textCapSentences|textMultiLine" - android:textColorHighlight="@color/colorWhite"/> + android:textColorHighlight="?attr/primaryTextColor"/> @@ -141,7 +140,7 @@ android:textSize="16sp" android:layout_marginTop="10dp" android:theme="@style/checkBoxTheme" - android:textColor="@color/colorWhite"/> + android:textColor="?attr/primaryTextColor"/>