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
@Preview | |
@Composable | |
fun AnaSlider() { | |
var slider0value by remember { mutableStateOf(0f) } | |
Slider( | |
valueRange = -50f..50f, | |
steps = 0, | |
value = slider0value, | |
onValueChange = { slider0value = it }, |
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
[ | |
{ | |
"id": 12, | |
"name": "Better small V60", | |
"description": "", | |
"recipeIcon": "V60", | |
"steps": [ | |
{ | |
"id": 102, | |
"recipeId": 12, |
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
/** | |
* Adds rounded corners for the current view. | |
* | |
* On S+ it uses [GlanceModifier.cornerRadius] | |
* on <S it creates [ShapeDrawable] and sets background | |
* | |
* @param cornerRadius [Int] radius set to all corners of the view. | |
* @param color [Int] value of a color that will be set as background | |
* @param backgroundAlpha [Float] value of an alpha that will be set to background color - defaults to 1f | |
*/ |
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
def manifest = new XmlSlurper().parse(file("./src/main/AndroidManifest.xml")) | |
def packageName = [email protected]() | |
task copyAAR(type: Copy) { | |
from "$projectDir/build/outputs/aar/" | |
include 'android.aar' | |
into "$projectDir/AAR/" | |
rename 'android.aar', "${packageName}.aar" | |
doLast { |