diff --git a/mobile/.gitignore b/mobile/.gitignore new file mode 100644 index 0000000..aa724b7 --- /dev/null +++ b/mobile/.gitignore @@ -0,0 +1,15 @@ +*.iml +.gradle +/local.properties +/.idea/caches +/.idea/libraries +/.idea/modules.xml +/.idea/workspace.xml +/.idea/navEditor.xml +/.idea/assetWizardSettings.xml +.DS_Store +/build +/captures +.externalNativeBuild +.cxx +local.properties diff --git a/mobile/App.class b/mobile/App.class deleted file mode 100644 index 9edb0f1..0000000 Binary files a/mobile/App.class and /dev/null differ diff --git a/mobile/App.java b/mobile/App.java deleted file mode 100644 index 787c895..0000000 --- a/mobile/App.java +++ /dev/null @@ -1,69 +0,0 @@ -import java.io.BufferedReader; -import java.io.DataOutputStream; -import java.io.IOException; -import java.io.InputStreamReader; -import java.net.HttpURLConnection; -import java.net.MalformedURLException; -import java.net.SocketTimeoutException; -import java.net.URL; -import java.net.URLEncoder; - -public class App { - - public static void main(String[] args) throws IOException { - URL url = new URL("http://127.0.0.1:8080/fetch.php"); - HttpURLConnection client = null; - try { - client = (HttpURLConnection) url.openConnection(); - - // Additional headers - client.setRequestProperty("Connection", "close"); - client.setUseCaches(false); - - // Set the request method to POST - client.setRequestMethod("POST"); - client.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); - client.setDoOutput(true); - - // Send the parameters in the request body - String urlParameters = "username=" + URLEncoder.encode("zlevorantonin", "UTF-8") + - "&password=" + URLEncoder.encode("Skolajenej!22", "UTF-8"); - - DataOutputStream wr = new DataOutputStream(client.getOutputStream()); - wr.writeBytes(urlParameters); - wr.flush(); - wr.close(); - - // Get the response code - int responseCode = client.getResponseCode(); - //System.out.println("Response Code: " + responseCode); - - // Read the response body - try (BufferedReader in = new BufferedReader(new InputStreamReader(client.getInputStream()))) { - String inputLine; - StringBuilder response = new StringBuilder(); - - while ((inputLine = in.readLine()) != null) { - response.append(inputLine); - } - - // Print the response body - System.out.println(response.toString()); - } - - } catch (MalformedURLException error) { - // Handles an incorrectly entered URL - System.out.println("malformed URL"); - } catch (SocketTimeoutException error) { - // Handles URL access timeout. - System.out.println("socket timeout"); - } catch (IOException error) { - // Handles input and output errors - System.out.println("IO exception: " + error.getMessage()); - error.printStackTrace(); - } finally { - if (client != null) // Make sure the connection is not null. - client.disconnect(); - } - } -} diff --git a/mobile/app/.gitignore b/mobile/app/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/mobile/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/mobile/app/build.gradle.kts b/mobile/app/build.gradle.kts new file mode 100644 index 0000000..225d18c --- /dev/null +++ b/mobile/app/build.gradle.kts @@ -0,0 +1,51 @@ +plugins { + id("com.android.application") + id("org.jetbrains.kotlin.android") +} + +android { + namespace = "com.odweta.solen" + compileSdk = 34 + + defaultConfig { + applicationId = "com.odweta.solen" + minSdk = 24 + targetSdk = 34 + versionCode = 1 + versionName = "1.0" + + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" + } + + buildTypes { + release { + isMinifyEnabled = false + proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") + } + } + compileOptions { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = "1.8" + } + buildFeatures { + viewBinding = true + } +} + +dependencies { + + implementation("androidx.core:core-ktx:1.10.1") + implementation("androidx.appcompat:appcompat:1.6.1") + implementation("com.google.android.material:material:1.9.0") + implementation("androidx.constraintlayout:constraintlayout:2.1.4") + implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.6.1") + implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1") + implementation("androidx.navigation:navigation-fragment-ktx:2.6.0") + implementation("androidx.navigation:navigation-ui-ktx:2.6.0") + testImplementation("junit:junit:4.13.2") + androidTestImplementation("androidx.test.ext:junit:1.1.5") + androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") +} \ No newline at end of file diff --git a/mobile/app/proguard-rules.pro b/mobile/app/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/mobile/app/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile \ No newline at end of file diff --git a/mobile/app/src/androidTest/java/com/odweta/solen/ExampleInstrumentedTest.kt b/mobile/app/src/androidTest/java/com/odweta/solen/ExampleInstrumentedTest.kt new file mode 100644 index 0000000..7af0737 --- /dev/null +++ b/mobile/app/src/androidTest/java/com/odweta/solen/ExampleInstrumentedTest.kt @@ -0,0 +1,24 @@ +package com.odweta.solen + +import androidx.test.platform.app.InstrumentationRegistry +import androidx.test.ext.junit.runners.AndroidJUnit4 + +import org.junit.Test +import org.junit.runner.RunWith + +import org.junit.Assert.* + +/** + * Instrumented test, which will execute on an Android device. + * + * See [testing documentation](http://d.android.com/tools/testing). + */ +@RunWith(AndroidJUnit4::class) +class ExampleInstrumentedTest { + @Test + fun useAppContext() { + // Context of the app under test. + val appContext = InstrumentationRegistry.getInstrumentation().targetContext + assertEquals("com.odweta.solen", appContext.packageName) + } +} \ No newline at end of file diff --git a/mobile/app/src/main/AndroidManifest.xml b/mobile/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..f8a6ccc --- /dev/null +++ b/mobile/app/src/main/AndroidManifest.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/java/com/odweta/solen/MainActivity.kt b/mobile/app/src/main/java/com/odweta/solen/MainActivity.kt new file mode 100644 index 0000000..6b08a45 --- /dev/null +++ b/mobile/app/src/main/java/com/odweta/solen/MainActivity.kt @@ -0,0 +1,54 @@ +package com.odweta.solen + +import android.os.Bundle +import android.view.Menu +import com.google.android.material.snackbar.Snackbar +import com.google.android.material.navigation.NavigationView +import androidx.navigation.findNavController +import androidx.navigation.ui.AppBarConfiguration +import androidx.navigation.ui.navigateUp +import androidx.navigation.ui.setupActionBarWithNavController +import androidx.navigation.ui.setupWithNavController +import androidx.drawerlayout.widget.DrawerLayout +import androidx.appcompat.app.AppCompatActivity +import com.odweta.solen.databinding.ActivityMainBinding + +class MainActivity : AppCompatActivity() { + + private lateinit var appBarConfiguration: AppBarConfiguration + private lateinit var binding: ActivityMainBinding + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + + binding = ActivityMainBinding.inflate(layoutInflater) + setContentView(binding.root) + + setSupportActionBar(binding.appBarMain.toolbar) + + binding.appBarMain.fab.setOnClickListener { view -> + Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) + .setAction("Action", null).show() + } + val drawerLayout: DrawerLayout = binding.drawerLayout + val navView: NavigationView = binding.navView + val navController = findNavController(R.id.nav_host_fragment_content_main) + // Passing each menu ID as a set of Ids because each + // menu should be considered as top level destinations. + appBarConfiguration = AppBarConfiguration(setOf( + R.id.nav_home, R.id.nav_gallery, R.id.nav_slideshow), drawerLayout) + setupActionBarWithNavController(navController, appBarConfiguration) + navView.setupWithNavController(navController) + } + + override fun onCreateOptionsMenu(menu: Menu): Boolean { + // Inflate the menu; this adds items to the action bar if it is present. + menuInflater.inflate(R.menu.main, menu) + return true + } + + override fun onSupportNavigateUp(): Boolean { + val navController = findNavController(R.id.nav_host_fragment_content_main) + return navController.navigateUp(appBarConfiguration) || super.onSupportNavigateUp() + } +} \ No newline at end of file diff --git a/mobile/app/src/main/java/com/odweta/solen/ui/gallery/GalleryFragment.kt b/mobile/app/src/main/java/com/odweta/solen/ui/gallery/GalleryFragment.kt new file mode 100644 index 0000000..3a3416e --- /dev/null +++ b/mobile/app/src/main/java/com/odweta/solen/ui/gallery/GalleryFragment.kt @@ -0,0 +1,42 @@ +package com.odweta.solen.ui.gallery + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.widget.TextView +import androidx.fragment.app.Fragment +import androidx.lifecycle.ViewModelProvider +import com.odweta.solen.databinding.FragmentGalleryBinding + +class GalleryFragment : Fragment() { + + private var _binding: FragmentGalleryBinding? = null + + // This property is only valid between onCreateView and + // onDestroyView. + private val binding get() = _binding!! + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + val galleryViewModel = + ViewModelProvider(this).get(GalleryViewModel::class.java) + + _binding = FragmentGalleryBinding.inflate(inflater, container, false) + val root: View = binding.root + + val textView: TextView = binding.textGallery + galleryViewModel.text.observe(viewLifecycleOwner) { + textView.text = it + } + return root + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } +} \ No newline at end of file diff --git a/mobile/app/src/main/java/com/odweta/solen/ui/gallery/GalleryViewModel.kt b/mobile/app/src/main/java/com/odweta/solen/ui/gallery/GalleryViewModel.kt new file mode 100644 index 0000000..c628a78 --- /dev/null +++ b/mobile/app/src/main/java/com/odweta/solen/ui/gallery/GalleryViewModel.kt @@ -0,0 +1,13 @@ +package com.odweta.solen.ui.gallery + +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel + +class GalleryViewModel : ViewModel() { + + private val _text = MutableLiveData().apply { + value = "This is gallery Fragment" + } + val text: LiveData = _text +} \ No newline at end of file diff --git a/mobile/app/src/main/java/com/odweta/solen/ui/home/HomeFragment.kt b/mobile/app/src/main/java/com/odweta/solen/ui/home/HomeFragment.kt new file mode 100644 index 0000000..65ff036 --- /dev/null +++ b/mobile/app/src/main/java/com/odweta/solen/ui/home/HomeFragment.kt @@ -0,0 +1,42 @@ +package com.odweta.solen.ui.home + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.widget.TextView +import androidx.fragment.app.Fragment +import androidx.lifecycle.ViewModelProvider +import com.odweta.solen.databinding.FragmentHomeBinding + +class HomeFragment : Fragment() { + + private var _binding: FragmentHomeBinding? = null + + // This property is only valid between onCreateView and + // onDestroyView. + private val binding get() = _binding!! + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + val homeViewModel = + ViewModelProvider(this).get(HomeViewModel::class.java) + + _binding = FragmentHomeBinding.inflate(inflater, container, false) + val root: View = binding.root + + val textView: TextView = binding.textHome + homeViewModel.text.observe(viewLifecycleOwner) { + textView.text = it + } + return root + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } +} \ No newline at end of file diff --git a/mobile/app/src/main/java/com/odweta/solen/ui/home/HomeViewModel.kt b/mobile/app/src/main/java/com/odweta/solen/ui/home/HomeViewModel.kt new file mode 100644 index 0000000..fa424c0 --- /dev/null +++ b/mobile/app/src/main/java/com/odweta/solen/ui/home/HomeViewModel.kt @@ -0,0 +1,13 @@ +package com.odweta.solen.ui.home + +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel + +class HomeViewModel : ViewModel() { + + private val _text = MutableLiveData().apply { + value = "This is home Fragment" + } + val text: LiveData = _text +} \ No newline at end of file diff --git a/mobile/app/src/main/java/com/odweta/solen/ui/slideshow/SlideshowFragment.kt b/mobile/app/src/main/java/com/odweta/solen/ui/slideshow/SlideshowFragment.kt new file mode 100644 index 0000000..1910270 --- /dev/null +++ b/mobile/app/src/main/java/com/odweta/solen/ui/slideshow/SlideshowFragment.kt @@ -0,0 +1,42 @@ +package com.odweta.solen.ui.slideshow + +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.widget.TextView +import androidx.fragment.app.Fragment +import androidx.lifecycle.ViewModelProvider +import com.odweta.solen.databinding.FragmentSlideshowBinding + +class SlideshowFragment : Fragment() { + + private var _binding: FragmentSlideshowBinding? = null + + // This property is only valid between onCreateView and + // onDestroyView. + private val binding get() = _binding!! + + override fun onCreateView( + inflater: LayoutInflater, + container: ViewGroup?, + savedInstanceState: Bundle? + ): View { + val slideshowViewModel = + ViewModelProvider(this).get(SlideshowViewModel::class.java) + + _binding = FragmentSlideshowBinding.inflate(inflater, container, false) + val root: View = binding.root + + val textView: TextView = binding.textSlideshow + slideshowViewModel.text.observe(viewLifecycleOwner) { + textView.text = it + } + return root + } + + override fun onDestroyView() { + super.onDestroyView() + _binding = null + } +} \ No newline at end of file diff --git a/mobile/app/src/main/java/com/odweta/solen/ui/slideshow/SlideshowViewModel.kt b/mobile/app/src/main/java/com/odweta/solen/ui/slideshow/SlideshowViewModel.kt new file mode 100644 index 0000000..88fa0b5 --- /dev/null +++ b/mobile/app/src/main/java/com/odweta/solen/ui/slideshow/SlideshowViewModel.kt @@ -0,0 +1,13 @@ +package com.odweta.solen.ui.slideshow + +import androidx.lifecycle.LiveData +import androidx.lifecycle.MutableLiveData +import androidx.lifecycle.ViewModel + +class SlideshowViewModel : ViewModel() { + + private val _text = MutableLiveData().apply { + value = "This is slideshow Fragment" + } + val text: LiveData = _text +} \ No newline at end of file diff --git a/mobile/app/src/main/res/drawable/ic_launcher_background.xml b/mobile/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/mobile/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mobile/app/src/main/res/drawable/ic_launcher_foreground.xml b/mobile/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/mobile/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/drawable/ic_menu_camera.xml b/mobile/app/src/main/res/drawable/ic_menu_camera.xml new file mode 100644 index 0000000..634fe92 --- /dev/null +++ b/mobile/app/src/main/res/drawable/ic_menu_camera.xml @@ -0,0 +1,12 @@ + + + + diff --git a/mobile/app/src/main/res/drawable/ic_menu_gallery.xml b/mobile/app/src/main/res/drawable/ic_menu_gallery.xml new file mode 100644 index 0000000..03c7709 --- /dev/null +++ b/mobile/app/src/main/res/drawable/ic_menu_gallery.xml @@ -0,0 +1,9 @@ + + + diff --git a/mobile/app/src/main/res/drawable/ic_menu_slideshow.xml b/mobile/app/src/main/res/drawable/ic_menu_slideshow.xml new file mode 100644 index 0000000..5e9e163 --- /dev/null +++ b/mobile/app/src/main/res/drawable/ic_menu_slideshow.xml @@ -0,0 +1,9 @@ + + + diff --git a/mobile/app/src/main/res/drawable/side_nav_bar.xml b/mobile/app/src/main/res/drawable/side_nav_bar.xml new file mode 100644 index 0000000..6d81870 --- /dev/null +++ b/mobile/app/src/main/res/drawable/side_nav_bar.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/layout/activity_main.xml b/mobile/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..6c7dd7c --- /dev/null +++ b/mobile/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/layout/app_bar_main.xml b/mobile/app/src/main/res/layout/app_bar_main.xml new file mode 100644 index 0000000..878c834 --- /dev/null +++ b/mobile/app/src/main/res/layout/app_bar_main.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/layout/content_main.xml b/mobile/app/src/main/res/layout/content_main.xml new file mode 100644 index 0000000..6e0ea39 --- /dev/null +++ b/mobile/app/src/main/res/layout/content_main.xml @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/layout/fragment_gallery.xml b/mobile/app/src/main/res/layout/fragment_gallery.xml new file mode 100644 index 0000000..643fe25 --- /dev/null +++ b/mobile/app/src/main/res/layout/fragment_gallery.xml @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/layout/fragment_home.xml b/mobile/app/src/main/res/layout/fragment_home.xml new file mode 100644 index 0000000..f3d9b08 --- /dev/null +++ b/mobile/app/src/main/res/layout/fragment_home.xml @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/layout/fragment_slideshow.xml b/mobile/app/src/main/res/layout/fragment_slideshow.xml new file mode 100644 index 0000000..2141a33 --- /dev/null +++ b/mobile/app/src/main/res/layout/fragment_slideshow.xml @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/layout/nav_header_main.xml b/mobile/app/src/main/res/layout/nav_header_main.xml new file mode 100644 index 0000000..c145545 --- /dev/null +++ b/mobile/app/src/main/res/layout/nav_header_main.xml @@ -0,0 +1,35 @@ + + + + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/menu/activity_main_drawer.xml b/mobile/app/src/main/res/menu/activity_main_drawer.xml new file mode 100644 index 0000000..d7f2df2 --- /dev/null +++ b/mobile/app/src/main/res/menu/activity_main_drawer.xml @@ -0,0 +1,20 @@ + + + + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/menu/main.xml b/mobile/app/src/main/res/menu/main.xml new file mode 100644 index 0000000..412d5f8 --- /dev/null +++ b/mobile/app/src/main/res/menu/main.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/mobile/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/mobile/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/mobile/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 0000000..6f3b755 --- /dev/null +++ b/mobile/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/mobile/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 0000000..c209e78 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/mobile/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/mobile/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 0000000..b2dfe3d Binary files /dev/null and b/mobile/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/mobile/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/mobile/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 0000000..4f0f1d6 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/mobile/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/mobile/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 0000000..62b611d Binary files /dev/null and b/mobile/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/mobile/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/mobile/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 0000000..948a307 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/mobile/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/mobile/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..1b9a695 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/mobile/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/mobile/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 0000000..28d4b77 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/mobile/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/mobile/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9287f50 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/mobile/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/mobile/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 0000000..aa7d642 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/mobile/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/mobile/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 0000000..9126ae3 Binary files /dev/null and b/mobile/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/mobile/app/src/main/res/navigation/mobile_navigation.xml b/mobile/app/src/main/res/navigation/mobile_navigation.xml new file mode 100644 index 0000000..7b66ee2 --- /dev/null +++ b/mobile/app/src/main/res/navigation/mobile_navigation.xml @@ -0,0 +1,25 @@ + + + + + + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/values-land/dimens.xml b/mobile/app/src/main/res/values-land/dimens.xml new file mode 100644 index 0000000..22d7f00 --- /dev/null +++ b/mobile/app/src/main/res/values-land/dimens.xml @@ -0,0 +1,3 @@ + + 48dp + \ No newline at end of file diff --git a/mobile/app/src/main/res/values-night/themes.xml b/mobile/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..a4312c0 --- /dev/null +++ b/mobile/app/src/main/res/values-night/themes.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/mobile/app/src/main/res/values-w1240dp/dimens.xml b/mobile/app/src/main/res/values-w1240dp/dimens.xml new file mode 100644 index 0000000..d73f4a3 --- /dev/null +++ b/mobile/app/src/main/res/values-w1240dp/dimens.xml @@ -0,0 +1,3 @@ + + 200dp + \ No newline at end of file diff --git a/mobile/app/src/main/res/values-w600dp/dimens.xml b/mobile/app/src/main/res/values-w600dp/dimens.xml new file mode 100644 index 0000000..22d7f00 --- /dev/null +++ b/mobile/app/src/main/res/values-w600dp/dimens.xml @@ -0,0 +1,3 @@ + + 48dp + \ No newline at end of file diff --git a/mobile/app/src/main/res/values/colors.xml b/mobile/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..f8c6127 --- /dev/null +++ b/mobile/app/src/main/res/values/colors.xml @@ -0,0 +1,10 @@ + + + #FFBB86FC + #FF6200EE + #FF3700B3 + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + \ No newline at end of file diff --git a/mobile/app/src/main/res/values/dimens.xml b/mobile/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..4ab4520 --- /dev/null +++ b/mobile/app/src/main/res/values/dimens.xml @@ -0,0 +1,8 @@ + + + 16dp + 16dp + 8dp + 176dp + 16dp + \ No newline at end of file diff --git a/mobile/app/src/main/res/values/strings.xml b/mobile/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..d4ce2fe --- /dev/null +++ b/mobile/app/src/main/res/values/strings.xml @@ -0,0 +1,13 @@ + + Solen + Open navigation drawer + Close navigation drawer + Android Studio + android.studio@android.com + Navigation header + Settings + + Home + Gallery + Slideshow + \ No newline at end of file diff --git a/mobile/app/src/main/res/values/themes.xml b/mobile/app/src/main/res/values/themes.xml new file mode 100644 index 0000000..9e2d1d0 --- /dev/null +++ b/mobile/app/src/main/res/values/themes.xml @@ -0,0 +1,25 @@ + + + + + + +