From b012a7058d390a7dd09449b0d283408c94c55222 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Thu, 5 Mar 2020 20:23:15 +0500 Subject: [PATCH] Fixes to color styles and layouts --- .../AddRemoveAssigneesActivity.java | 3 +- .../activities/AddRemoveLabelsActivity.java | 3 +- .../main/res/layout/activity_create_issue.xml | 25 +++++++---- .../res/layout/activity_create_new_user.xml | 2 +- .../res/layout/activity_create_release.xml | 33 +++++++++------ .../main/res/layout/activity_edit_issue.xml | 41 +++++++++++-------- .../main/res/layout/activity_issue_detail.xml | 5 +-- app/src/main/res/layout/activity_new_file.xml | 29 ++++++++----- .../res/layout/activity_new_milestone.xml | 2 +- .../res/layout/activity_new_organization.xml | 2 +- .../main/res/layout/activity_org_detail.xml | 6 ++- .../res/layout/activity_reply_to_issue.xml | 10 ++--- .../main/res/layout/activity_repo_detail.xml | 1 + .../main/res/layout/custom_multi_select.xml | 3 +- .../main/res/layout/fragment_explore_repo.xml | 2 +- .../res/layout/fragment_members_by_org.xml | 4 +- .../res/layout/fragment_organization_info.xml | 8 ++-- app/src/main/res/layout/fragment_profile.xml | 1 + .../layout/fragment_repositories_by_org.xml | 4 +- app/src/main/res/layout/multi_select_item.xml | 2 +- .../res/layout/repo_bottom_sheet_layout.xml | 16 +++++++- .../single_issue_bottom_sheet_layout.xml | 16 +++++++- app/src/main/res/values/styles.xml | 16 -------- app/src/main/res/values/themes.xml | 2 + 24 files changed, 139 insertions(+), 97 deletions(-) diff --git a/app/src/main/java/org/mian/gitnex/activities/AddRemoveAssigneesActivity.java b/app/src/main/java/org/mian/gitnex/activities/AddRemoveAssigneesActivity.java index 15722d7e..a973b2a7 100644 --- a/app/src/main/java/org/mian/gitnex/activities/AddRemoveAssigneesActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/AddRemoveAssigneesActivity.java @@ -6,7 +6,6 @@ import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.util.Log; -import android.view.Window; import com.google.gson.JsonElement; import org.mian.gitnex.R; import org.mian.gitnex.clients.RetrofitClient; @@ -45,7 +44,7 @@ public class AddRemoveAssigneesActivity extends BaseActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - supportRequestWindowFeature(Window.FEATURE_NO_TITLE); + //supportRequestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().getDecorView().setBackground(new ColorDrawable(Color.TRANSPARENT)); diff --git a/app/src/main/java/org/mian/gitnex/activities/AddRemoveLabelsActivity.java b/app/src/main/java/org/mian/gitnex/activities/AddRemoveLabelsActivity.java index 2c301ab3..62fa57e1 100644 --- a/app/src/main/java/org/mian/gitnex/activities/AddRemoveLabelsActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/AddRemoveLabelsActivity.java @@ -8,7 +8,6 @@ import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.util.Log; -import android.view.Window; import com.google.gson.JsonElement; import org.mian.gitnex.R; import org.mian.gitnex.clients.RetrofitClient; @@ -42,7 +41,7 @@ public class AddRemoveLabelsActivity extends BaseActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - supportRequestWindowFeature(Window.FEATURE_NO_TITLE); + //supportRequestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().getDecorView().setBackground(new ColorDrawable(Color.TRANSPARENT)); diff --git a/app/src/main/res/layout/activity_create_issue.xml b/app/src/main/res/layout/activity_create_issue.xml index 1bec3f36..b294f387 100644 --- a/app/src/main/res/layout/activity_create_issue.xml +++ b/app/src/main/res/layout/activity_create_issue.xml @@ -45,7 +45,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/backgroundColor"> + android:background="?attr/primaryBackgroundColor"> - + android:layout_marginBottom="10dp" > + + + + + android:background="?attr/primaryBackgroundColor"> + android:background="?attr/primaryBackgroundColor"> - + android:layout_marginBottom="10dp" > + + + +