├── .gitignore ├── .idea ├── .gitignore ├── .name ├── compiler.xml ├── gradle.xml ├── kotlinc.xml ├── misc.xml └── vcs.xml ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle.kts ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── jgomezdev │ │ └── draganddroplibreary │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── jgomezdev │ │ │ └── draganddroplibreary │ │ │ └── MainActivity.kt │ └── res │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── jgomezdev │ └── draganddroplibreary │ └── ExampleUnitTest.kt ├── build.gradle.kts ├── drag-and-drop-compose ├── .gitignore ├── build.gradle.kts ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── jgomezdev │ │ └── draganddropcompose │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── jgomezdev │ │ └── draganddropcompose │ │ ├── DragAndDrop.kt │ │ └── SlideState.kt │ └── test │ └── java │ └── com │ └── jgomezdev │ └── draganddropcompose │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── jitpack.yml └── settings.gradle.kts /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | DragAndDropLibrery -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 20 | 21 | -------------------------------------------------------------------------------- /.idea/kotlinc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Javier Gómez 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # :books: Modifier extension drag-and-drop # 2 | 3 | [![](https://jitpack.io/v/JGomez-Dev/drag-and-drop-compose-library.svg)](https://jitpack.io/#JGomez-Dev/drag-and-drop-compose-library) 4 | 5 | ![ezgif com-video-to-gif (1)](https://github.com/JGomez-Dev/drag-and-drop-compose-library/assets/49919880/9c19eb25-ff6c-4a73-95c1-3e2a6ff6dbc9) 6 | 7 | This project is a library that provides an extension of the Modifier class in Jetpack Compose, allowing you to easily add drag and drop behavior to list items in your applications. With this library, you can enhance the user experience by enabling users to drag items from a list and place them in a new position. 8 | 9 | ### 📁 Example Repo 10 | https://github.com/JGomez-Dev/drag-and-drop-jetpack-compose 11 | 12 | ### :control_knobs: How to Use ### 13 | 14 | To be able to use it, we will need to include the following in the Gradle file of our module where we want to use it: 15 | 16 | ```kotlin 17 | implementation ("com.github.JGomez-Dev:drag-and-drop-compose-library:") 18 | ``` 19 | 20 | In the settings.gradle: 21 | ```kotlin 22 | pluginManagement { 23 | repositories { 24 | ... 25 | maven { url = uri("https://jitpack.io") } 26 | } 27 | } 28 | 29 | dependencyResolutionManagement { 30 | repositories { 31 | ... 32 | maven { url = uri("https://jitpack.io") } 33 | } 34 | } 35 | ``` 36 | 37 | ## :sparkles: Features 38 | - Drag and drop items within a list. 39 | - Smooth animation and visual effects during drag and drop. 40 | - Reorder items in the list based on user interactions. 41 | 42 | ## :tada: Usage 43 | To use this drag and drop example in your project, follow these steps: 44 | 45 | 1. Add the People data class to your project. The People class represents an item in the list and contains a name property. 46 | 2. Copy the BasicExample and HomeExample composable functions to your project. 47 | 3. Modify the code as needed to fit your project requirements. 48 | 4. Use the ExampleList composable function to display the list of items with drag and drop functionality. Pass the necessary parameters, such as the list of people, slide states, and update functions. 49 | 5. Make sure you have the necessary dependencies and setup for Compose and Material Design in your project. 50 | 51 | ## :computer: Code 52 | 53 | Example 54 | Here's an example usage of the drag and drop functionality: 55 | ```kotlin 56 | 57 | val peopleList = mutableListOf( 58 | People(name = "Martin Jenkins"), 59 | People(name = "Jacquelyn Keith"), 60 | People(name = "Lavern Chen") 61 | ) 62 | 63 | @Composable 64 | fun App() { 65 | HomeExample() 66 | } 67 | 68 | @ExperimentalAnimationApi 69 | @Composable 70 | fun HomeExample() { 71 | val slideStates = remember { 72 | mutableStateMapOf() 73 | .apply { 74 | peopleList.map { example -> 75 | example to SlideState.NONE 76 | }.toMap().also { 77 | putAll(it) 78 | } 79 | } 80 | } 81 | Scaffold( 82 | topBar = { 83 | TopAppBar( 84 | title = { 85 | Text(text = "Drag and Drop In Compose") 86 | } 87 | ) 88 | } 89 | ) { innerPadding -> 90 | ExampleList( 91 | modifier = Modifier.padding(innerPadding), 92 | peopleList = peopleList, 93 | slideStates = slideStates, 94 | updateSlideState = { people, slideState -> 95 | // Handle slide state updates here 96 | }, 97 | updateItemPosition = { currentIndex, destinationIndex -> 98 | // Handle item position updates here 99 | } 100 | ) 101 | } 102 | } 103 | 104 | @ExperimentalAnimationApi 105 | @Composable 106 | fun ExampleList( 107 | modifier: Modifier, 108 | peopleList: MutableList, 109 | slideStates: Map, 110 | updateSlideState: (people: People, slideState: SlideState) -> Unit, 111 | updateItemPosition: (currentIndex: Int, destinationIndex: Int) -> Unit 112 | ) { 113 | val lazyListState = rememberLazyListState() 114 | LazyColumn( 115 | state = lazyListState, 116 | modifier = modifier.padding(top = dimensionResource(id = R.dimen.list_top_padding)) 117 | ) { 118 | items(peopleList.size) { index -> 119 | val example = peopleList.getOrNull(index) 120 | if (example != null) { 121 | key(example) { 122 | val slideState = slideStates[example] ?: SlideState.NONE 123 | BasicExample( 124 | peoble = example, 125 | peopleList = peopleList, 126 | slideState = slideState, 127 | updateSlideState = updateSlideState, 128 | updateItemPosition = updateItemPosition 129 | ) 130 | } 131 | } 132 | } 133 | } 134 | } 135 | 136 | @Composable 137 | fun BasicExample( 138 | peoble: People, 139 | peopleList: MutableList, 140 | slideState: SlideState, 141 | updateSlideState: (shoesArticle: People, slideState: SlideState) -> Unit, 142 | updateItemPosition: (currentIndex: Int, destinationIndex: Int) -> Unit 143 | ) { 144 | val itemHeightDp = dimensionResource(id = R.dimen.image_size) 145 | 146 | val verticalTranslation by animateIntAsState( 147 | targetValue = when (slideState) { 148 | SlideState.UP -> -itemHeight 149 | SlideState.DOWN -> itemHeight 150 | else -> 0 151 | }, 152 | label = "", 153 | ) 154 | val isDragged = remember { mutableStateOf(false) } 155 | val zIndex = if (isDragged.value) 1.0f else 0.0f 156 | val rotation = if (isDragged.value) -5.0f else 0.0f 157 | val elevation = if (isDragged.value) 8.dp else 0.dp 158 | 159 | val currentIndex = remember { mutableStateOf(0) } 160 | val destinationIndex = remember { mutableStateOf(0) } 161 | val isPlaced = remember { mutableStateOf(false) } 162 | 163 | with(LocalDensity.current) { 164 | itemHeight = itemHeightDp.toPx().toInt() 165 | } 166 | 167 | LaunchedEffect(isPlaced.value) { 168 | if (isPlaced.value) { 169 | launch { 170 | if (currentIndex.value != destinationIndex.value) { 171 | updateItemPosition(currentIndex.value, destinationIndex.value) 172 | } 173 | isPlaced.value = false 174 | } 175 | } 176 | } 177 | Column { 178 | Box( 179 | Modifier 180 | .dragAndDrop( 181 | peoble, 182 | peopleList, 183 | itemHeight, 184 | updateSlideState, 185 | isDraggedAfterLongPress = false, 186 | { isDragged.value = true }, 187 | { cIndex, dIndex -> 188 | isDragged.value = false 189 | isPlaced.value = true 190 | currentIndex.value = cIndex 191 | destinationIndex.value = dIndex 192 | } 193 | ) 194 | .padding(horizontal = 16.dp) 195 | .offset { IntOffset(0, verticalTranslation) } 196 | .zIndex(zIndex) 197 | .rotate(rotation) 198 | 199 | ) { 200 | Column( 201 | modifier = Modifier 202 | .shadow(elevation, RoundedCornerShape(8.dp)) 203 | .clip(RoundedCornerShape(8.dp)) 204 | .align(Alignment.CenterStart) 205 | .fillMaxWidth() 206 | 207 | ) { 208 | Row(horizontalArrangement = Arrangement.SpaceBetween) { 209 | Text(text = peoble.name) 210 | Image( 211 | modifier = Modifier 212 | .size(itemHeightDp), 213 | painter = painterResource(id = R.mipmap.ic_climbig_blue), 214 | contentDescription = "" 215 | ) 216 | } 217 | } 218 | } 219 | } 220 | } 221 | 222 | ``` 223 | ## 🙌 Contributing 224 | Contributions are welcome! If you find any issues or have suggestions for improvements, please create a pull request or open an issue in this repository. 225 | 226 | ## :pencil: License 227 | 228 | MIT License 229 | 230 | Copyright (c) 2023 Javier Gómez 231 | 232 | Permission is hereby granted, free of charge, to any person obtaining a copy 233 | of this software and associated documentation files (the "Software"), to deal 234 | in the Software without restriction, including without limitation the rights 235 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 236 | copies of the Software, and to permit persons to whom the Software is 237 | furnished to do so, subject to the following conditions: 238 | 239 | The above copyright notice and this permission notice shall be included in all 240 | copies or substantial portions of the Software. 241 | 242 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 243 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 244 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 245 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 246 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 247 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 248 | SOFTWARE. 249 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle.kts: -------------------------------------------------------------------------------- 1 | plugins { 2 | id("com.android.application") 3 | id("org.jetbrains.kotlin.android") 4 | } 5 | 6 | android { 7 | namespace = "com.jgomezdev.draganddroplibreary" 8 | compileSdk = 33 9 | 10 | defaultConfig { 11 | applicationId = "com.jgomezdev.draganddroplibreary" 12 | minSdk = 30 13 | targetSdk = 33 14 | versionCode = 1 15 | versionName = "1.0" 16 | 17 | testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 18 | } 19 | 20 | buildTypes { 21 | release { 22 | isMinifyEnabled = false 23 | proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") 24 | } 25 | } 26 | compileOptions { 27 | sourceCompatibility = JavaVersion.VERSION_1_8 28 | targetCompatibility = JavaVersion.VERSION_1_8 29 | } 30 | kotlinOptions { 31 | jvmTarget = "1.8" 32 | } 33 | } 34 | 35 | dependencies { 36 | implementation("androidx.core:core-ktx:1.9.0") 37 | implementation("androidx.appcompat:appcompat:1.6.1") 38 | implementation("com.google.android.material:material:1.9.0") 39 | implementation("androidx.constraintlayout:constraintlayout:2.1.4") 40 | testImplementation("junit:junit:4.13.2") 41 | androidTestImplementation("androidx.test.ext:junit:1.1.5") 42 | androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1") 43 | } -------------------------------------------------------------------------------- /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/com/jgomezdev/draganddroplibreary/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.jgomezdev.draganddroplibreary 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("com.jgomezdev.draganddroplibreary", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/jgomezdev/draganddroplibreary/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.jgomezdev.draganddroplibreary 2 | 3 | import androidx.appcompat.app.AppCompatActivity 4 | import android.os.Bundle 5 | 6 | class MainActivity : AppCompatActivity() { 7 | override fun onCreate(savedInstanceState: Bundle?) { 8 | super.onCreate(savedInstanceState) 9 | setContentView(R.layout.activity_main) 10 | } 11 | } -------------------------------------------------------------------------------- /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_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JGomez-Dev/drag-and-drop-compose-library/0f2fa41ea4cc7ad180349e9e160233d3ac3e188e/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FF000000 4 | #FFFFFFFF 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | DragAndDropLibrery 3 | -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 |