diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 000000000..2fb1a9148 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,30 @@ +## Description +Provide a clear and concise description of what this pull request does. Include the purpose and context for the changes. + +--- +## Changes Made +List the changes introduced in this pull request: + +- +- +- + +--- +## Screenshots (if applicable) +Include screenshots or GIFs to showcase the changes, especially if they impact the UI. + + +--- +## Checklist +Please ensure the following tasks are completed: + +- [ ] I didn't change the code structure. +- [ ] I didn't use Jetpack Compose. +- [ ] I used the same code structure used in the original code +- [ ] PR includes at most one code change to convert the design to CineVerse. +- [ ] My changes have been tested manually and verified. +- [ ] PR includes at most one single feature. + +--- +## Additional Comments +Add any additional information or context about the pull request here. \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..261eeb9e9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.md b/README.md index dda5c0636..736a70785 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,63 @@ -# :clapper: Movie Application - - -## :rocket: Tech stack -- [Hilt dependency injection](https://developer.android.com/training/dependency-injection/hilt-android) -- [Paging library](https://developer.android.com/topic/libraries/architecture/paging/v3-overview) -- [Data Store](https://developer.android.com/jetpack/androidx/releases/datastore) -- [MVVM](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) -- [Room](https://developer.android.com/jetpack/androidx/releases/room) -- [Coroutines](https://developer.android.com/kotlin/coroutines) -- [Data Binding](https://developer.android.com/codelabs/android-databinding#0) -- [Live Data](https://developer.android.com/topic/libraries/architecture/livedata) -- [Navigation](https://developer.android.com/jetpack/androidx/releases/navigation) - -## :notebook: Resources -- [Android course](https://www.youtube.com/playlist?list=PLEPx7DrqAqKBl8IqD6mOCIXuyQqV-8mku) +

Movie Application

+ +

This movie andoid app has been developed with features that allow users to browse movies and series, actors and their works, search for movies, series or actors, add reviews and comments on movies and series, create custom lists such as watch later or favorites, and manage their account through a login and signup.

+ +## Video +

+ + Movie App + +

+ +## Tech stack +- [Hilt dependency injection](https://developer.android.com/training/dependency-injection/hilt-android) to manage dependencies, which can help to improve code quality and maintainability. +- [Paging library](https://developer.android.com/topic/libraries/architecture/paging/v3-overview) to load data in pages, which can improve performance and user experience. +- [Data Store](https://developer.android.com/jetpack/androidx/releases/datastore) to store data locally, which can improve performance and offline support. +- [MVVM](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) to separates the UI from the business logic, which can improve code quality and maintainability. +- [Room](https://developer.android.com/jetpack/androidx/releases/room) to persist data to a database, which can improve performance and data security. +- [Coroutines](https://developer.android.com/kotlin/coroutines) to write asynchronous code, which can improve performance and responsiveness. +- [Data Binding](https://developer.android.com/codelabs/android-databinding#0) to bind data to views, which can improve code quality and maintainability. +- [Live Data](https://developer.android.com/topic/libraries/architecture/livedata) to observe data changes, which can improve code quality and responsiveness. +- [Navigation](https://developer.android.com/jetpack/androidx/releases/navigation) to navigate between screens, which can improve user experience. + +## Features +- Login and signup: Users can create an account and log in to the app to access their lists and preferences across multiple devices. +- Browse movies and series: Users can browse the app to discover new movies and series that are categorized as new, latest, popular, top-rated, or by genre. +- Browse actors and their works: Users can browse actors' profiles and their past work, such as movies and series. +- Search for movies, series or actors: Users can search for specific movies, series, or actors using a search bar with predictive search suggestions. +- Review and comment: Users can add reviews and comments to movies and series, sharing their opinions and thoughts about the content. +- Create custom lists: Users can create custom lists to keep track of the movies and series they want to watch, such as a watch later list or a list of favorites. +- Watch trailers: Users can watch trailers of movies and series to get a glimpse of the content before watching it. + + + +## Contributors + + + + + +## How to build on your environment +Add your [TMDB](https://developers.themoviedb.org/3/getting-started/introduction) API key in local.properties file. +- apiKey=YOUR_API_KEY + +## Download apk +download APK from [here](https://github.com/Salmon-family/MovieApp/releases/tag/1.0.0). + +## License + +```xml +Designed and developed by 2022 EliteDevs + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +``` diff --git a/app/build.gradle b/app/build.gradle index 33436acd9..6f9aa5e77 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -22,6 +22,7 @@ android { buildConfigField "String", "BASE_URL", "\"https://api.themoviedb.org/3/\"" buildConfigField "String", "IMAGE_BASE_PATH", "\"https://image.tmdb.org/t/p/w500\"" buildConfigField "String", "TMDB_SIGNUP_URL", "\"https://www.themoviedb.org/signup\"" + buildConfigField "String", "TMDB_FORGET_PASSWORD_URL", "\"https://www.themoviedb.org/reset-password\"" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/com/karrar/movieapp/data/remote/response/movie/MovieDetailsDto.kt b/app/src/main/java/com/karrar/movieapp/data/remote/response/movie/MovieDetailsDto.kt index ce734b717..8ce8da68d 100644 --- a/app/src/main/java/com/karrar/movieapp/data/remote/response/movie/MovieDetailsDto.kt +++ b/app/src/main/java/com/karrar/movieapp/data/remote/response/movie/MovieDetailsDto.kt @@ -36,7 +36,7 @@ data class MovieDetailsDto( @SerializedName("release_date") val releaseDate: Date? = null, @SerializedName("revenue") - val revenue: Int? = null, + val revenue: Long? = null, @SerializedName("runtime") val runtime: Int? = null, @SerializedName("spoken_languages") diff --git a/app/src/main/java/com/karrar/movieapp/data/remote/service/MovieService.kt b/app/src/main/java/com/karrar/movieapp/data/remote/service/MovieService.kt index d044d9911..ac985a186 100644 --- a/app/src/main/java/com/karrar/movieapp/data/remote/service/MovieService.kt +++ b/app/src/main/java/com/karrar/movieapp/data/remote/service/MovieService.kt @@ -216,6 +216,7 @@ interface MovieService { @GET("tv/{tv_id}/season/{season_number}") suspend fun getSeasonDetails( @Path("tv_id") tvShowId: Int, + @Path("season_number") seasonId: Int, ): Response @GET("tv/{tv_id}/videos") diff --git a/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepository.kt b/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepository.kt index bcd0dbec5..44a6ec202 100644 --- a/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepository.kt +++ b/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepository.kt @@ -56,7 +56,7 @@ interface SeriesRepository { suspend fun getRatedTvShow(): List? - suspend fun getSeasonDetails(tvShowId: Int): List? + suspend fun getSeasonDetails(tvShowId: Int, seasonId: Int): List? suspend fun deleteTvShowRating(tvId: Int): RatingDto? diff --git a/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepositoryImp.kt b/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepositoryImp.kt index 86e6db1aa..8e534ba48 100644 --- a/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepositoryImp.kt +++ b/app/src/main/java/com/karrar/movieapp/data/repository/SeriesRepositoryImp.kt @@ -207,8 +207,8 @@ class SeriesRepositoryImp @Inject constructor( return service.getRatedTvShow().body()?.items } - override suspend fun getSeasonDetails(tvShowId: Int): List? { - return service.getSeasonDetails(tvShowId).body()?.episodes + override suspend fun getSeasonDetails(tvShowId: Int, seasonId: Int): List? { + return service.getSeasonDetails(tvShowId, seasonId).body()?.episodes } override suspend fun deleteTvShowRating(tvId: Int): RatingDto? { diff --git a/app/src/main/java/com/karrar/movieapp/domain/usecases/tvShowDetails/GetSeasonsEpisodesUseCase.kt b/app/src/main/java/com/karrar/movieapp/domain/usecases/tvShowDetails/GetSeasonsEpisodesUseCase.kt index e780a5244..6cdf48437 100644 --- a/app/src/main/java/com/karrar/movieapp/domain/usecases/tvShowDetails/GetSeasonsEpisodesUseCase.kt +++ b/app/src/main/java/com/karrar/movieapp/domain/usecases/tvShowDetails/GetSeasonsEpisodesUseCase.kt @@ -9,7 +9,7 @@ class GetSeasonsEpisodesUseCase @Inject constructor( private val seriesRepository: SeriesRepository, private val episodeMapper: EpisodeMapper, ) { - suspend operator fun invoke(tvShowId: Int): List { - return seriesRepository.getSeasonDetails(tvShowId)?.map(episodeMapper::map) ?: emptyList() + suspend operator fun invoke(tvShowId: Int, seasonId: Int): List { + return seriesRepository.getSeasonDetails(tvShowId, seasonId)?.map(episodeMapper::map) ?: emptyList() } } \ No newline at end of file diff --git a/app/src/main/java/com/karrar/movieapp/ui/login/LoginFragment.kt b/app/src/main/java/com/karrar/movieapp/ui/login/LoginFragment.kt index 3c29078db..31ccb7970 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/login/LoginFragment.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/login/LoginFragment.kt @@ -30,11 +30,18 @@ class LoginFragment : BaseFragment() { is LoginUIEvent.LoginEvent -> { findNavController().navigate(LoginFragmentDirections.actionLoginFragmentToProfileFragment()) } + LoginUIEvent.SignUpEvent -> { val browserIntent = Intent(Intent.ACTION_VIEW, Uri.parse(BuildConfig.TMDB_SIGNUP_URL)) startActivity(browserIntent) } + + LoginUIEvent.ForgetPasswordEvent -> { + val browserIntent = + Intent(Intent.ACTION_VIEW, Uri.parse(BuildConfig.TMDB_FORGET_PASSWORD_URL)) + startActivity(browserIntent) + } } } } \ No newline at end of file diff --git a/app/src/main/java/com/karrar/movieapp/ui/login/LoginUIEvent.kt b/app/src/main/java/com/karrar/movieapp/ui/login/LoginUIEvent.kt index 03214465e..09efcc9d4 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/login/LoginUIEvent.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/login/LoginUIEvent.kt @@ -3,4 +3,5 @@ package com.karrar.movieapp.ui.login sealed interface LoginUIEvent { data class LoginEvent(val login: Int) : LoginUIEvent object SignUpEvent : LoginUIEvent + object ForgetPasswordEvent : LoginUIEvent } \ No newline at end of file diff --git a/app/src/main/java/com/karrar/movieapp/ui/login/LoginViewModel.kt b/app/src/main/java/com/karrar/movieapp/ui/login/LoginViewModel.kt index 33a6887ee..66046f1fd 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/login/LoginViewModel.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/login/LoginViewModel.kt @@ -40,6 +40,10 @@ class LoginViewModel @Inject constructor( login() } + fun onForgetPassword() { + _loginEvent.update { Event(LoginUIEvent.SignUpEvent) } + } + fun onUserNameInputChange(text: CharSequence) { val userNameFieldState = validateFiledUseCase(text.toString()) _loginUIState.update { diff --git a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryAdapter.kt b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryAdapter.kt index 4c69f4662..e3bd0ed3c 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryAdapter.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryAdapter.kt @@ -13,4 +13,6 @@ class WatchHistoryAdapter( interface WatchHistoryInteractionListener : BaseInteractionListener { fun onClickMovie(item: MediaHistoryUiState) + + fun onClickExplore() } \ No newline at end of file diff --git a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryFragment.kt b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryFragment.kt index fa334ca20..b05e7289e 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryFragment.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryFragment.kt @@ -35,13 +35,17 @@ class WatchHistoryFragment : BaseFragment() { event.movieID ) } + is WatchHistoryUIEvent.TVShowEvent -> { WatchHistoryFragmentDirections.actionWatchHistoryFragmentToTvShowDetailsFragment( event.tvShowID ) } + + is WatchHistoryUIEvent.NavigateExploreEvent -> { + WatchHistoryFragmentDirections.actionWatchHistoryFragmentToExploringFragment() + } } findNavController().navigate(action) } - } \ No newline at end of file diff --git a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryUIEvent.kt b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryUIEvent.kt index 0ad5bebaa..c1bd64c2c 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryUIEvent.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryUIEvent.kt @@ -3,4 +3,6 @@ package com.karrar.movieapp.ui.profile.watchhistory sealed interface WatchHistoryUIEvent { data class MovieEvent(val movieID: Int) : WatchHistoryUIEvent data class TVShowEvent(val tvShowID: Int) : WatchHistoryUIEvent + + class NavigateExploreEvent(): WatchHistoryUIEvent } \ No newline at end of file diff --git a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryViewModel.kt b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryViewModel.kt index 19ea5885d..2a8af4218 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryViewModel.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/profile/watchhistory/WatchHistoryViewModel.kt @@ -53,4 +53,7 @@ class WatchHistoryViewModel @Inject constructor( } } + override fun onClickExplore() { + _watchHistoryUIEvent.update { Event(WatchHistoryUIEvent.NavigateExploreEvent()) } + } } \ No newline at end of file diff --git a/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/TvShowDetailsFragment.kt b/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/TvShowDetailsFragment.kt index a02477d53..75fa4dab2 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/TvShowDetailsFragment.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/TvShowDetailsFragment.kt @@ -62,7 +62,7 @@ class TvShowDetailsFragment : BaseFragment() { } is TvShowDetailsUIEvent.ClickSeasonEvent -> { action = - TvShowDetailsFragmentDirections.actionTvShowDetailsFragmentToEpisodesFragment(args.tvShowId) + TvShowDetailsFragmentDirections.actionTvShowDetailsFragmentToEpisodesFragment(args.tvShowId, event.seasonId) } TvShowDetailsUIEvent.ClickPlayTrailerEvent -> { action = diff --git a/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/episodes/EpisodesViewModel.kt b/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/episodes/EpisodesViewModel.kt index 8e5829633..40b3aa5ac 100644 --- a/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/episodes/EpisodesViewModel.kt +++ b/app/src/main/java/com/karrar/movieapp/ui/tvShowDetails/episodes/EpisodesViewModel.kt @@ -35,7 +35,7 @@ class EpisodesViewModel @Inject constructor( _stateFlowEpisode.update { it.copy(isLoading = true) } try { val result = - getSeasonsEpisodesUseCase(args.tvShowId) + getSeasonsEpisodesUseCase(args.tvShowId, args.seasonId) _stateFlowEpisode.update { it -> it.copy( seriesEpisodeUIState = result.map(tvShowEpisodesUIMapper::map), diff --git a/app/src/main/java/com/karrar/movieapp/utilities/BindingAdapter.kt b/app/src/main/java/com/karrar/movieapp/utilities/BindingAdapter.kt index 137bd2a54..719485748 100644 --- a/app/src/main/java/com/karrar/movieapp/utilities/BindingAdapter.kt +++ b/app/src/main/java/com/karrar/movieapp/utilities/BindingAdapter.kt @@ -158,6 +158,16 @@ fun bindMovieImage(image: ImageView, imageURL: String?) { } } +@BindingAdapter("app:mediaPoster") +fun loadMediaPoster(image: ImageView, imageURL: String?) { + imageURL?.let { + image.load(imageURL) { + placeholder(R.drawable.loading) + error(R.drawable.media_place_holder) + } + } +} + @BindingAdapter("app:showProfileWhenSuccess") fun showWhenProfileSuccess(view: View, userName: String) { view.isVisible = userName.isNotEmpty() diff --git a/app/src/main/java/com/karrar/movieapp/utilities/view/MovieEditText.kt b/app/src/main/java/com/karrar/movieapp/utilities/view/MovieEditText.kt new file mode 100644 index 000000000..b14b3f97d --- /dev/null +++ b/app/src/main/java/com/karrar/movieapp/utilities/view/MovieEditText.kt @@ -0,0 +1,116 @@ +package com.karrar.movieapp.utilities.view + +import android.content.Context +import android.text.Editable +import android.text.TextUtils +import android.text.TextWatcher +import android.text.method.PasswordTransformationMethod +import android.util.AttributeSet +import android.view.View +import android.widget.EditText +import android.widget.FrameLayout +import android.widget.ImageView +import android.widget.TextView +import androidx.core.content.ContextCompat +import androidx.databinding.BindingAdapter +import androidx.databinding.adapters.ListenerUtil +import com.karrar.movieapp.R + +class MovieEditText @JvmOverloads constructor( + context: Context, + attrs: AttributeSet? = null, + defStyleAttr: Int = 0 +) : FrameLayout(context, attrs, defStyleAttr) { + + private val editText: EditText + private val helperText: TextView + private val passwordEye: ImageView + + private var isEyeShow = true + + init { + inflate(context, R.layout.view_edit_text, this) + editText = findViewById(R.id.innerEditText) + helperText = findViewById(R.id.helperText) + passwordEye = findViewById(R.id.passwordEye) + + val typedArray = context.obtainStyledAttributes(attrs, R.styleable.MovieEditText) + val helperTextValue = typedArray.getString(R.styleable.MovieEditText_helperText) + val showEye = typedArray.getBoolean(R.styleable.MovieEditText_showEye, false) + helperText.text = helperTextValue + passwordEye.visibility = if (showEye) VISIBLE else GONE + + typedArray.recycle() + + passwordEye.setOnClickListener { + val selection = editText.selectionStart + isEyeShow = !isEyeShow + passwordEye.setImageDrawable( + if (isEyeShow) + ContextCompat.getDrawable(getContext(), R.drawable.eye_opened) + else + ContextCompat.getDrawable(getContext(), R.drawable.eye_closed) + ) + + if (isEyeShow) + editText.transformationMethod = null + else + editText.transformationMethod = PasswordTransformationMethod() + + editText.setSelection(selection) + } + } + + fun getText(): String = editText.text.toString() + + fun setText(value: String) { + editText.setText(value) + } + + fun setHelperText(value: String?) { + helperText.text = value + + if (value != null && TextUtils.isEmpty(value.trim())) { + helperText.visibility = GONE + } else { + helperText.visibility = VISIBLE + } + } + + companion object { + @JvmStatic + @BindingAdapter("afterTextChanged") + fun setAfterTextChanged(view: MovieEditText, listener: AfterTextChangedListener?) { + val old = ListenerUtil.trackListener( + view, listener, R.id.textWatcher + ) as? TextWatcher + if (old != null) view.editText.removeTextChangedListener(old) + + if (listener == null) return + + val watcher = object : TextWatcher { + override fun beforeTextChanged( + s: CharSequence?, + start: Int, + count: Int, + after: Int + ) { + } + + override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {} + override fun afterTextChanged(s: Editable?) { + listener.afterTextChanged(s) + } + } + + view.editText.addTextChangedListener(watcher) + ListenerUtil.trackListener(view, watcher, R.id.textWatcher) + } + } + + fun interface AfterTextChangedListener { + fun afterTextChanged(s: Editable?) + } + + fun getEditText(): EditText = editText +} \ No newline at end of file diff --git a/app/src/main/res/color/bottom_navigation_selector.xml b/app/src/main/res/color/bottom_navigation_selector.xml index c20fa7c1e..628c6e4eb 100644 --- a/app/src/main/res/color/bottom_navigation_selector.xml +++ b/app/src/main/res/color/bottom_navigation_selector.xml @@ -1,6 +1,6 @@ - - - + + + \ No newline at end of file diff --git a/app/src/main/res/color/chip_background.xml b/app/src/main/res/color/chip_background.xml index 380fa46b1..fde96a7ae 100644 --- a/app/src/main/res/color/chip_background.xml +++ b/app/src/main/res/color/chip_background.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/color/chip_stroke.xml b/app/src/main/res/color/chip_stroke.xml index 64bd84ded..af6d3b1d2 100644 --- a/app/src/main/res/color/chip_stroke.xml +++ b/app/src/main/res/color/chip_stroke.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/app/src/main/res/color/chip_text.xml b/app/src/main/res/color/chip_text.xml index 754b86bfe..15c9f2f66 100644 --- a/app/src/main/res/color/chip_text.xml +++ b/app/src/main/res/color/chip_text.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/app/src/main/res/color/color_states_material_button.xml b/app/src/main/res/color/color_states_material_button.xml index 97e74b4e3..257c801d1 100644 --- a/app/src/main/res/color/color_states_material_button.xml +++ b/app/src/main/res/color/color_states_material_button.xml @@ -1,6 +1,6 @@ - + android:color="@color/button_disabled" /> + \ No newline at end of file diff --git a/app/src/main/res/color/selector_chip_background.xml b/app/src/main/res/color/selector_chip_background.xml index 18cbe39a0..ed3f8a4c9 100644 --- a/app/src/main/res/color/selector_chip_background.xml +++ b/app/src/main/res/color/selector_chip_background.xml @@ -1,7 +1,7 @@ - - + + diff --git a/app/src/main/res/color/selector_chip_stroke.xml b/app/src/main/res/color/selector_chip_stroke.xml index dca57aa17..fbafe1143 100644 --- a/app/src/main/res/color/selector_chip_stroke.xml +++ b/app/src/main/res/color/selector_chip_stroke.xml @@ -1,8 +1,8 @@ - - - - + + + + \ No newline at end of file diff --git a/app/src/main/res/color/selector_chip_text.xml b/app/src/main/res/color/selector_chip_text.xml index 1d08b9ad6..6fb293c4a 100644 --- a/app/src/main/res/color/selector_chip_text.xml +++ b/app/src/main/res/color/selector_chip_text.xml @@ -2,7 +2,7 @@ - - + + \ No newline at end of file diff --git a/app/src/main/res/drawable-v24/edit_text_background.xml b/app/src/main/res/drawable-v24/edit_text_background.xml index e1a5afa8b..44a12519e 100644 --- a/app/src/main/res/drawable-v24/edit_text_background.xml +++ b/app/src/main/res/drawable-v24/edit_text_background.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml index 569994b14..ee2a82ef4 100644 --- a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -1,17 +1,57 @@ - - + xmlns:aapt="http://schemas.android.com/aapt" + android:width="108dp" + android:height="108dp" + android:viewportWidth="120" + android:viewportHeight="120"> + + android:pathData="M81.38,78.23C82.08,78.08 82.73,78.19 83.32,78.57C84.83,79.54 86.3,80.54 87.74,81.55C89.99,82.65 92.14,83.9 94.19,85.3C94.3,85.6 94.27,85.88 94.1,86.15C90.7,92.37 85.82,97.19 79.44,100.62C74.55,102.99 69.36,104.35 63.89,104.7C60.76,105.15 57.64,105.09 54.53,104.53L54.07,104.47C49.38,103.84 44.99,102.39 40.92,100.11L40.77,100.06C40.01,99.83 39.35,99.45 38.8,98.91C37.44,98.2 36.14,97.38 34.91,96.45C34.27,95.93 33.42,95.2 32.59,94.48C32.48,94.39 32.38,94.29 32.28,94.2C33.97,93.96 40.28,93.02 44.08,92.12C48.5,91.08 54.83,88.73 54.83,88.73L54.59,88.62C55.07,88.78 55.56,88.92 56.11,89.06C56.12,89.06 56.13,89.06 56.14,89.06C61,89.91 66.23,89.33 70.78,87.51L71.19,87.31C75.39,85.16 78.79,82.14 81.38,78.23Z"> + + + + + + + + + android:pathData="M59.12,19.43C60.59,19.2 62.06,19.2 63.54,19.43C69.23,19.51 74.59,20.84 79.61,23.43C80.22,23.71 80.75,24.08 81.2,24.53C82.42,25.13 83.48,25.93 84.38,26.91C86.97,29 88.91,31.55 90.22,34.57C90.9,35.67 91.28,36.86 91.36,38.15C88.08,40.34 84.76,42.47 81.38,44.53C80.97,44.65 80.56,44.65 80.14,44.53C78.97,43.12 77.74,41.76 76.43,40.45C74.97,39.29 73.44,38.24 71.84,37.3C67.65,35.38 63.23,34.53 58.59,34.74C50.71,36.04 44.59,39.9 40.21,46.32C36.59,52.37 35.18,58.9 35.97,65.89C36.15,66.25 36.2,66.65 36.15,67.08C36.61,69.57 37.31,72.01 38.27,74.4C38.43,74.54 38.55,74.71 38.62,74.91C39.27,76.31 39.86,77.46 40.74,78.73C36.13,80.45 31.23,81.41 26.29,81.6C26.29,81.6 26.29,81.6 26.28,81.6C26.28,81.6 26.28,81.6 26.27,81.6C25.91,81.62 25.54,81.63 25.17,81.63C24.49,81.66 23.84,81.69 23.43,81.55C23.43,81.55 23.14,81.52 23.08,81.38C22.4,80.77 21.9,80.04 21.57,79.17C20.8,77.4 20.18,75.59 19.72,73.72C19.15,71.79 18.77,69.81 18.57,67.77C18.4,68.04 18.2,68.26 17.95,68.45C16.44,70.7 15.35,73.14 14.68,75.77C14.1,80.01 15.95,82.55 20.22,83.39L20.43,83.43L20.95,83.49C26.42,84.11 31.84,83.81 37.21,82.57L38.34,82.32C40.99,81.73 43.61,81.08 46.22,80.36L47.62,79.87C50.87,78.73 54.12,77.53 57.35,76.28C62.84,73.78 68.2,71.05 73.43,68.11C79.08,64.88 84.44,61.25 89.51,57.21C93.49,54.23 96.85,50.71 99.58,46.66C99.58,46.55 99.64,46.49 99.76,46.49C101.37,44.05 102.61,41.44 103.47,38.66C103.43,38.44 103.48,38.27 103.64,38.15L103.68,37.89C103.84,36.62 103.86,35.34 103.73,34.06C105.79,35.92 106.82,38.22 106.82,40.96C106.72,44.18 105.72,47.1 103.82,49.72C100.72,55.13 96.83,59.98 92.16,64.28C83.19,72.32 73.06,78.7 61.77,83.43C58.36,84.84 54.87,86.08 51.31,87.13L51.31,87.12C51.31,87.12 45.39,88.75 41.11,89.62C37.07,90.45 30.03,91.47 29.31,91.58C27.97,91.49 26.16,91.33 24.84,91.25C23.51,91.14 22.21,90.91 20.96,90.57L20.66,90.53C17.66,90.03 15.11,88.74 13.01,86.66C11.47,84.95 10.5,82.97 10.09,80.7C9.61,75.62 11.05,71.14 14.42,67.26C15.51,65.61 16.83,64.14 18.39,62.83C18.43,60.38 18.58,57.94 18.84,55.51C18.88,54.91 19,54.34 19.19,53.81C19.63,50.94 20.4,48.16 21.49,45.47C24.83,37.48 30.19,31.07 37.56,26.23C44.06,22.03 51.24,19.76 59.12,19.43Z"> + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/airing_today_shape.xml b/app/src/main/res/drawable/airing_today_shape.xml index 68943600a..025eaf551 100644 --- a/app/src/main/res/drawable/airing_today_shape.xml +++ b/app/src/main/res/drawable/airing_today_shape.xml @@ -2,6 +2,6 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/back_icon_shape.xml b/app/src/main/res/drawable/back_icon_shape.xml index c9e28187e..97dddd04f 100644 --- a/app/src/main/res/drawable/back_icon_shape.xml +++ b/app/src/main/res/drawable/back_icon_shape.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/bottom_line.xml b/app/src/main/res/drawable/bottom_line.xml index 20ac4082f..9dd7fa1b6 100644 --- a/app/src/main/res/drawable/bottom_line.xml +++ b/app/src/main/res/drawable/bottom_line.xml @@ -8,7 +8,7 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/bottom_sheet_corners.xml b/app/src/main/res/drawable/bottom_sheet_corners.xml index c11787a0f..8a661b769 100644 --- a/app/src/main/res/drawable/bottom_sheet_corners.xml +++ b/app/src/main/res/drawable/bottom_sheet_corners.xml @@ -4,5 +4,5 @@ android:topRightRadius="@dimen/spacing_large" android:topLeftRadius="@dimen/spacing_large" /> - + \ No newline at end of file diff --git a/app/src/main/res/drawable/cineverse_logo.xml b/app/src/main/res/drawable/cineverse_logo.xml new file mode 100644 index 000000000..a135c3362 --- /dev/null +++ b/app/src/main/res/drawable/cineverse_logo.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/click_ripple.xml b/app/src/main/res/drawable/click_ripple.xml new file mode 100644 index 000000000..86cd55e45 --- /dev/null +++ b/app/src/main/res/drawable/click_ripple.xml @@ -0,0 +1,3 @@ + + \ No newline at end of file diff --git a/app/src/main/res/drawable/color_cursor.xml b/app/src/main/res/drawable/color_cursor.xml index 5016f609c..df1d2a399 100644 --- a/app/src/main/res/drawable/color_cursor.xml +++ b/app/src/main/res/drawable/color_cursor.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/eye_closed.xml b/app/src/main/res/drawable/eye_closed.xml new file mode 100644 index 000000000..884d6d5fe --- /dev/null +++ b/app/src/main/res/drawable/eye_closed.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/eye_opened.xml b/app/src/main/res/drawable/eye_opened.xml new file mode 100644 index 000000000..76d4a78cc --- /dev/null +++ b/app/src/main/res/drawable/eye_opened.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_actors.xml b/app/src/main/res/drawable/ic_actors.xml index 724e709d5..444b131f8 100644 --- a/app/src/main/res/drawable/ic_actors.xml +++ b/app/src/main/res/drawable/ic_actors.xml @@ -2,26 +2,26 @@ android:viewportWidth="40" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/drawable/ic_add_due_tone.xml b/app/src/main/res/drawable/ic_add_due_tone.xml new file mode 100644 index 000000000..ffb9d5d63 --- /dev/null +++ b/app/src/main/res/drawable/ic_add_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_add_outline.xml b/app/src/main/res/drawable/ic_add_outline.xml new file mode 100644 index 000000000..391c77620 --- /dev/null +++ b/app/src/main/res/drawable/ic_add_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_alt_arrow_ledt_outline.xml b/app/src/main/res/drawable/ic_alt_arrow_ledt_outline.xml new file mode 100644 index 000000000..44de3f142 --- /dev/null +++ b/app/src/main/res/drawable/ic_alt_arrow_ledt_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_alt_arrow_right_outline.xml b/app/src/main/res/drawable/ic_alt_arrow_right_outline.xml new file mode 100644 index 000000000..10c5795aa --- /dev/null +++ b/app/src/main/res/drawable/ic_alt_arrow_right_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_arrow_down.xml b/app/src/main/res/drawable/ic_arrow_down.xml index a1e33122d..331809964 100644 --- a/app/src/main/res/drawable/ic_arrow_down.xml +++ b/app/src/main/res/drawable/ic_arrow_down.xml @@ -1,6 +1,6 @@ diff --git a/app/src/main/res/drawable/ic_arrow_left_outline.xml b/app/src/main/res/drawable/ic_arrow_left_outline.xml new file mode 100644 index 000000000..5c3a8253b --- /dev/null +++ b/app/src/main/res/drawable/ic_arrow_left_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_arrow_right.xml b/app/src/main/res/drawable/ic_arrow_right.xml index 42012be15..281431973 100644 --- a/app/src/main/res/drawable/ic_arrow_right.xml +++ b/app/src/main/res/drawable/ic_arrow_right.xml @@ -8,6 +8,6 @@ android:pathData="M0,0h20v20h-20z"/> + android:fillColor="@color/brand_primary"/> diff --git a/app/src/main/res/drawable/ic_arrow_right_up_outline.xml b/app/src/main/res/drawable/ic_arrow_right_up_outline.xml new file mode 100644 index 000000000..862adad80 --- /dev/null +++ b/app/src/main/res/drawable/ic_arrow_right_up_outline.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_arrow_up_left.xml b/app/src/main/res/drawable/ic_arrow_up_left.xml index 1f8f1886e..2b062c306 100644 --- a/app/src/main/res/drawable/ic_arrow_up_left.xml +++ b/app/src/main/res/drawable/ic_arrow_up_left.xml @@ -9,7 +9,7 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="@color/shade_primary_color" + android:strokeColor="@color/shade_primary" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_cake_outline.xml b/app/src/main/res/drawable/ic_cake_outline.xml new file mode 100644 index 000000000..f0c4df7b5 --- /dev/null +++ b/app/src/main/res/drawable/ic_cake_outline.xml @@ -0,0 +1,27 @@ + + + + + + + + + diff --git a/app/src/main/res/drawable/ic_calendar_due_tone.xml b/app/src/main/res/drawable/ic_calendar_due_tone.xml new file mode 100644 index 000000000..478f5c507 --- /dev/null +++ b/app/src/main/res/drawable/ic_calendar_due_tone.xml @@ -0,0 +1,23 @@ + + + + + + + diff --git a/app/src/main/res/drawable/ic_cineverse_logo_colored.png b/app/src/main/res/drawable/ic_cineverse_logo_colored.png new file mode 100644 index 000000000..a5966730e Binary files /dev/null and b/app/src/main/res/drawable/ic_cineverse_logo_colored.png differ diff --git a/app/src/main/res/drawable/ic_clock_due_tone.xml b/app/src/main/res/drawable/ic_clock_due_tone.xml new file mode 100644 index 000000000..1577809d6 --- /dev/null +++ b/app/src/main/res/drawable/ic_clock_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_color_swatch_due_tone.xml b/app/src/main/res/drawable/ic_color_swatch_due_tone.xml new file mode 100644 index 000000000..8bdfb3156 --- /dev/null +++ b/app/src/main/res/drawable/ic_color_swatch_due_tone.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_confused_face_colored.png b/app/src/main/res/drawable/ic_confused_face_colored.png new file mode 100644 index 000000000..1eb065058 Binary files /dev/null and b/app/src/main/res/drawable/ic_confused_face_colored.png differ diff --git a/app/src/main/res/drawable/ic_danger_triangle_outline.xml b/app/src/main/res/drawable/ic_danger_triangle_outline.xml new file mode 100644 index 000000000..7399e54b1 --- /dev/null +++ b/app/src/main/res/drawable/ic_danger_triangle_outline.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_eye_closed_outline.xml b/app/src/main/res/drawable/ic_eye_closed_outline.xml new file mode 100644 index 000000000..014e89e95 --- /dev/null +++ b/app/src/main/res/drawable/ic_eye_closed_outline.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_eye_due_tone.xml b/app/src/main/res/drawable/ic_eye_due_tone.xml new file mode 100644 index 000000000..6db50b1f0 --- /dev/null +++ b/app/src/main/res/drawable/ic_eye_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_eye_opened_outline.xml b/app/src/main/res/drawable/ic_eye_opened_outline.xml new file mode 100644 index 000000000..d6725561d --- /dev/null +++ b/app/src/main/res/drawable/ic_eye_opened_outline.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_eye_slash_due_tone.xml b/app/src/main/res/drawable/ic_eye_slash_due_tone.xml new file mode 100644 index 000000000..6510ccc6c --- /dev/null +++ b/app/src/main/res/drawable/ic_eye_slash_due_tone.xml @@ -0,0 +1,25 @@ + + + + + + + diff --git a/app/src/main/res/drawable/ic_eye_slash_outline.xml b/app/src/main/res/drawable/ic_eye_slash_outline.xml new file mode 100644 index 000000000..3313baa20 --- /dev/null +++ b/app/src/main/res/drawable/ic_eye_slash_outline.xml @@ -0,0 +1,24 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/ic_facebook_colored.png b/app/src/main/res/drawable/ic_facebook_colored.png new file mode 100644 index 000000000..0bd65114c Binary files /dev/null and b/app/src/main/res/drawable/ic_facebook_colored.png differ diff --git a/app/src/main/res/drawable/ic_flame_due_tone.xml b/app/src/main/res/drawable/ic_flame_due_tone.xml new file mode 100644 index 000000000..ec797aa5e --- /dev/null +++ b/app/src/main/res/drawable/ic_flame_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_folder_due_tone.xml b/app/src/main/res/drawable/ic_folder_due_tone.xml new file mode 100644 index 000000000..3265afe26 --- /dev/null +++ b/app/src/main/res/drawable/ic_folder_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_folder_outline.xml b/app/src/main/res/drawable/ic_folder_outline.xml new file mode 100644 index 000000000..f85462569 --- /dev/null +++ b/app/src/main/res/drawable/ic_folder_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_frowning_face_colored.png b/app/src/main/res/drawable/ic_frowning_face_colored.png new file mode 100644 index 000000000..fba5a9242 Binary files /dev/null and b/app/src/main/res/drawable/ic_frowning_face_colored.png differ diff --git a/app/src/main/res/drawable/ic_grid_due_tone.xml b/app/src/main/res/drawable/ic_grid_due_tone.xml new file mode 100644 index 000000000..6aa89c504 --- /dev/null +++ b/app/src/main/res/drawable/ic_grid_due_tone.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/app/src/main/res/drawable/ic_grid_outline.xml b/app/src/main/res/drawable/ic_grid_outline.xml new file mode 100644 index 000000000..2201ddb64 --- /dev/null +++ b/app/src/main/res/drawable/ic_grid_outline.xml @@ -0,0 +1,18 @@ + + + + + + diff --git a/app/src/main/res/drawable/ic_headphone_due_tone.xml b/app/src/main/res/drawable/ic_headphone_due_tone.xml new file mode 100644 index 000000000..f356b09a1 --- /dev/null +++ b/app/src/main/res/drawable/ic_headphone_due_tone.xml @@ -0,0 +1,17 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_heart_due_tone.xml b/app/src/main/res/drawable/ic_heart_due_tone.xml new file mode 100644 index 000000000..2863f4c48 --- /dev/null +++ b/app/src/main/res/drawable/ic_heart_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_history.xml b/app/src/main/res/drawable/ic_history.xml deleted file mode 100644 index 7d0b2a01b..000000000 --- a/app/src/main/res/drawable/ic_history.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - diff --git a/app/src/main/res/drawable/ic_history_colored.xml b/app/src/main/res/drawable/ic_history_colored.xml new file mode 100644 index 000000000..5d996c9dd --- /dev/null +++ b/app/src/main/res/drawable/ic_history_colored.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/app/src/main/res/drawable/ic_history_due_tone.xml b/app/src/main/res/drawable/ic_history_due_tone.xml new file mode 100644 index 000000000..ba36acbc7 --- /dev/null +++ b/app/src/main/res/drawable/ic_history_due_tone.xml @@ -0,0 +1,15 @@ + + + + diff --git a/app/src/main/res/drawable/ic_history_outline.xml b/app/src/main/res/drawable/ic_history_outline.xml new file mode 100644 index 000000000..39d562444 --- /dev/null +++ b/app/src/main/res/drawable/ic_history_outline.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_home_due_tone.xml b/app/src/main/res/drawable/ic_home_due_tone.xml new file mode 100644 index 000000000..ab55e916e --- /dev/null +++ b/app/src/main/res/drawable/ic_home_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_home_outline.xml b/app/src/main/res/drawable/ic_home_outline.xml new file mode 100644 index 000000000..4c20e7d0e --- /dev/null +++ b/app/src/main/res/drawable/ic_home_outline.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/ic_image_due_tone.xml b/app/src/main/res/drawable/ic_image_due_tone.xml new file mode 100644 index 000000000..2dfdcce75 --- /dev/null +++ b/app/src/main/res/drawable/ic_image_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_info_circle_due_tone.xml b/app/src/main/res/drawable/ic_info_circle_due_tone.xml new file mode 100644 index 000000000..df8877130 --- /dev/null +++ b/app/src/main/res/drawable/ic_info_circle_due_tone.xml @@ -0,0 +1,17 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_instagram_colored.png b/app/src/main/res/drawable/ic_instagram_colored.png new file mode 100644 index 000000000..868ceb8ca Binary files /dev/null and b/app/src/main/res/drawable/ic_instagram_colored.png differ diff --git a/app/src/main/res/drawable/ic_iraq_flag_colored.png b/app/src/main/res/drawable/ic_iraq_flag_colored.png new file mode 100644 index 000000000..6812abd63 Binary files /dev/null and b/app/src/main/res/drawable/ic_iraq_flag_colored.png differ diff --git a/app/src/main/res/drawable/ic_language_due_tone.xml b/app/src/main/res/drawable/ic_language_due_tone.xml new file mode 100644 index 000000000..43929949c --- /dev/null +++ b/app/src/main/res/drawable/ic_language_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_link_minimalistic_due_tone.xml b/app/src/main/res/drawable/ic_link_minimalistic_due_tone.xml new file mode 100644 index 000000000..3d73e6dee --- /dev/null +++ b/app/src/main/res/drawable/ic_link_minimalistic_due_tone.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_location_outline.xml b/app/src/main/res/drawable/ic_location_outline.xml new file mode 100644 index 000000000..5f78ee86e --- /dev/null +++ b/app/src/main/res/drawable/ic_location_outline.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/ic_lock_outline.xml b/app/src/main/res/drawable/ic_lock_outline.xml new file mode 100644 index 000000000..f0248ff00 --- /dev/null +++ b/app/src/main/res/drawable/ic_lock_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_login_due_tone.xml b/app/src/main/res/drawable/ic_login_due_tone.xml new file mode 100644 index 000000000..1dd0acdfd --- /dev/null +++ b/app/src/main/res/drawable/ic_login_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_logout.xml b/app/src/main/res/drawable/ic_logout.xml index 83ba91b93..834687be1 100644 --- a/app/src/main/res/drawable/ic_logout.xml +++ b/app/src/main/res/drawable/ic_logout.xml @@ -1,7 +1,7 @@ + + + diff --git a/app/src/main/res/drawable/ic_logout_due_tone.xml b/app/src/main/res/drawable/ic_logout_due_tone.xml new file mode 100644 index 000000000..af93134d8 --- /dev/null +++ b/app/src/main/res/drawable/ic_logout_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_magic_stick_due_tone.xml b/app/src/main/res/drawable/ic_magic_stick_due_tone.xml new file mode 100644 index 000000000..17b100891 --- /dev/null +++ b/app/src/main/res/drawable/ic_magic_stick_due_tone.xml @@ -0,0 +1,29 @@ + + + + + + + diff --git a/app/src/main/res/drawable/ic_magic_stick_outline.xml b/app/src/main/res/drawable/ic_magic_stick_outline.xml new file mode 100644 index 000000000..922826dc4 --- /dev/null +++ b/app/src/main/res/drawable/ic_magic_stick_outline.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/app/src/main/res/drawable/ic_microphone_outline.xml b/app/src/main/res/drawable/ic_microphone_outline.xml new file mode 100644 index 000000000..f4818d82c --- /dev/null +++ b/app/src/main/res/drawable/ic_microphone_outline.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_moon_due_tone.xml b/app/src/main/res/drawable/ic_moon_due_tone.xml new file mode 100644 index 000000000..ffbe7c670 --- /dev/null +++ b/app/src/main/res/drawable/ic_moon_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_movie.xml b/app/src/main/res/drawable/ic_movie.xml index 0feda4dc8..590dd25ed 100644 --- a/app/src/main/res/drawable/ic_movie.xml +++ b/app/src/main/res/drawable/ic_movie.xml @@ -2,18 +2,18 @@ android:viewportWidth="40" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/drawable/ic_neutral_face_colored.png b/app/src/main/res/drawable/ic_neutral_face_colored.png new file mode 100644 index 000000000..28dae1c3b Binary files /dev/null and b/app/src/main/res/drawable/ic_neutral_face_colored.png differ diff --git a/app/src/main/res/drawable/ic_play_due_tone.xml b/app/src/main/res/drawable/ic_play_due_tone.xml new file mode 100644 index 000000000..6deb804d1 --- /dev/null +++ b/app/src/main/res/drawable/ic_play_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_play_outlined.xml b/app/src/main/res/drawable/ic_play_outlined.xml index 293ea012f..1a7ec6bc4 100644 --- a/app/src/main/res/drawable/ic_play_outlined.xml +++ b/app/src/main/res/drawable/ic_play_outlined.xml @@ -9,6 +9,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="@color/shade_primary_color" + android:strokeColor="@color/shade_primary" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_plus_outline.xml b/app/src/main/res/drawable/ic_plus_outline.xml new file mode 100644 index 000000000..7ed450a09 --- /dev/null +++ b/app/src/main/res/drawable/ic_plus_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_profile_due_tone.xml b/app/src/main/res/drawable/ic_profile_due_tone.xml new file mode 100644 index 000000000..1027d1947 --- /dev/null +++ b/app/src/main/res/drawable/ic_profile_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_profile_place_holder.xml b/app/src/main/res/drawable/ic_profile_place_holder.xml index 42747f5ac..c4678842b 100644 --- a/app/src/main/res/drawable/ic_profile_place_holder.xml +++ b/app/src/main/res/drawable/ic_profile_place_holder.xml @@ -1,7 +1,7 @@ + + + diff --git a/app/src/main/res/drawable/ic_row_vertical_outline.xml b/app/src/main/res/drawable/ic_row_vertical_outline.xml new file mode 100644 index 000000000..4d91030e8 --- /dev/null +++ b/app/src/main/res/drawable/ic_row_vertical_outline.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/ic_search.xml b/app/src/main/res/drawable/ic_search.xml index 75cd3403b..777155faa 100644 --- a/app/src/main/res/drawable/ic_search.xml +++ b/app/src/main/res/drawable/ic_search.xml @@ -2,10 +2,10 @@ android:viewportWidth="21" android:width="16dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/drawable/ic_search_due_tone.xml b/app/src/main/res/drawable/ic_search_due_tone.xml new file mode 100644 index 000000000..14e2f5b00 --- /dev/null +++ b/app/src/main/res/drawable/ic_search_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_search_outline.xml b/app/src/main/res/drawable/ic_search_outline.xml new file mode 100644 index 000000000..ab620c3df --- /dev/null +++ b/app/src/main/res/drawable/ic_search_outline.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/ic_slash_due_tone.xml b/app/src/main/res/drawable/ic_slash_due_tone.xml new file mode 100644 index 000000000..e18cc2664 --- /dev/null +++ b/app/src/main/res/drawable/ic_slash_due_tone.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_smiling_face_with_smiling_eyes_colored.png b/app/src/main/res/drawable/ic_smiling_face_with_smiling_eyes_colored.png new file mode 100644 index 000000000..d97633905 Binary files /dev/null and b/app/src/main/res/drawable/ic_smiling_face_with_smiling_eyes_colored.png differ diff --git a/app/src/main/res/drawable/ic_star_due_tone.xml b/app/src/main/res/drawable/ic_star_due_tone.xml new file mode 100644 index 000000000..6bb542272 --- /dev/null +++ b/app/src/main/res/drawable/ic_star_due_tone.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_star_outline.xml b/app/src/main/res/drawable/ic_star_outline.xml new file mode 100644 index 000000000..c674e04c5 --- /dev/null +++ b/app/src/main/res/drawable/ic_star_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_star_outlined.xml b/app/src/main/res/drawable/ic_star_outlined.xml index b410d35fd..7a67b699f 100644 --- a/app/src/main/res/drawable/ic_star_outlined.xml +++ b/app/src/main/res/drawable/ic_star_outlined.xml @@ -9,6 +9,6 @@ android:strokeLineJoin="round" android:strokeWidth="2" android:fillColor="#00000000" - android:strokeColor="@color/yellow" + android:strokeColor="@color/additional_primary_yellow" android:strokeLineCap="round"/> diff --git a/app/src/main/res/drawable/ic_star_struck_colored.png b/app/src/main/res/drawable/ic_star_struck_colored.png new file mode 100644 index 000000000..a0de15550 Binary files /dev/null and b/app/src/main/res/drawable/ic_star_struck_colored.png differ diff --git a/app/src/main/res/drawable/ic_station_due_tone.xml b/app/src/main/res/drawable/ic_station_due_tone.xml new file mode 100644 index 000000000..be045e2e7 --- /dev/null +++ b/app/src/main/res/drawable/ic_station_due_tone.xml @@ -0,0 +1,30 @@ + + + + + + + diff --git a/app/src/main/res/drawable/ic_tiktok_colored.png b/app/src/main/res/drawable/ic_tiktok_colored.png new file mode 100644 index 000000000..744394c36 Binary files /dev/null and b/app/src/main/res/drawable/ic_tiktok_colored.png differ diff --git a/app/src/main/res/drawable/ic_time_long_due_tone.xml b/app/src/main/res/drawable/ic_time_long_due_tone.xml new file mode 100644 index 000000000..5fd921c71 --- /dev/null +++ b/app/src/main/res/drawable/ic_time_long_due_tone.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_time_medium_due_tone.xml b/app/src/main/res/drawable/ic_time_medium_due_tone.xml new file mode 100644 index 000000000..b3c95bbc9 --- /dev/null +++ b/app/src/main/res/drawable/ic_time_medium_due_tone.xml @@ -0,0 +1,19 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_time_short_due_tone.xml b/app/src/main/res/drawable/ic_time_short_due_tone.xml new file mode 100644 index 000000000..24f2040b7 --- /dev/null +++ b/app/src/main/res/drawable/ic_time_short_due_tone.xml @@ -0,0 +1,20 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_trash_due_tone.xml b/app/src/main/res/drawable/ic_trash_due_tone.xml new file mode 100644 index 000000000..606079654 --- /dev/null +++ b/app/src/main/res/drawable/ic_trash_due_tone.xml @@ -0,0 +1,22 @@ + + + + + + diff --git a/app/src/main/res/drawable/ic_tv.xml b/app/src/main/res/drawable/ic_tv.xml index d2c5ee121..5fd072e39 100644 --- a/app/src/main/res/drawable/ic_tv.xml +++ b/app/src/main/res/drawable/ic_tv.xml @@ -2,10 +2,10 @@ android:viewportWidth="40" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/app/src/main/res/drawable/ic_uk_flag_1_colored.png b/app/src/main/res/drawable/ic_uk_flag_1_colored.png new file mode 100644 index 000000000..97b510fb4 Binary files /dev/null and b/app/src/main/res/drawable/ic_uk_flag_1_colored.png differ diff --git a/app/src/main/res/drawable/ic_uk_flag_colored.png b/app/src/main/res/drawable/ic_uk_flag_colored.png new file mode 100644 index 000000000..34d40b838 Binary files /dev/null and b/app/src/main/res/drawable/ic_uk_flag_colored.png differ diff --git a/app/src/main/res/drawable/ic_unread_outline.xml b/app/src/main/res/drawable/ic_unread_outline.xml new file mode 100644 index 000000000..c09b266ac --- /dev/null +++ b/app/src/main/res/drawable/ic_unread_outline.xml @@ -0,0 +1,10 @@ + + + diff --git a/app/src/main/res/drawable/ic_user_outline.xml b/app/src/main/res/drawable/ic_user_outline.xml new file mode 100644 index 000000000..e106b68c0 --- /dev/null +++ b/app/src/main/res/drawable/ic_user_outline.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/ic_user_square_due_tone.xml b/app/src/main/res/drawable/ic_user_square_due_tone.xml new file mode 100644 index 000000000..22dcc7ffc --- /dev/null +++ b/app/src/main/res/drawable/ic_user_square_due_tone.xml @@ -0,0 +1,17 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_user_square_outline.xml b/app/src/main/res/drawable/ic_user_square_outline.xml new file mode 100644 index 000000000..63c10c7e8 --- /dev/null +++ b/app/src/main/res/drawable/ic_user_square_outline.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_video_library_due_tone.xml b/app/src/main/res/drawable/ic_video_library_due_tone.xml new file mode 100644 index 000000000..953d3d5e2 --- /dev/null +++ b/app/src/main/res/drawable/ic_video_library_due_tone.xml @@ -0,0 +1,20 @@ + + + + + diff --git a/app/src/main/res/drawable/ic_x_colored.png b/app/src/main/res/drawable/ic_x_colored.png new file mode 100644 index 000000000..cbfe4284e Binary files /dev/null and b/app/src/main/res/drawable/ic_x_colored.png differ diff --git a/app/src/main/res/drawable/ic_x_outline.xml b/app/src/main/res/drawable/ic_x_outline.xml new file mode 100644 index 000000000..176e5aa6f --- /dev/null +++ b/app/src/main/res/drawable/ic_x_outline.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/drawable/ic_youtube_colored.png b/app/src/main/res/drawable/ic_youtube_colored.png new file mode 100644 index 000000000..672022b3a Binary files /dev/null and b/app/src/main/res/drawable/ic_youtube_colored.png differ diff --git a/app/src/main/res/drawable/icon_circle_background.xml b/app/src/main/res/drawable/icon_circle_background.xml new file mode 100644 index 000000000..1e9829ba0 --- /dev/null +++ b/app/src/main/res/drawable/icon_circle_background.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/list_vector.xml b/app/src/main/res/drawable/list_vector.xml index 13f09588a..575a832c3 100644 --- a/app/src/main/res/drawable/list_vector.xml +++ b/app/src/main/res/drawable/list_vector.xml @@ -87,12 +87,12 @@ + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + + diff --git a/app/src/main/res/drawable/log_in.xml b/app/src/main/res/drawable/log_in.xml index 0dd464f8f..7346a8954 100644 --- a/app/src/main/res/drawable/log_in.xml +++ b/app/src/main/res/drawable/log_in.xml @@ -13,7 +13,7 @@ android:fillAlpha="0.7"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + android:fillColor="@color/brand_primary"/> + + + + + + + diff --git a/app/src/main/res/drawable/password_eye.xml b/app/src/main/res/drawable/password_eye.xml new file mode 100644 index 000000000..8a2d1b8a3 --- /dev/null +++ b/app/src/main/res/drawable/password_eye.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/rounded_corners.xml b/app/src/main/res/drawable/rounded_corners.xml index 5c531c62e..ee1106e3f 100644 --- a/app/src/main/res/drawable/rounded_corners.xml +++ b/app/src/main/res/drawable/rounded_corners.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/app/src/main/res/drawable/squircle_button_background.xml b/app/src/main/res/drawable/squircle_button_background.xml new file mode 100644 index 000000000..9a8d9a0fc --- /dev/null +++ b/app/src/main/res/drawable/squircle_button_background.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/squircle_button_background_secondary.xml b/app/src/main/res/drawable/squircle_button_background_secondary.xml new file mode 100644 index 000000000..b4a9a2078 --- /dev/null +++ b/app/src/main/res/drawable/squircle_button_background_secondary.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/squircle_text_field.xml b/app/src/main/res/drawable/squircle_text_field.xml new file mode 100644 index 000000000..b40f4e747 --- /dev/null +++ b/app/src/main/res/drawable/squircle_text_field.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/drawable/user.xml b/app/src/main/res/drawable/user.xml new file mode 100644 index 000000000..416a673ea --- /dev/null +++ b/app/src/main/res/drawable/user.xml @@ -0,0 +1,14 @@ + + + + diff --git a/app/src/main/res/font/manrope_bold.ttf b/app/src/main/res/font/manrope_bold.ttf new file mode 100644 index 000000000..62a618393 Binary files /dev/null and b/app/src/main/res/font/manrope_bold.ttf differ diff --git a/app/src/main/res/font/manrope_medium.ttf b/app/src/main/res/font/manrope_medium.ttf new file mode 100644 index 000000000..c6d28def6 Binary files /dev/null and b/app/src/main/res/font/manrope_medium.ttf differ diff --git a/app/src/main/res/font/manrope_regular.ttf b/app/src/main/res/font/manrope_regular.ttf new file mode 100644 index 000000000..9a108f1ce Binary files /dev/null and b/app/src/main/res/font/manrope_regular.ttf differ diff --git a/app/src/main/res/font/manrope_semi_bold.ttf b/app/src/main/res/font/manrope_semi_bold.ttf new file mode 100644 index 000000000..46a13d619 Binary files /dev/null and b/app/src/main/res/font/manrope_semi_bold.ttf differ diff --git a/app/src/main/res/font/plus_jakarta_sans_regular.ttf b/app/src/main/res/font/plus_jakarta_sans_regular.ttf deleted file mode 100644 index e4a674ca5..000000000 Binary files a/app/src/main/res/font/plus_jakarta_sans_regular.ttf and /dev/null differ diff --git a/app/src/main/res/font/plus_jakarta_sans_semibold.ttf b/app/src/main/res/font/plus_jakarta_sans_semibold.ttf deleted file mode 100644 index 08140df17..000000000 Binary files a/app/src/main/res/font/plus_jakarta_sans_semibold.ttf and /dev/null differ diff --git a/app/src/main/res/layout/chip_item_category.xml b/app/src/main/res/layout/chip_item_category.xml index 954072a48..9b5b2660b 100644 --- a/app/src/main/res/layout/chip_item_category.xml +++ b/app/src/main/res/layout/chip_item_category.xml @@ -18,7 +18,7 @@ style="@style/Colors_Widget.MaterialComponents.Chip.Choice" android:layout_width="wrap_content" android:layout_height="@dimen/chip_height" - android:fontFamily="@font/plus_jakarta_sans_regular" + android:fontFamily="@font/manrope_regular" android:onClick="@{() -> listener.onClickCategory(item.genreID)}" android:text="@{item.genreName}" android:textSize="@dimen/text_small" diff --git a/app/src/main/res/layout/dialog_logout.xml b/app/src/main/res/layout/dialog_logout.xml index f252f0b62..95746bc40 100644 --- a/app/src/main/res/layout/dialog_logout.xml +++ b/app/src/main/res/layout/dialog_logout.xml @@ -13,7 +13,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginHorizontal="@dimen/spacing_medium" - android:backgroundTint="@color/card_background_color" + android:backgroundTint="@color/background_card" app:cardCornerRadius="@dimen/radius_medium"> diff --git a/app/src/main/res/layout/dialog_save_movie.xml b/app/src/main/res/layout/dialog_save_movie.xml index ae67f6771..f0350c521 100644 --- a/app/src/main/res/layout/dialog_save_movie.xml +++ b/app/src/main/res/layout/dialog_save_movie.xml @@ -28,7 +28,7 @@ app:showWhenListNotEmpty="@{viewModel.myListsUIState.myListItemUI}" app:title="@string/save_to" app:titleCentered="true" - app:titleTextColor="@color/shade_primary_color" /> + app:titleTextColor="@color/shade_primary" /> diff --git a/app/src/main/res/layout/empty_history_item.xml b/app/src/main/res/layout/empty_history_item.xml new file mode 100644 index 000000000..30a25e687 --- /dev/null +++ b/app/src/main/res/layout/empty_history_item.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + +