Open-source Android PDF and document toolkit with PDF tools, Office viewing, XLSX editing, scanning, and image editing. Built with Kotlin and Jetpack Compose.
Rust androiddocument-scannerdocximage-editorjetpack-composekotlinliquid-glassofflineopen-sourcepdfpdf-compressorpdf-editorpdf-mergerpdf-readerpdf-splitterpdf-toolspdf-viewerpptxspreadsheet-editorxlsx
Apply Google Font Sour Gummy to home screen subtitle
Chethan6166fab71bd39dd
diff --git a/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.kt b/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.ktindex 7b6ab7e..414aec3 100644--- a/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.kt+++ b/app/src/main/java/com/chethan616/clearpdf/ui/screen/HomeScreen.kt@@ -47,6 +47,9 @@ import androidx.compose.runtime.getValueimport androidx.compose.runtime.mutableStateOfimport androidx.compose.runtime.rememberimport androidx.compose.runtime.setValue+import androidx.compose.ui.text.font.Font+import androidx.compose.ui.text.font.FontFamily+import com.chethan616.clearpdf.Rimport androidx.compose.ui.Alignmentimport androidx.compose.ui.Modifierimport androidx.compose.ui.draw.clip@@ -80,6 +83,11 @@ import com.chethan616.clearpdf.ui.components.CloseCrossIconimport androidx.compose.ui.graphics.graphicsLayer+private val SourGummyFontFamily = FontFamily(+ Font(R.font.sour_gummy_regular, FontWeight.Normal),+ Font(R.font.sour_gummy_bold, FontWeight.Bold)+)+@Composablefun HomeScreen(backdrop: LayerBackdrop,@@ -213,7 +221,13 @@ fun HomeScreen(Spacer(Modifier.height(8.dp))BasicText("PDF work, beautifully simple.",- style = TextStyle(text, 23.sp, FontWeight.Bold, textAlign = TextAlign.Center)+ style = TextStyle(+ color = text,+ fontSize = 25.sp,+ fontWeight = FontWeight.Bold,+ fontFamily = SourGummyFontFamily,+ textAlign = TextAlign.Center+ ))Spacer(Modifier.height(8.dp))BasicText(diff --git a/app/src/main/res/font/sour_gummy_bold.ttf b/app/src/main/res/font/sour_gummy_bold.ttfnew file mode 100644index 0000000..c2b484dBinary files /dev/null and b/app/src/main/res/font/sour_gummy_bold.ttf differdiff --git a/app/src/main/res/font/sour_gummy_regular.ttf b/app/src/main/res/font/sour_gummy_regular.ttfnew file mode 100644index 0000000..2a903d7Binary files /dev/null and b/app/src/main/res/font/sour_gummy_regular.ttf differdiff --git a/scratch/AndroidLiquidGlass b/scratch/AndroidLiquidGlassnew file mode 160000index 0000000..b18eb0f--- /dev/null+++ b/scratch/AndroidLiquidGlass@@ -0,0 +1 @@+Subproject commit b18eb0ff12c616546a68c72e7d0097f1ab286c87