diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultFragment.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultFragment.kt index 6e73246c..4ec0d152 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultFragment.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultFragment.kt @@ -196,7 +196,7 @@ class ResultFragment : Fragment() { super.onResume() activity?.let { it.window?.navigationBarColor = - it.colorFromAttribute(R.attr.bitDarkerGrayBackground) + it.colorFromAttribute(R.attr.primaryBlackBackground) } } @@ -260,7 +260,7 @@ class ResultFragment : Fragment() { hideKeyboard() activity?.fixPaddingStatusbar(result_scroll) - activity?.fixPaddingStatusbar(result_barstatus) + //activity?.fixPaddingStatusbar(result_barstatus) val backParameter = result_back.layoutParams as CoordinatorLayout.LayoutParams backParameter.setMargins( @@ -317,10 +317,10 @@ class ResultFragment : Fragment() { result_back.visibility = if (setAlpha > 0) VISIBLE else GONE }) - result_toolbar.setNavigationIcon(R.drawable.ic_baseline_arrow_back_24) - result_toolbar.setNavigationOnClickListener { - activity?.onBackPressed() - } + // result_toolbar.setNavigationIcon(R.drawable.ic_baseline_arrow_back_24) + // result_toolbar.setNavigationOnClickListener { + // activity?.onBackPressed() + // } result_back.setOnClickListener { activity?.popCurrentPage() @@ -986,7 +986,7 @@ class ResultFragment : Fragment() { handleAction(EpisodeClickEvent(ACTION_SHOW_OPTIONS, card)) return@setOnLongClickListener true } - + // result_options.setOnClickListener { // val card = currentEpisodes?.first() ?: return@setOnClickListener // handleAction(EpisodeClickEvent(ACTION_SHOW_OPTIONS, card)) @@ -1055,7 +1055,7 @@ class ResultFragment : Fragment() { //val titleName = (if (preferEnglish) d.engName else d.japName) ?: d.name val titleName = d.name result_title.text = titleName - result_toolbar.title = titleName + //result_toolbar.title = titleName } else -> result_title.text = d.name } diff --git a/app/src/main/res/drawable/background_shadow.xml b/app/src/main/res/drawable/background_shadow.xml index c916ec06..a7c7f3cb 100644 --- a/app/src/main/res/drawable/background_shadow.xml +++ b/app/src/main/res/drawable/background_shadow.xml @@ -3,5 +3,5 @@ + android:endColor="?attr/primaryBlackBackground"/> \ No newline at end of file diff --git a/app/src/main/res/drawable/dialog__window_background.xml b/app/src/main/res/drawable/dialog__window_background.xml index ccb9fb5b..efb44061 100644 --- a/app/src/main/res/drawable/dialog__window_background.xml +++ b/app/src/main/res/drawable/dialog__window_background.xml @@ -2,6 +2,6 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/material_outline_background.xml b/app/src/main/res/drawable/material_outline_background.xml index a9d66572..c7094ac4 100644 --- a/app/src/main/res/drawable/material_outline_background.xml +++ b/app/src/main/res/drawable/material_outline_background.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/outline_card.xml b/app/src/main/res/drawable/outline_card.xml index ef6f6bb5..442c662e 100644 --- a/app/src/main/res/drawable/outline_card.xml +++ b/app/src/main/res/drawable/outline_card.xml @@ -14,7 +14,7 @@ - + diff --git a/app/src/main/res/drawable/rounded_dialog.xml b/app/src/main/res/drawable/rounded_dialog.xml index 46d65f11..d3b48839 100644 --- a/app/src/main/res/drawable/rounded_dialog.xml +++ b/app/src/main/res/drawable/rounded_dialog.xml @@ -1,7 +1,7 @@ - + diff --git a/app/src/main/res/drawable/splash_background.xml b/app/src/main/res/drawable/splash_background.xml index c7ff778c..a12c3918 100644 --- a/app/src/main/res/drawable/splash_background.xml +++ b/app/src/main/res/drawable/splash_background.xml @@ -1,7 +1,7 @@ - + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 26ac8daa..7f949ab5 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -16,7 +16,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:background="?attr/darkBackground" - app:itemRippleColor="@color/colorRipple" + app:labelVisibilityMode="labeled" app:layout_constraintLeft_toLeftOf="parent" diff --git a/app/src/main/res/layout/bottom_selection_dialog.xml b/app/src/main/res/layout/bottom_selection_dialog.xml index e4eba7cf..3ec47217 100644 --- a/app/src/main/res/layout/bottom_selection_dialog.xml +++ b/app/src/main/res/layout/bottom_selection_dialog.xml @@ -4,7 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" - android:background="?attr/bitDarkerGrayBackground" + android:background="?attr/primaryBlackBackground" android:layout_height="match_parent"> @@ -32,12 +32,12 @@ android:visibility="visible" android:textStyle="bold" - app:rippleColor="?attr/grayBackground" - android:textColor="?attr/grayBackground" - app:iconTint="?attr/grayBackground" + app:rippleColor="?attr/iconGrayBackground" + android:textColor="?attr/iconGrayBackground" + app:iconTint="?attr/iconGrayBackground" android:textAllCaps="false" app:iconGravity="textStart" - app:strokeColor="?attr/grayBackground" + app:strokeColor="?attr/iconGrayBackground" app:backgroundTint="?attr/textColor" app:icon="@drawable/ic_baseline_autorenew_24" @@ -57,7 +57,7 @@ app:iconGravity="textStart" app:strokeColor="?attr/textColor" - android:backgroundTint="?attr/grayBackground" + android:backgroundTint="?attr/iconGrayBackground" app:rippleColor="?attr/textColor" android:textColor="?attr/textColor" app:iconTint="?attr/textColor" @@ -91,22 +91,6 @@ android:id="@+id/result_finish_loading" android:layout_width="match_parent" android:layout_height="match_parent"> - - - - @@ -410,7 +394,7 @@ android:id="@+id/result_season_button" tools:text="Season 1" - app:rippleColor="?attr/grayBackground" + app:rippleColor="?attr/iconGrayBackground" android:textColor="?attr/textColor" app:iconTint="?attr/textColor" android:textAllCaps="false" @@ -427,7 +411,7 @@ android:id="@+id/result_episode_select" tools:text="50-100" - app:rippleColor="?attr/grayBackground" + app:rippleColor="?attr/iconGrayBackground" android:textColor="?attr/textColor" app:iconTint="?attr/textColor" android:textAllCaps="false" @@ -466,7 +450,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> #1E1E32 #F53B66 #3700B3 #3b65f5 - #2B2C30 - #111111 - #1C1C20 + #2B2C30 + #111111 + #1C1C20 #161616 #e9eaee diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 40e34584..46be92b1 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,16 +1,12 @@ -