mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
App | Feature | Default background(#2218)
Co-authored-by: konstantiniiv <ki@anytype.io>
This commit is contained in:
parent
7327375bff
commit
aa10994124
2 changed files with 9 additions and 1 deletions
|
@ -139,7 +139,7 @@ class MainActivity : AppCompatActivity(R.layout.activity_main), AppNavigation.Pr
|
|||
}
|
||||
}
|
||||
is Wallpaper.Default -> {
|
||||
container.setBackgroundResource(R.color.default_dashboard_background_color)
|
||||
container.setBackgroundResource(R.drawable.cover_gradient_default)
|
||||
}
|
||||
is Wallpaper.Color -> {
|
||||
val color = WallpaperColor.values().find { it.code == wallpaper.code }
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:angle="-90"
|
||||
android:endColor="#CFD9D9"
|
||||
android:startColor="#74BDEC" />
|
||||
</shape>
|
Loading…
Add table
Add a link
Reference in a new issue