-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement initial PageCloud for premium build
Change-Id: Idf0b1d4bfed601cd72045f53346d04ac40af3d16
- Loading branch information
1 parent
05f337f
commit 1b997fb
Showing
5 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
25 changes: 25 additions & 0 deletions
25
source/app/src/premium/java/com/xayah/databackup/ui/activity/main/page/cloud/Cloud.kt
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,32 @@ | ||
package com.xayah.databackup.ui.activity.main.page.cloud | ||
|
||
import androidx.compose.foundation.layout.Arrangement | ||
import androidx.compose.foundation.layout.Box | ||
import androidx.compose.foundation.layout.Column | ||
import androidx.compose.foundation.layout.fillMaxSize | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Alignment | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.res.stringResource | ||
import com.xayah.databackup.R | ||
import com.xayah.databackup.ui.component.EmojiString | ||
import com.xayah.databackup.ui.component.EmojiText | ||
import com.xayah.databackup.ui.component.TitleMediumBoldText | ||
import com.xayah.databackup.ui.component.paddingHorizontal | ||
import com.xayah.databackup.ui.theme.ColorScheme | ||
import com.xayah.databackup.ui.token.CommonTokens | ||
|
||
@Composable | ||
fun PageCloud() { | ||
Box(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center) { | ||
Column(horizontalAlignment = Alignment.CenterHorizontally, verticalArrangement = Arrangement.spacedBy(CommonTokens.PaddingMedium)) { | ||
EmojiText(emoji = EmojiString.SPARKLING_HEART, size = CommonTokens.EmojiLargeSize) | ||
|
||
TitleMediumBoldText( | ||
modifier = Modifier.paddingHorizontal(CommonTokens.PaddingLarge), | ||
text = "${stringResource(R.string.sooner_or_later)} 🎉", | ||
color = ColorScheme.primary() | ||
) | ||
} | ||
} | ||
} |