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
Terminal commands to uninstall Android Studio on Mac | |
Deletes the Android Studio application | |
rm -Rf /Applications/Android\ Studio.app | |
Deletes the Android Studio's plist files | |
rm -Rf ~/Library/Preferences/com.google.android.* | |
Deletes the Android Emulator's plist file | |
rm -Rf ~/Library/Preferences/com.android.* |
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
/** | |
* Reference => https://issuetracker.google.com/issues/160665122#comment105 | |
* Applies a shadow to the current box. | |
* | |
* @param color The color of the shadow. | |
* | |
* @param blurRadius The larger this value, the bigger the blur, so the shadow | |
* becomes bigger and lighter. | |
* If set to `0`, the shadow's edge is sharp. | |
* |
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
@Immutable | |
data class Shadow( | |
@Stable val offsetX: Dp = 0.dp, | |
@Stable val offsetY: Dp = 0.dp, | |
@Stable val radius: Dp = 0.dp, | |
@Stable val color: Color = Color.Black, | |
@Stable val spread: Float = 0f, | |
@Stable val alpha: Float = 1f, | |
) |