.
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | 
4 |
5 |
6 | Your one-stop shop for everything anime on Android!
7 |
8 |
9 | # Kurozora [](https://kotlinlang.org) [-white.svg?style=flat&logo=Android)]() [](https://discord.gg/f3QFzGqsah) [](LICENSE)
10 |
11 | [Kurozora](https://kurozora.app) is your one-stop shop for everything anime!
12 | The Kurozora Android client app gives you access to the huge catalogue of anime, manga and games. It is designed to be:
13 |
14 | * **🏃🏻♂️ Responsive:** Kurozora is built with Kotlin, a **fun**, **modern**, **safe** and **interactive** programming language.
15 |
16 | * **💻 Colossal:** The app is carefully designed to work perfectly on all screen sizes. Yes even on Samsung's Insane 292-Inch Wall TV.
17 |
18 | * **🎨 Chameleon:** Whether black, blue, purple, or orange, it fits right with your custom theme that you spent countless hours to perfect instead of doing your work.
19 |
20 | * **📚 Documented:** With up to 85% documentation coverage.
21 |
22 | * **💕 Excellence:** [Kurozora API](https://github.com/kurozora/kurozora-web) and Kurozora Android are simply meant to be for each other. It’s like peanut butter and jelly, like yin and yang, like a lace in a shoe, like you're the sail of my love boat wait.. ughhh…
23 |
24 | # Requirements
25 |
26 | An Android device running Android
27 |
28 | # Tools
29 |
30 | Kurozora uses a few 3rd party tools to make development as easy and uniform as possible.
31 |
32 | ## Gradle
33 |
34 | We use [Gradle](https://gradle.org) — an advanced build toolkit, to automate and manage the build process.
35 |
36 | ## Jetpack Compose
37 |
38 | We use [Jetpack Compose](https://developer.android.com/jetpack/compose) for building native UI. This simplifies and accelerates UI development on Android.
39 |
40 | # Contributing
41 |
42 | Read our [Contributing Guide](CONTRIBUTING.md) to learn about reporting issues, contributing code, and more ways to contribute.
43 |
44 | # Security
45 |
46 | Read our [Security Policy](SECURITY.md) to learn about reporting security issues.
47 |
48 | # Getting in Touch
49 |
50 | If you have any questions or just want to say hi, join the Kurozora [Discord](https://discord.gg/f3QFzGqsah) and drop a message on the #development channel.
51 |
52 | # Code of Conduct
53 |
54 | This project has a [Code of Conduct](CODE_OF_CONDUCT.md). By interacting with this repository, or community you agree to abide by its terms.
55 |
56 | # More by Kurozora
57 |
58 | - [Kurozora Discord Bot](https://github.com/kurozora/kurozora-discord-bot) — A versatile Discord bot with access to Kurozora services
59 | - [Kurozora iOS App](https://github.com/kurozora/kurozora-app) — iOS/iPadOS/MacOS client app
60 | - [KurozoraKit](https://github.com/kurozora/KurozoraKit) — Simple to use framework for interacting with the Kurozora API
61 | - [Kurozora Linux App](https://github.com/kurozora/kurozora-linux) — Linux client app
62 | - [Kurozora Web](https://github.com/kurozora/kurozora-web) — Home to the Kurozora website and API
63 | - [Kurozora Web Extension](https://github.com/Kurozora/kurozora-extension) — Anime, Manga and Game search engine for FireFox and Chrome
64 |
65 | # License
66 |
67 | Kurozora Android is an Open Source project covered by the [GNU General Public License v3.0](LICENSE).
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | Kurozora takes the security of our software and services (collectively, the "Software") seriously.
4 |
5 | If you believe you have found a security vulnerability in any Kurozora owned repository, please report it to us as described below.
6 |
7 | ## Supported versions
8 |
9 | Only the latest version of the Software will be supported with security updates.
10 |
11 | ## Reporting a Vulnerability
12 |
13 | ⚠️ Please do not report security vulnerabilities through public GitHub issues. ⚠️
14 |
15 | If you happen to find a security vulnerability, we would appreciate you letting us know at kurozoraapp@gmail.com or by on the [Kurozora Discord Server](https://discord.gg/f3QFzGqsah), and allowing us to respond before disclosing the issue publicly.
16 |
17 | Please include the requested information listed below to help us better understand the nature and scope of the possible issue:
18 |
19 | - Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
20 | - Full paths of source file(s) related to the manifestation of the issue
21 | - The location of the affected source code (tag/branch/commit or direct URL)
22 | - Any special configuration required to reproduce the issue
23 | - Step-by-step instructions to reproduce the issue
24 | - Proof-of-concept or exploit code (if possible)
25 | - Impact of the issue, including how an attacker might exploit the issue
26 |
27 | This information will help us triage your report more quickly.
28 |
29 | You will receive a response from us within 72 hours. Once the issue is confirmed, we will release a patch as soon as possible.
30 |
31 | ## Preferred languages
32 |
33 | We prefer all communications to be in English.
34 |
--------------------------------------------------------------------------------
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
--------------------------------------------------------------------------------
/app/build.gradle:
--------------------------------------------------------------------------------
1 | plugins {
2 | id 'com.android.application'
3 | id 'org.jetbrains.kotlin.android'
4 | }
5 |
6 | android {
7 | compileSdk 32
8 |
9 | defaultConfig {
10 | applicationId "app.kurozora.tracker"
11 | minSdk 29
12 | targetSdk 32
13 | versionCode 1
14 | versionName "1.0"
15 |
16 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17 | }
18 |
19 | buildTypes {
20 | release {
21 | minifyEnabled false
22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
23 | }
24 | }
25 | compileOptions {
26 | sourceCompatibility JavaVersion.VERSION_1_8
27 | targetCompatibility JavaVersion.VERSION_1_8
28 | }
29 | kotlinOptions {
30 | jvmTarget = '1.8'
31 | }
32 | buildFeatures {
33 | viewBinding true
34 | }
35 | namespace 'app.kurozora.tracker'
36 | }
37 |
38 | dependencies {
39 |
40 | implementation 'androidx.core:core-ktx:1.10.1'
41 | implementation 'androidx.appcompat:appcompat:1.6.1'
42 | implementation 'com.google.android.material:material:1.9.0'
43 | implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
44 | implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1'
45 | implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
46 | implementation 'androidx.navigation:navigation-fragment-ktx:2.5.3'
47 | implementation 'androidx.navigation:navigation-ui-ktx:2.5.3'
48 | implementation 'androidx.legacy:legacy-support-v4:1.0.0'
49 | implementation 'androidx.recyclerview:recyclerview:1.3.0'
50 | testImplementation 'junit:junit:4.13.2'
51 | androidTestImplementation 'androidx.test.ext:junit:1.1.5'
52 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
53 | }
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
--------------------------------------------------------------------------------
/app/src/androidTest/java/app/kurozora/tracker/ExampleInstrumentedTest.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker
2 |
3 | import androidx.test.platform.app.InstrumentationRegistry
4 | import androidx.test.ext.junit.runners.AndroidJUnit4
5 |
6 | import org.junit.Test
7 | import org.junit.runner.RunWith
8 |
9 | import org.junit.Assert.*
10 |
11 | /**
12 | * Instrumented test, which will execute on an Android device.
13 | *
14 | * See [testing documentation](http://d.android.com/tools/testing).
15 | */
16 | @RunWith(AndroidJUnit4::class)
17 | class ExampleInstrumentedTest {
18 | @Test
19 | fun useAppContext() {
20 | // Context of the app under test.
21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22 | assertEquals("app.kurozora.tracker", appContext.packageName)
23 | }
24 | }
--------------------------------------------------------------------------------
/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker
2 |
3 | import android.os.Bundle
4 | import com.google.android.material.bottomnavigation.BottomNavigationView
5 | import androidx.appcompat.app.AppCompatActivity
6 | import androidx.navigation.fragment.NavHostFragment
7 | import androidx.navigation.ui.AppBarConfiguration
8 | import androidx.navigation.ui.setupActionBarWithNavController
9 | import androidx.navigation.ui.setupWithNavController
10 | import app.kurozora.tracker.databinding.ActivityMainBinding
11 |
12 | class MainActivity : AppCompatActivity() {
13 |
14 | private lateinit var binding: ActivityMainBinding
15 |
16 | override fun onCreate(savedInstanceState: Bundle?) {
17 | super.onCreate(savedInstanceState)
18 |
19 | binding = ActivityMainBinding.inflate(layoutInflater)
20 | setContentView(binding.root)
21 |
22 | val navView: BottomNavigationView = binding.navView
23 |
24 | val navHostFragment = supportFragmentManager.findFragmentById(R.id.nav_host_fragment_activity_main) as NavHostFragment
25 | val navController = navHostFragment.navController
26 | // Passing each menu ID as a set of Ids because each
27 | // menu should be considered as top level destinations.
28 | val appBarConfiguration = AppBarConfiguration(setOf(
29 | R.id.navigation_explore, R.id.navigation_library, R.id.navigation_feed, R.id.navigation_notifications, R.id.navigation_search))
30 | setupActionBarWithNavController(navController, appBarConfiguration)
31 | navView.setupWithNavController(navController)
32 | }
33 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/placeholder/PlaceholderContent.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.placeholder
2 |
3 | import java.util.ArrayList
4 | import java.util.HashMap
5 |
6 | /**
7 | * Helper class for providing sample content for user interfaces created by
8 | * Android template wizards.
9 | *
10 | * TODO: Replace all uses of this class before publishing your app.
11 | */
12 | object PlaceholderContent {
13 |
14 | /**
15 | * An array of sample (placeholder) items.
16 | */
17 | val ITEMS: MutableList = ArrayList()
18 |
19 | /**
20 | * A map of sample (placeholder) items, by ID.
21 | */
22 | val ITEM_MAP: MutableMap = HashMap()
23 |
24 | private val COUNT = 25
25 |
26 | init {
27 | // Add some sample items.
28 | for (i in 1..COUNT) {
29 | addItem(createPlaceholderItem(i))
30 | }
31 | }
32 |
33 | private fun addItem(item: PlaceholderItem) {
34 | ITEMS.add(item)
35 | ITEM_MAP.put(item.id, item)
36 | }
37 |
38 | private fun createPlaceholderItem(position: Int): PlaceholderItem {
39 | return PlaceholderItem(position.toString(), "Item " + position, makeDetails(position))
40 | }
41 |
42 | private fun makeDetails(position: Int): String {
43 | val builder = StringBuilder()
44 | builder.append("Details about Item: ").append(position)
45 | for (i in 0..position - 1) {
46 | builder.append("\nMore details information here.")
47 | }
48 | return builder.toString()
49 | }
50 |
51 | /**
52 | * A placeholder item representing a piece of content.
53 | */
54 | data class PlaceholderItem(val id: String, val content: String, val details: String) {
55 | override fun toString(): String = content
56 | }
57 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/feed/FeedFragment.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.feed
2 |
3 | import android.os.Bundle
4 | import android.view.LayoutInflater
5 | import android.view.View
6 | import android.view.ViewGroup
7 | import android.widget.TextView
8 | import androidx.fragment.app.Fragment
9 | import androidx.lifecycle.ViewModelProvider
10 | import app.kurozora.tracker.databinding.FragmentFeedBinding
11 |
12 | class FeedFragment : Fragment() {
13 |
14 | private var _binding: FragmentFeedBinding? = null
15 |
16 | // This property is only valid between onCreateView and
17 | // onDestroyView.
18 | private val binding get() = _binding!!
19 |
20 | override fun onCreateView(
21 | inflater: LayoutInflater,
22 | container: ViewGroup?,
23 | savedInstanceState: Bundle?
24 | ): View {
25 | val feedViewModel =
26 | ViewModelProvider(this).get(FeedViewModel::class.java)
27 |
28 | _binding = FragmentFeedBinding.inflate(inflater, container, false)
29 | val root: View = binding.root
30 |
31 | val textView: TextView = binding.textFeed
32 | feedViewModel.text.observe(viewLifecycleOwner) {
33 | textView.text = it
34 | }
35 | return root
36 | }
37 |
38 | override fun onDestroyView() {
39 | super.onDestroyView()
40 | _binding = null
41 | }
42 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/feed/FeedViewModel.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.feed
2 |
3 | import androidx.lifecycle.LiveData
4 | import androidx.lifecycle.MutableLiveData
5 | import androidx.lifecycle.ViewModel
6 |
7 | class FeedViewModel : ViewModel() {
8 |
9 | private val _text = MutableLiveData().apply {
10 | value = "This is feed"
11 | }
12 | val text: LiveData = _text
13 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/home/HomeFragment.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.home
2 |
3 | import android.os.Bundle
4 | import android.view.LayoutInflater
5 | import android.view.View
6 | import android.view.ViewGroup
7 | import android.widget.TextView
8 | import androidx.fragment.app.Fragment
9 | import androidx.lifecycle.ViewModelProvider
10 | import app.kurozora.tracker.databinding.FragmentHomeBinding
11 |
12 | class HomeFragment : Fragment() {
13 |
14 | private var _binding: FragmentHomeBinding? = null
15 |
16 | // This property is only valid between onCreateView and
17 | // onDestroyView.
18 | private val binding get() = _binding!!
19 |
20 | override fun onCreateView(
21 | inflater: LayoutInflater,
22 | container: ViewGroup?,
23 | savedInstanceState: Bundle?
24 | ): View {
25 | val homeViewModel =
26 | ViewModelProvider(this).get(HomeViewModel::class.java)
27 |
28 | _binding = FragmentHomeBinding.inflate(inflater, container, false)
29 | val root: View = binding.root
30 |
31 | val textView: TextView = binding.textHome
32 | homeViewModel.text.observe(viewLifecycleOwner) {
33 | textView.text = it
34 | }
35 | return root
36 | }
37 |
38 | override fun onDestroyView() {
39 | super.onDestroyView()
40 | _binding = null
41 | }
42 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/home/HomeViewModel.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.home
2 |
3 | import androidx.lifecycle.LiveData
4 | import androidx.lifecycle.MutableLiveData
5 | import androidx.lifecycle.ViewModel
6 |
7 | class HomeViewModel : ViewModel() {
8 |
9 | private val _text = MutableLiveData().apply {
10 | value = "This is home"
11 | }
12 | val text: LiveData = _text
13 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/library/LibraryFragment.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.library
2 |
3 | import android.os.Bundle
4 | import android.view.LayoutInflater
5 | import android.view.View
6 | import android.view.ViewGroup
7 | import android.widget.TextView
8 | import androidx.fragment.app.Fragment
9 | import androidx.lifecycle.ViewModelProvider
10 | import app.kurozora.tracker.databinding.FragmentLibraryBinding
11 |
12 | class LibraryFragment : Fragment() {
13 |
14 | private var _binding: FragmentLibraryBinding? = null
15 |
16 | // This property is only valid between onCreateView and
17 | // onDestroyView.
18 | private val binding get() = _binding!!
19 |
20 | override fun onCreateView(
21 | inflater: LayoutInflater,
22 | container: ViewGroup?,
23 | savedInstanceState: Bundle?
24 | ): View {
25 | val libraryViewModel =
26 | ViewModelProvider(this).get(LibraryViewModel::class.java)
27 |
28 | _binding = FragmentLibraryBinding.inflate(inflater, container, false)
29 | val root: View = binding.root
30 |
31 | val textView: TextView = binding.textLibrary
32 | libraryViewModel.text.observe(viewLifecycleOwner) {
33 | textView.text = it
34 | }
35 | return root
36 | }
37 |
38 | override fun onDestroyView() {
39 | super.onDestroyView()
40 | _binding = null
41 | }
42 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/library/LibraryViewModel.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.library
2 |
3 | import androidx.lifecycle.LiveData
4 | import androidx.lifecycle.MutableLiveData
5 | import androidx.lifecycle.ViewModel
6 |
7 | class LibraryViewModel : ViewModel() {
8 |
9 | private val _text = MutableLiveData().apply {
10 | value = "This is library"
11 | }
12 | val text: LiveData = _text
13 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/notifications/NotificationsFragment.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.notifications
2 |
3 | import android.os.Bundle
4 | import android.view.LayoutInflater
5 | import android.view.View
6 | import android.view.ViewGroup
7 | import android.widget.TextView
8 | import androidx.fragment.app.Fragment
9 | import androidx.lifecycle.ViewModelProvider
10 | import app.kurozora.tracker.databinding.FragmentNotificationsBinding
11 |
12 | class NotificationsFragment : Fragment() {
13 |
14 | private var _binding: FragmentNotificationsBinding? = null
15 |
16 | // This property is only valid between onCreateView and
17 | // onDestroyView.
18 | private val binding get() = _binding!!
19 |
20 | override fun onCreateView(
21 | inflater: LayoutInflater,
22 | container: ViewGroup?,
23 | savedInstanceState: Bundle?
24 | ): View {
25 | val notificationsViewModel =
26 | ViewModelProvider(this).get(NotificationsViewModel::class.java)
27 |
28 | _binding = FragmentNotificationsBinding.inflate(inflater, container, false)
29 | val root: View = binding.root
30 |
31 | val textView: TextView = binding.textNotifications
32 | notificationsViewModel.text.observe(viewLifecycleOwner) {
33 | textView.text = it
34 | }
35 | return root
36 | }
37 |
38 | override fun onDestroyView() {
39 | super.onDestroyView()
40 | _binding = null
41 | }
42 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/notifications/NotificationsViewModel.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.notifications
2 |
3 | import androidx.lifecycle.LiveData
4 | import androidx.lifecycle.MutableLiveData
5 | import androidx.lifecycle.ViewModel
6 |
7 | class NotificationsViewModel : ViewModel() {
8 |
9 | private val _text = MutableLiveData().apply {
10 | value = "This is notifications"
11 | }
12 | val text: LiveData = _text
13 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/search/SearchFragment.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.search
2 |
3 | import android.os.Bundle
4 | import android.view.LayoutInflater
5 | import android.view.View
6 | import android.view.ViewGroup
7 | import android.widget.TextView
8 | import androidx.fragment.app.Fragment
9 | import androidx.lifecycle.ViewModelProvider
10 | import app.kurozora.tracker.databinding.FragmentSearchBinding
11 |
12 | class SearchFragment : Fragment() {
13 |
14 | private var _binding: FragmentSearchBinding? = null
15 |
16 | // This property is only valid between onCreateView and
17 | // onDestroyView.
18 | private val binding get() = _binding!!
19 |
20 | override fun onCreateView(
21 | inflater: LayoutInflater,
22 | container: ViewGroup?,
23 | savedInstanceState: Bundle?
24 | ): View {
25 | val searchViewModel =
26 | ViewModelProvider(this).get(SearchViewModel::class.java)
27 |
28 | _binding = FragmentSearchBinding.inflate(inflater, container, false)
29 | val root: View = binding.root
30 |
31 | val textView: TextView = binding.textSearch
32 | searchViewModel.text.observe(viewLifecycleOwner) {
33 | textView.text = it
34 | }
35 | return root
36 | }
37 |
38 | override fun onDestroyView() {
39 | super.onDestroyView()
40 | _binding = null
41 | }
42 | }
--------------------------------------------------------------------------------
/app/src/main/java/app/kurozora/tracker/ui/search/SearchViewModel.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker.ui.search
2 |
3 | import androidx.lifecycle.LiveData
4 | import androidx.lifecycle.MutableLiveData
5 | import androidx.lifecycle.ViewModel
6 |
7 | class SearchViewModel : ViewModel() {
8 |
9 | private val _text = MutableLiveData().apply {
10 | value = "This is search"
11 | }
12 | val text: LiveData = _text
13 | }
--------------------------------------------------------------------------------
/app/src/main/res/color/bottom_nav_menu_color.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/ic_baseline_search_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/ic_launcher_foreground.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
15 |
18 |
21 |
22 |
23 |
24 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/ic_outline_home_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/ic_outline_notifications_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/ic_outline_rectangle_stack.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/navigation_feed_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/navigation_library_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/navigation_notifications_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v24/navigation_search_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_baseline_home_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_baseline_notifications_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_baseline_person_pin_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_baseline_rectangle_stack.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
10 |
15 |
20 |
25 |
30 |
35 |
40 |
45 |
50 |
55 |
60 |
65 |
70 |
75 |
80 |
85 |
90 |
95 |
100 |
105 |
110 |
115 |
120 |
125 |
130 |
135 |
140 |
145 |
150 |
155 |
160 |
165 |
170 |
171 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_outline_person_pin_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_outline_search_24.xml:
--------------------------------------------------------------------------------
1 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/navigation_home_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
22 |
23 |
35 |
36 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_feed.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_home.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_library.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_notifications.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_search.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/bottom_nav_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-hdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-mdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
--------------------------------------------------------------------------------
/app/src/main/res/navigation/mobile_navigation.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
14 |
15 |
20 |
21 |
26 |
27 |
32 |
33 |
38 |
--------------------------------------------------------------------------------
/app/src/main/res/values-night/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
61 |
--------------------------------------------------------------------------------
/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | #FFFFFF
5 | #FFEEEEEE
6 |
7 |
8 | #FF000000
9 | #FF333333
10 | #80333333
11 |
12 |
13 | #FFF7F6F6
14 | #FFF2F1F1
15 | #FFE8E7E7
16 | #FFC6C5C5
17 | #FFAFAFAF
18 | #FF8F8F8F
19 | #FF676767
20 | #FF545454
21 | #FF353535
22 | #FF161616
23 |
24 |
25 | #FFFFF4E5
26 | #FFFFE9CC
27 | #FFFFD499
28 | #FFFFBE66
29 | #FFFFA933
30 | #FFFF9300
31 | #FFE68400
32 | #FFCC7600
33 | #FFB36700
34 | #FF995800
35 |
36 |
37 | #FFE9EAEE
38 | #FfC7CBD8
39 | #FFA4A9BC
40 | #FF8288A1
41 | #FF686F8E
42 | #FF50577D
43 | #FF5A5D6D
44 | #FF525C70
45 | #FF494f69
46 | #FF353A50
47 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 | 16dp
6 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Kurozora
3 | Explore
4 | Library
5 | Feed
6 | Notifications
7 | Search
8 | Hello, Kurozora!
9 |
--------------------------------------------------------------------------------
/app/src/main/res/values/themes.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
31 |
32 |
33 |
61 |
--------------------------------------------------------------------------------
/app/src/test/java/app/kurozora/tracker/ExampleUnitTest.kt:
--------------------------------------------------------------------------------
1 | package app.kurozora.tracker
2 |
3 | import org.junit.Test
4 |
5 | import org.junit.Assert.*
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * See [testing documentation](http://d.android.com/tools/testing).
11 | */
12 | class ExampleUnitTest {
13 | @Test
14 | fun addition_isCorrect() {
15 | assertEquals(4, 2 + 2)
16 | }
17 | }
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | id 'com.android.application' version '8.0.1' apply false
4 | id 'com.android.library' version '8.0.1' apply false
5 | id 'org.jetbrains.kotlin.android' version '1.6.21' apply false
6 | }
7 |
8 | task clean(type: Delete) {
9 | delete rootProject.buildDir
10 | }
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | # AndroidX package structure to make it clearer which packages are bundled with the
15 | # Android operating system, and which are packaged with your app"s APK
16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn
17 | android.useAndroidX=true
18 | # Kotlin code style for this project: "official" or "obsolete":
19 | kotlin.code.style=official
20 | # Enables namespacing of each library's R class so that its R class includes only the
21 | # resources declared in the library itself and none from the library's dependencies,
22 | # thereby reducing the size of the R class for that library
23 | android.nonTransitiveRClass=true
24 | android.defaults.buildfeatures.buildconfig=true
25 | android.nonFinalResIds=false
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Feb 09 18:46:54 CET 2022
2 | distributionBase=GRADLE_USER_HOME
3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4 | distributionPath=wrapper/dists
5 | zipStorePath=wrapper/dists
6 | zipStoreBase=GRADLE_USER_HOME
7 |
--------------------------------------------------------------------------------
/gradlew:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Kurozora/kurozora-android/2a40eb213760a03a332acc40e2a887911488e323/gradlew
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @rem
2 | @rem Copyright 2015 the original author or authors.
3 | @rem
4 | @rem Licensed under the Apache License, Version 2.0 (the "License");
5 | @rem you may not use this file except in compliance with the License.
6 | @rem You may obtain a copy of the License at
7 | @rem
8 | @rem https://www.apache.org/licenses/LICENSE-2.0
9 | @rem
10 | @rem Unless required by applicable law or agreed to in writing, software
11 | @rem distributed under the License is distributed on an "AS IS" BASIS,
12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | @rem See the License for the specific language governing permissions and
14 | @rem limitations under the License.
15 | @rem
16 |
17 | @if "%DEBUG%" == "" @echo off
18 | @rem ##########################################################################
19 | @rem
20 | @rem Gradle startup script for Windows
21 | @rem
22 | @rem ##########################################################################
23 |
24 | @rem Set local scope for the variables with windows NT shell
25 | if "%OS%"=="Windows_NT" setlocal
26 |
27 | set DIRNAME=%~dp0
28 | if "%DIRNAME%" == "" set DIRNAME=.
29 | set APP_BASE_NAME=%~n0
30 | set APP_HOME=%DIRNAME%
31 |
32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter.
33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
34 |
35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
37 |
38 | @rem Find java.exe
39 | if defined JAVA_HOME goto findJavaFromJavaHome
40 |
41 | set JAVA_EXE=java.exe
42 | %JAVA_EXE% -version >NUL 2>&1
43 | if "%ERRORLEVEL%" == "0" goto execute
44 |
45 | echo.
46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
47 | echo.
48 | echo Please set the JAVA_HOME variable in your environment to match the
49 | echo location of your Java installation.
50 |
51 | goto fail
52 |
53 | :findJavaFromJavaHome
54 | set JAVA_HOME=%JAVA_HOME:"=%
55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
56 |
57 | if exist "%JAVA_EXE%" goto execute
58 |
59 | echo.
60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
61 | echo.
62 | echo Please set the JAVA_HOME variable in your environment to match the
63 | echo location of your Java installation.
64 |
65 | goto fail
66 |
67 | :execute
68 | @rem Setup the command line
69 |
70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
71 |
72 |
73 | @rem Execute Gradle
74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
75 |
76 | :end
77 | @rem End local scope for the variables with windows NT shell
78 | if "%ERRORLEVEL%"=="0" goto mainEnd
79 |
80 | :fail
81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
82 | rem the _cmd.exe /c_ return code!
83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84 | exit /b 1
85 |
86 | :mainEnd
87 | if "%OS%"=="Windows_NT" endlocal
88 |
89 | :omega
90 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | gradlePluginPortal()
4 | google()
5 | mavenCentral()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 | rootProject.name = "Kurozora"
16 | include ':app'
17 |
--------------------------------------------------------------------------------