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
var Window.screenBrightness: Float | |
set(value) { | |
val a = this.attributes | |
a.screenBrightness = value | |
this.attributes = a | |
} | |
get() = this.attributes.screenBrightness | |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- Red --> | |
<color name="red">#FFF44336</color> | |
<color name="red_50">#FFFFEBEE</color> | |
<color name="red_100">#FFFFCDD2</color> | |
<color name="red_200">#FFEF9A9A</color> | |
<color name="red_300">#FFE57373</color> | |
<color name="red_400">#FFEF5350</color> |
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
package material.colors.all | |
import androidx.compose.ui.graphics.Color | |
/* Red */ | |
val Red = Color( 0xfff44336) | |
val Red50 = Color( 0xffffebee) | |
val Red100 = Color( 0xffffcdd2) | |
val Red200 = Color( 0xffef9a9a) | |
val Red300 = Color( 0xffe57373) |
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 android.util.Log | |
import android.view.View | |
import androidx.lifecycle.DefaultLifecycleObserver | |
import androidx.lifecycle.Lifecycle | |
import androidx.lifecycle.LifecycleOwner | |
import androidx.lifecycle.LifecycleRegistry | |
import androidx.recyclerview.widget.RecyclerView | |
import app.BuildConfig |