diff --git a/StoragePlayground/.gitignore b/StoragePlayground/.gitignore new file mode 100644 index 00000000..aa724b77 --- /dev/null +++ b/StoragePlayground/.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/StoragePlayground/README.md b/StoragePlayground/README.md new file mode 100644 index 00000000..0e576e60 --- /dev/null +++ b/StoragePlayground/README.md @@ -0,0 +1 @@ +# Storage Playground \ No newline at end of file diff --git a/StoragePlayground/app/.gitignore b/StoragePlayground/app/.gitignore new file mode 100644 index 00000000..42afabfd --- /dev/null +++ b/StoragePlayground/app/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/StoragePlayground/app/build.gradle b/StoragePlayground/app/build.gradle new file mode 100644 index 00000000..aa1e715e --- /dev/null +++ b/StoragePlayground/app/build.gradle @@ -0,0 +1,80 @@ +plugins { + id 'com.android.application' + id 'org.jetbrains.kotlin.android' +} + +android { + namespace 'com.samples.storage.playground' + compileSdk 33 + + defaultConfig { + applicationId "com.samples.storage.playground" + minSdk 21 + targetSdk 33 + versionCode 1 + versionName "1.0" + + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + vectorDrawables { + useSupportLibrary true + } + } + + buildTypes { + release { + minifyEnabled 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 { + compose true + } + composeOptions { + kotlinCompilerExtensionVersion compose_compiler_extension_version + } + packagingOptions { + resources { + excludes += '/META-INF/{AL2.0,LGPL2.1}' + } + } +} + +dependencies { + def composeBom = platform('androidx.compose:compose-bom:2022.10.00') + implementation composeBom + androidTestImplementation composeBom + + implementation 'androidx.compose.material3:material3' + implementation 'androidx.compose.material:material-icons-extended' + + // Android Studio Preview support + implementation 'androidx.compose.ui:ui-tooling-preview' + debugImplementation 'androidx.compose.ui:ui-tooling' + + // UI Tests + androidTestImplementation 'androidx.compose.ui:ui-test-junit4' + debugImplementation 'androidx.compose.ui:ui-test-manifest' + + implementation 'androidx.core:core-ktx:1.9.0' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1' + implementation 'androidx.navigation:navigation-compose:2.5.3' + implementation 'androidx.activity:activity-compose:1.6.1' + + implementation 'io.coil-kt:coil-compose:2.2.1' + implementation 'io.coil-kt:coil-video:2.2.1' + + implementation(project(":ui-elements")) + implementation(project(":demos:photopicker")) + implementation(project(":demos:addfiles")) + + testImplementation 'junit:junit:4.13.2' + androidTestImplementation 'androidx.test.ext:junit:1.1.3' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' +} \ No newline at end of file diff --git a/StoragePlayground/app/proguard-rules.pro b/StoragePlayground/app/proguard-rules.pro new file mode 100644 index 00000000..481bb434 --- /dev/null +++ b/StoragePlayground/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/StoragePlayground/app/src/main/AndroidManifest.xml b/StoragePlayground/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..db72b1d3 --- /dev/null +++ b/StoragePlayground/app/src/main/AndroidManifest.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/StoragePlayground/app/src/main/java/com/samples/storage/playground/Demo.kt b/StoragePlayground/app/src/main/java/com/samples/storage/playground/Demo.kt new file mode 100644 index 00000000..a57fa8ab --- /dev/null +++ b/StoragePlayground/app/src/main/java/com/samples/storage/playground/Demo.kt @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2022 The Android Open Source Project + * + * 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 + * + * https://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. + */ + +package com.samples.storage.playground + +import androidx.compose.material.icons.Icons +import androidx.compose.material.icons.filled.AddCircle +import androidx.compose.material.icons.filled.AddPhotoAlternate +import androidx.compose.material.icons.filled.AttachFile +import androidx.compose.material.icons.filled.Edit +import androidx.compose.material.icons.filled.FolderOpen +import androidx.compose.material.icons.filled.ImageSearch +import androidx.compose.material.icons.filled.NoteAdd +import androidx.compose.material.icons.filled.PhotoLibrary +import androidx.compose.ui.graphics.vector.ImageVector + +data class Demo(val route: String, val label: String, val icon: ImageVector) + +object Demos { + val PhotoPicker = Demo("photo-picker", "Photo Picker", Icons.Filled.PhotoLibrary) + + val AddMediaFile = Demo("add-media-file", "Add Media File", Icons.Filled.AddPhotoAlternate) + val AddFileToDownloads = + Demo("add-files-to-downloads", "Add Files To Downloads", Icons.Filled.AddCircle) + + val CreateDocumentFile = + Demo("create-document-file", "Create Document File", Icons.Filled.NoteAdd) + val ReadDocumentFile = Demo("read-document-file", "Read Document File", Icons.Filled.AttachFile) + val EditDocumentFile = Demo("edit-document-file", "Edit Document File", Icons.Filled.Edit) + val ListFolderFiles = Demo("list-folder-files", "List Folder Files", Icons.Filled.FolderOpen) + + val ListMediaFiles = Demo("list-media-files", "List Media Files", Icons.Filled.ImageSearch) + + val list = listOf( + PhotoPicker, + + AddMediaFile, + AddFileToDownloads, + + CreateDocumentFile, + ReadDocumentFile, + EditDocumentFile, + ListFolderFiles, + + ListMediaFiles, + ) +} \ No newline at end of file diff --git a/StoragePlayground/app/src/main/java/com/samples/storage/playground/DemoScreen.kt b/StoragePlayground/app/src/main/java/com/samples/storage/playground/DemoScreen.kt new file mode 100644 index 00000000..502ab823 --- /dev/null +++ b/StoragePlayground/app/src/main/java/com/samples/storage/playground/DemoScreen.kt @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2022 The Android Open Source Project + * + * 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 + * + * https://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. + */ + +package com.samples.storage.playground + +import androidx.compose.foundation.clickable +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.lazy.LazyColumn +import androidx.compose.foundation.lazy.items +import androidx.compose.material3.Divider +import androidx.compose.material3.ExperimentalMaterial3Api +import androidx.compose.material3.Icon +import androidx.compose.material3.ListItem +import androidx.compose.material3.Scaffold +import androidx.compose.material3.Text +import androidx.compose.material3.TopAppBar +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.text.font.FontFamily +import androidx.navigation.NavController + +@OptIn(ExperimentalMaterial3Api::class) +@Composable +fun DemoScreen(navController: NavController) { + Scaffold( + topBar = { + TopAppBar( + title = { Text("Storage Playground", fontFamily = FontFamily.Serif) }, + ) + }, + ) { paddingValues -> + LazyColumn(Modifier.padding(paddingValues)) { + items(Demos.list) { demo -> + ListItem( + modifier = Modifier.clickable { navController.navigate(demo.route) }, + headlineText = { Text(demo.label) }, + leadingContent = { Icon(demo.icon, contentDescription = null) } + ) + Divider() + } + } + } +} \ No newline at end of file diff --git a/StoragePlayground/app/src/main/java/com/samples/storage/playground/MainActivity.kt b/StoragePlayground/app/src/main/java/com/samples/storage/playground/MainActivity.kt new file mode 100644 index 00000000..957c5ecb --- /dev/null +++ b/StoragePlayground/app/src/main/java/com/samples/storage/playground/MainActivity.kt @@ -0,0 +1,58 @@ +/* + * Copyright (C) 2022 The Android Open Source Project + * + * 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 + * + * https://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. + */ + +package com.samples.storage.playground + +import android.content.Context +import android.os.Bundle +import androidx.activity.ComponentActivity +import androidx.activity.compose.setContent +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.Surface +import androidx.compose.material3.Text +import androidx.compose.ui.Modifier +import androidx.navigation.compose.NavHost +import androidx.navigation.compose.composable +import androidx.navigation.compose.rememberNavController +import com.samples.storage.playground.addfiles.AddMediaFileScreen +import com.samples.storage.playground.photopicker.PhotoPickerScreen +import com.samples.storage.playground.ui.theme.StoragePlaygroundTheme + +class MainActivity : ComponentActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContent { + StoragePlaygroundTheme { + // A surface container using the 'background' color from the theme + Surface( + modifier = Modifier.fillMaxSize(), + color = MaterialTheme.colorScheme.background + ) { + val navController = rememberNavController() + val startNavigation = "demos" +// val startNavigation = Demos.PhotoPicker.route + + NavHost(navController = navController, startDestination = startNavigation) { + composable("demos") { DemoScreen(navController) } + composable(Demos.PhotoPicker.route) { PhotoPickerScreen(navController) } + composable(Demos.AddMediaFile.route) { AddMediaFileScreen(navController) } + } + } + } + } + } +} \ No newline at end of file diff --git a/StoragePlayground/app/src/main/java/com/samples/storage/playground/StoragePlaygroundApplication.kt b/StoragePlayground/app/src/main/java/com/samples/storage/playground/StoragePlaygroundApplication.kt new file mode 100644 index 00000000..e0c5ba1f --- /dev/null +++ b/StoragePlayground/app/src/main/java/com/samples/storage/playground/StoragePlaygroundApplication.kt @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2022 The Android Open Source Project + * + * 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 + * + * https://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. + */ + +import android.app.Application +import coil.ImageLoader +import coil.ImageLoaderFactory +import coil.decode.VideoFrameDecoder + +class StoragePlaygroundApplication : Application(), ImageLoaderFactory { + + override fun newImageLoader(): ImageLoader { + return ImageLoader.Builder(this) + .components { + add(VideoFrameDecoder.Factory()) + } + .crossfade(true) + .build() + } +} \ No newline at end of file diff --git a/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Color.kt b/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Color.kt new file mode 100644 index 00000000..1fecf6ee --- /dev/null +++ b/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Color.kt @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2022 The Android Open Source Project + * + * 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 + * + * https://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. + */ + +package com.samples.storage.playground.ui.theme + +import androidx.compose.ui.graphics.Color + +val Purple80 = Color(0xFFD0BCFF) +val PurpleGrey80 = Color(0xFFCCC2DC) +val Pink80 = Color(0xFFEFB8C8) + +val Purple40 = Color(0xFF6650a4) +val PurpleGrey40 = Color(0xFF625b71) +val Pink40 = Color(0xFF7D5260) \ No newline at end of file diff --git a/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Theme.kt b/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Theme.kt new file mode 100644 index 00000000..217e90e0 --- /dev/null +++ b/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Theme.kt @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2022 The Android Open Source Project + * + * 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 + * + * https://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. + */ + +package com.samples.storage.playground.ui.theme + +import android.app.Activity +import android.content.Context +import android.content.ContextWrapper +import android.os.Build +import androidx.compose.foundation.isSystemInDarkTheme +import androidx.compose.material3.MaterialTheme +import androidx.compose.material3.darkColorScheme +import androidx.compose.material3.dynamicDarkColorScheme +import androidx.compose.material3.dynamicLightColorScheme +import androidx.compose.material3.lightColorScheme +import androidx.compose.runtime.Composable +import androidx.compose.runtime.SideEffect +import androidx.compose.ui.platform.LocalContext +import androidx.compose.ui.platform.LocalView +import androidx.core.view.WindowCompat + +private val DarkColorScheme = darkColorScheme( + primary = Purple80, + secondary = PurpleGrey80, + tertiary = Pink80 +) + +private val LightColorScheme = lightColorScheme( + primary = Purple40, + secondary = PurpleGrey40, + tertiary = Pink40 + + /* Other default colors to override + background = Color(0xFFFFFBFE), + surface = Color(0xFFFFFBFE), + onPrimary = Color.White, + onSecondary = Color.White, + onTertiary = Color.White, + onBackground = Color(0xFF1C1B1F), + onSurface = Color(0xFF1C1B1F), + */ +) + +@Composable +fun StoragePlaygroundTheme( + darkTheme: Boolean = isSystemInDarkTheme(), + // Dynamic color is available on Android 12+ + dynamicColor: Boolean = true, + content: @Composable () -> Unit +) { + val colorScheme = when { + dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> { + val context = LocalContext.current + if (darkTheme) dynamicDarkColorScheme(context) else dynamicLightColorScheme(context) + } + darkTheme -> DarkColorScheme + else -> LightColorScheme + } + val view = LocalView.current + val context = LocalContext.current + if (!view.isInEditMode) { + SideEffect { + WindowCompat.getInsetsController( + context.findActivity().window, + view + ).isAppearanceLightStatusBars = !darkTheme + } + } + + MaterialTheme( + colorScheme = colorScheme, + typography = Typography, + content = content + ) +} + +private tailrec fun Context.findActivity(): Activity = when (this) { + is Activity -> this + is ContextWrapper -> this.baseContext.findActivity() + else -> throw IllegalArgumentException("Could not find activity!") +} \ No newline at end of file diff --git a/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Type.kt b/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Type.kt new file mode 100644 index 00000000..298b4400 --- /dev/null +++ b/StoragePlayground/app/src/main/java/com/samples/storage/playground/ui/theme/Type.kt @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2022 The Android Open Source Project + * + * 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 + * + * https://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. + */ + +package com.samples.storage.playground.ui.theme + +import androidx.compose.material3.Typography +import androidx.compose.ui.text.TextStyle +import androidx.compose.ui.text.font.FontFamily +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.sp + +// Set of Material typography styles to start with +val Typography = Typography( + bodyLarge = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Normal, + fontSize = 16.sp, + lineHeight = 24.sp, + letterSpacing = 0.5.sp + ) + /* Other default text styles to override + titleLarge = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Normal, + fontSize = 22.sp, + lineHeight = 28.sp, + letterSpacing = 0.sp + ), + labelSmall = TextStyle( + fontFamily = FontFamily.Default, + fontWeight = FontWeight.Medium, + fontSize = 11.sp, + lineHeight = 16.sp, + letterSpacing = 0.5.sp + ) + */ +) \ No newline at end of file diff --git a/StoragePlayground/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/StoragePlayground/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 00000000..d0ed943a --- /dev/null +++ b/StoragePlayground/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/StoragePlayground/app/src/main/res/drawable/ic_launcher_background.xml b/StoragePlayground/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 00000000..c90a67bb --- /dev/null +++ b/StoragePlayground/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/StoragePlayground/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/StoragePlayground/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..bc7babb9 --- /dev/null +++ b/StoragePlayground/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,21 @@ + + + + + + + \ No newline at end of file diff --git a/StoragePlayground/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/StoragePlayground/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 00000000..bc7babb9 --- /dev/null +++ b/StoragePlayground/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,21 @@ + + + + + + + \ No newline at end of file diff --git a/StoragePlayground/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/StoragePlayground/app/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 00000000..c209e78e Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/StoragePlayground/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 00000000..b2dfe3d1 Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/StoragePlayground/app/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 00000000..4f0f1d64 Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/StoragePlayground/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 00000000..62b611da Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/StoragePlayground/app/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 00000000..948a3070 Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/StoragePlayground/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..1b9a6956 Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/StoragePlayground/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 00000000..28d4b77f Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/StoragePlayground/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..9287f508 Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/StoragePlayground/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 00000000..aa7d6427 Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/StoragePlayground/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/StoragePlayground/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..9126ae37 Binary files /dev/null and b/StoragePlayground/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/StoragePlayground/app/src/main/res/values/colors.xml b/StoragePlayground/app/src/main/res/values/colors.xml new file mode 100644 index 00000000..5ac36474 --- /dev/null +++ b/StoragePlayground/app/src/main/res/values/colors.xml @@ -0,0 +1,26 @@ + + + + + #FFBB86FC + #FF6200EE + #FF3700B3 + #FF03DAC5 + #FF018786 + #FF000000 + #FFFFFFFF + \ No newline at end of file diff --git a/StoragePlayground/app/src/main/res/values/strings.xml b/StoragePlayground/app/src/main/res/values/strings.xml new file mode 100644 index 00000000..3641c8ab --- /dev/null +++ b/StoragePlayground/app/src/main/res/values/strings.xml @@ -0,0 +1,19 @@ + + + + Storage Playground + \ No newline at end of file diff --git a/StoragePlayground/app/src/main/res/values/themes.xml b/StoragePlayground/app/src/main/res/values/themes.xml new file mode 100644 index 00000000..d7eb3264 --- /dev/null +++ b/StoragePlayground/app/src/main/res/values/themes.xml @@ -0,0 +1,21 @@ + + + + + +