This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.material3.adaptive.HingeInfo | |
| import androidx.compose.material3.adaptive.WindowAdaptiveInfo | |
| import androidx.window.core.layout.WindowSizeClass | |
| sealed class DeviceType : Comparable<DeviceType> { | |
| abstract val minWidth: Int | |
| abstract val minHeight: Int | |
| abstract val rank: Int | |
| override fun compareTo(other: DeviceType): Int = this.rank - other.rank |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ADB = YOUR_ADB_PATH | |
| PACKAGE_NAME = YOUR_PACKAGE_NAME | |
| MAIN_ACTIVITY = .entry.MainActivity | |
| clean: | |
| ./gradlew clean | |
| build: | |
| ./gradlew build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import androidx.compose.ui.graphics.Color | |
| // Material Color Resources | |
| val amber_050 = Color(0xFFfff8e1) // Use with black text | |
| val amber_100 = Color(0xFFffecb3) // Use with black text | |
| val amber_200 = Color(0xFFffe082) // Use with black text | |
| val amber_300 = Color(0xFFffd54f) // Use with black text | |
| val amber_400 = Color(0xFFffca28) // Use with black text | |
| val amber_500 = Color(0xFFffc107) // Use with black text |