move xml icons to material icons
- Commit
b358a050c0e6196a86b78a007356681e649d5a14- Author
- Vayun Mathur <[email protected]>
- When
- 2026-07-20 17:06 UTC (4 months ago)
- Parents
f8ccde0
Diff
library/ui/src/main/java/com/vayunmathur/library/ui/Icons.kt
diff --git a/library/ui/src/main/java/com/vayunmathur/library/ui/Icons.kt b/library/ui/src/main/java/com/vayunmathur/library/ui/Icons.ktindex e6e7fd6048..8ceae1af56 100644--- a/library/ui/src/main/java/com/vayunmathur/library/ui/Icons.kt+++ b/library/ui/src/main/java/com/vayunmathur/library/ui/Icons.kt@@ -24,6 +24,37 @@ import androidx.compose.material.icons.filled.TurnSlightLeft import androidx.compose.material.icons.filled.TurnSlightRight import androidx.compose.material.icons.filled.UTurnLeft import androidx.compose.material.icons.filled.WbCloudy+import androidx.compose.material.icons.filled.ArrowRightAlt+import androidx.compose.material.icons.filled.ChangeHistory+import androidx.compose.material.icons.filled.ChatBubbleOutline+import androidx.compose.material.icons.filled.Circle+import androidx.compose.material.icons.filled.Diamond+import androidx.compose.material.icons.filled.FormatUnderlined+import androidx.compose.material.icons.filled.Gesture+import androidx.compose.material.icons.filled.Hexagon+import androidx.compose.material.icons.filled.HideSource+import androidx.compose.material.icons.filled.Highlight+import androidx.compose.material.icons.filled.HorizontalRule+import androidx.compose.material.icons.filled.NearMe+import androidx.compose.material.icons.filled.Pentagon+import androidx.compose.material.icons.filled.Polyline+import androidx.compose.material.icons.filled.Rectangle+import androidx.compose.material.icons.filled.ShowChart+import androidx.compose.material.icons.filled.Square+import androidx.compose.material.icons.filled.StarOutline+import androidx.compose.material.icons.filled.StrikethroughS+import androidx.compose.material.icons.filled.Style+import androidx.compose.material.icons.filled.TextFields+import androidx.compose.material.icons.filled.Waves+import androidx.compose.material.icons.outlined.ArrowRightAlt+import androidx.compose.material.icons.outlined.ChangeHistory+import androidx.compose.material.icons.outlined.Circle+import androidx.compose.material.icons.outlined.Diamond+import androidx.compose.material.icons.outlined.Hexagon+import androidx.compose.material.icons.outlined.Pentagon+import androidx.compose.material.icons.outlined.Rectangle+import androidx.compose.material.icons.outlined.Square+import androidx.compose.material.icons.outlined.StarOutline import androidx.compose.ui.res.painterResource import com.vayunmathur.library.R import androidx.compose.material.icons.automirrored.filled.ArrowBack@@ -841,3 +872,130 @@ fun IconRoundaboutLeft(modifier: Modifier = Modifier, tint: Color = LocalContent @Composable fun IconRoundaboutRight(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) = AppIcon(Icons.Filled.RoundaboutRight, "Roundabout", modifier, tint)++// --- PDF editor tools ---+@Composable+fun IconSelect(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.NearMe, "Select", modifier, tint)++@Composable+fun IconTextTool(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.TextFields, "Text", modifier, tint)++@Composable+fun IconHighlight(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Highlight, "Highlight", modifier, tint)++@Composable+fun IconLine(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.HorizontalRule, "Line", modifier, tint)++@Composable+fun IconPolyline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Polyline, "Polyline", modifier, tint)++@Composable+fun IconBezier(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.ShowChart, "Bézier curve", modifier, tint)++@Composable+fun IconCallout(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.ChatBubbleOutline, "Callout", modifier, tint)++@Composable+fun IconRedact(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.HideSource, "Redact", modifier, tint)++@Composable+fun IconStyle(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Style, "Style", modifier, tint)++@Composable+fun IconSignature(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Gesture, "Signature", modifier, tint)++// --- PDF text markup ---+@Composable+fun IconFormatUnderlined(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.FormatUnderlined, "Underline", modifier, tint)++@Composable+fun IconStrikethrough(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.StrikethroughS, "Strikeout", modifier, tint)++@Composable+fun IconSquiggly(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Waves, "Squiggly", modifier, tint)++// --- PDF annotation shapes (fill = Filled theme, outline = Outlined theme) ---+@Composable+fun IconShapeRectFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Rectangle, "Rectangle", modifier, tint)++@Composable+fun IconShapeRectOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.Rectangle, "Rectangle outline", modifier, tint)++@Composable+fun IconShapeRoundRectFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Square, "Rounded rectangle", modifier, tint)++@Composable+fun IconShapeRoundRectOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.Square, "Rounded rectangle outline", modifier, tint)++@Composable+fun IconShapeOvalFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Circle, "Oval", modifier, tint)++@Composable+fun IconShapeOvalOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.Circle, "Oval outline", modifier, tint)++@Composable+fun IconShapeTriangleFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.ChangeHistory, "Triangle", modifier, tint)++@Composable+fun IconShapeTriangleOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.ChangeHistory, "Triangle outline", modifier, tint)++@Composable+fun IconShapeDiamondFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Diamond, "Diamond", modifier, tint)++@Composable+fun IconShapeDiamondOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.Diamond, "Diamond outline", modifier, tint)++@Composable+fun IconShapePentagonFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Pentagon, "Pentagon", modifier, tint)++@Composable+fun IconShapePentagonOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.Pentagon, "Pentagon outline", modifier, tint)++@Composable+fun IconShapeHexagonFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Hexagon, "Hexagon", modifier, tint)++@Composable+fun IconShapeHexagonOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.Hexagon, "Hexagon outline", modifier, tint)++@Composable+fun IconShapeStarFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.Star, "Star", modifier, tint)++@Composable+fun IconShapeStarOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.StarOutline, "Star outline", modifier, tint)++@Composable+fun IconShapeArrowFill(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Filled.ArrowRightAlt, "Arrow", modifier, tint)++@Composable+fun IconShapeArrowOutline(modifier: Modifier = Modifier, tint: Color = LocalContentColor.current) =+ AppIcon(Icons.Outlined.ArrowRightAlt, "Arrow outline", modifier, tint)
office/src/main/res/drawable/title_24px.xml
diff --git a/office/src/main/res/drawable/title_24px.xml b/office/src/main/res/drawable/title_24px.xmldeleted file mode 100644index b2e45432e9..0000000000--- a/office/src/main/res/drawable/title_24px.xml+++ /dev/null@@ -1,3 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24" android:tint="#000000">- <path android:fillColor="#000000" android:pathData="M5,4v3h5.5v12h3V7H19V4z"/>-</vector>
openassistant/src/main/res/drawable/baseline_menu_24.xml
diff --git a/openassistant/src/main/res/drawable/baseline_menu_24.xml b/openassistant/src/main/res/drawable/baseline_menu_24.xmldeleted file mode 100644index 90a85a6d5e..0000000000--- a/openassistant/src/main/res/drawable/baseline_menu_24.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">- - <path android:fillColor="@android:color/white" android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"/>- -</vector>
pdf/src/main/java/com/vayunmathur/pdf/ui/CapturePdfScreen.kt
diff --git a/pdf/src/main/java/com/vayunmathur/pdf/ui/CapturePdfScreen.kt b/pdf/src/main/java/com/vayunmathur/pdf/ui/CapturePdfScreen.ktindex cbb94bc0fa..24387283e2 100644--- a/pdf/src/main/java/com/vayunmathur/pdf/ui/CapturePdfScreen.kt+++ b/pdf/src/main/java/com/vayunmathur/pdf/ui/CapturePdfScreen.kt@@ -185,7 +185,7 @@ fun CapturePdfScreen( for (f in com.vayunmathur.pdf.util.ScanFilter.entries) { com.vayunmathur.library.ui.DropdownMenuItem( leadingIcon = {- if (scanFilter == f) Icon(painterResource(R.drawable.ic_tool_select), null)+ if (scanFilter == f) com.vayunmathur.library.ui.IconCheck() }, text = { Text(f.name.lowercase().replaceFirstChar { it.uppercase() }) }, onClick = { scanFilter = f },@@ -194,7 +194,7 @@ fun CapturePdfScreen( com.vayunmathur.library.ui.HorizontalDivider() com.vayunmathur.library.ui.DropdownMenuItem( leadingIcon = {- if (addOcr) Icon(painterResource(R.drawable.ic_tool_select), null)+ if (addOcr) com.vayunmathur.library.ui.IconCheck() }, text = { Text("Searchable (OCR)") }, onClick = { addOcr = !addOcr },
pdf/src/main/java/com/vayunmathur/pdf/ui/CutGlueScreen.kt
diff --git a/pdf/src/main/java/com/vayunmathur/pdf/ui/CutGlueScreen.kt b/pdf/src/main/java/com/vayunmathur/pdf/ui/CutGlueScreen.ktindex d0f6d1e704..63f0ec67d2 100644--- a/pdf/src/main/java/com/vayunmathur/pdf/ui/CutGlueScreen.kt+++ b/pdf/src/main/java/com/vayunmathur/pdf/ui/CutGlueScreen.kt@@ -147,7 +147,7 @@ fun CutGlueScreen(onBack: () -> Unit) { FloatingActionButton(onClick = { menuOpen = true }) { IconAdd() } DropdownMenu(expanded = menuOpen, onDismissRequest = { menuOpen = false }) { DropdownMenuItem(- leadingIcon = { Icon(painterResource(R.drawable.ic_tool_image), null) },+ leadingIcon = { com.vayunmathur.library.ui.IconImage() }, text = { Text("Append image") }, onClick = { menuOpen = false@@ -157,7 +157,7 @@ fun CutGlueScreen(onBack: () -> Unit) { }, ) DropdownMenuItem(- leadingIcon = { Icon(painterResource(R.drawable.ic_tool_rect), null) },+ leadingIcon = { com.vayunmathur.library.ui.IconShapeRectOutline() }, text = { Text("Append PDF") }, onClick = { menuOpen = false; pdfPicker.launch(arrayOf("application/pdf")) }, )
pdf/src/main/java/com/vayunmathur/pdf/ui/SafePdfViewerScreen.kt
diff --git a/pdf/src/main/java/com/vayunmathur/pdf/ui/SafePdfViewerScreen.kt b/pdf/src/main/java/com/vayunmathur/pdf/ui/SafePdfViewerScreen.ktindex 215f351286..96e2054e01 100644--- a/pdf/src/main/java/com/vayunmathur/pdf/ui/SafePdfViewerScreen.kt+++ b/pdf/src/main/java/com/vayunmathur/pdf/ui/SafePdfViewerScreen.kt@@ -121,6 +121,39 @@ import com.vayunmathur.library.ui.IconSave import com.vayunmathur.library.ui.IconSearch import com.vayunmathur.library.ui.IconShare import com.vayunmathur.library.ui.IconVisible+import com.vayunmathur.library.ui.IconBezier+import com.vayunmathur.library.ui.IconCallout+import com.vayunmathur.library.ui.IconDraw+import com.vayunmathur.library.ui.IconFormatUnderlined+import com.vayunmathur.library.ui.IconHighlight+import com.vayunmathur.library.ui.IconImage+import com.vayunmathur.library.ui.IconLine+import com.vayunmathur.library.ui.IconPolyline+import com.vayunmathur.library.ui.IconRedact+import com.vayunmathur.library.ui.IconSelect+import com.vayunmathur.library.ui.IconSignature+import com.vayunmathur.library.ui.IconSquiggly+import com.vayunmathur.library.ui.IconStrikethrough+import com.vayunmathur.library.ui.IconStyle+import com.vayunmathur.library.ui.IconTextTool+import com.vayunmathur.library.ui.IconShapeArrowFill+import com.vayunmathur.library.ui.IconShapeArrowOutline+import com.vayunmathur.library.ui.IconShapeDiamondFill+import com.vayunmathur.library.ui.IconShapeDiamondOutline+import com.vayunmathur.library.ui.IconShapeHexagonFill+import com.vayunmathur.library.ui.IconShapeHexagonOutline+import com.vayunmathur.library.ui.IconShapeOvalFill+import com.vayunmathur.library.ui.IconShapeOvalOutline+import com.vayunmathur.library.ui.IconShapePentagonFill+import com.vayunmathur.library.ui.IconShapePentagonOutline+import com.vayunmathur.library.ui.IconShapeRectFill+import com.vayunmathur.library.ui.IconShapeRectOutline+import com.vayunmathur.library.ui.IconShapeRoundRectFill+import com.vayunmathur.library.ui.IconShapeRoundRectOutline+import com.vayunmathur.library.ui.IconShapeStarFill+import com.vayunmathur.library.ui.IconShapeStarOutline+import com.vayunmathur.library.ui.IconShapeTriangleFill+import com.vayunmathur.library.ui.IconShapeTriangleOutline import com.vayunmathur.pdf.util.SafeOutlineItem import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers@@ -151,12 +184,11 @@ private enum class EditTool { SELECT, TEXT, HIGHLIGHT, MARKUP, DRAW, SHAPE, LINE /** Text-markup variants for the [EditTool.MARKUP] tool. */ private enum class MarkupKind { HIGHLIGHT, UNDERLINE, STRIKEOUT, SQUIGGLY } -@DrawableRes-private fun MarkupKind.icon(): Int = when (this) {- MarkupKind.HIGHLIGHT -> R.drawable.ic_tool_highlight- MarkupKind.UNDERLINE -> R.drawable.ic_markup_underline- MarkupKind.STRIKEOUT -> R.drawable.ic_markup_strikeout- MarkupKind.SQUIGGLY -> R.drawable.ic_markup_squiggly+private fun MarkupKind.icon(): @Composable (Color) -> Unit = when (this) {+ MarkupKind.HIGHLIGHT -> { t -> IconHighlight(tint = t) }+ MarkupKind.UNDERLINE -> { t -> IconFormatUnderlined(tint = t) }+ MarkupKind.STRIKEOUT -> { t -> IconStrikethrough(tint = t) }+ MarkupKind.SQUIGGLY -> { t -> IconSquiggly(tint = t) } } private fun MarkupKind.label(): String = when (this) {@@ -275,26 +307,25 @@ private fun flattenSmooth(points: List<Offset>): List<Offset> { return out } -@DrawableRes-private fun ShapeKind.icon(): Int = when (this) {- ShapeKind.RECT_OUTLINE -> R.drawable.ic_tool_rect- ShapeKind.RECT_FILL -> R.drawable.ic_shape_rect_fill- ShapeKind.ROUNDRECT_OUTLINE -> R.drawable.ic_shape_roundrect_outline- ShapeKind.ROUNDRECT_FILL -> R.drawable.ic_shape_roundrect_fill- ShapeKind.OVAL_OUTLINE -> R.drawable.ic_shape_oval_outline- ShapeKind.OVAL_FILL -> R.drawable.ic_shape_oval_fill- ShapeKind.TRIANGLE_OUTLINE -> R.drawable.ic_shape_triangle_outline- ShapeKind.TRIANGLE_FILL -> R.drawable.ic_shape_triangle_fill- ShapeKind.DIAMOND_OUTLINE -> R.drawable.ic_shape_diamond_outline- ShapeKind.DIAMOND_FILL -> R.drawable.ic_shape_diamond_fill- ShapeKind.PENTAGON_OUTLINE -> R.drawable.ic_shape_pentagon_outline- ShapeKind.PENTAGON_FILL -> R.drawable.ic_shape_pentagon_fill- ShapeKind.HEXAGON_OUTLINE -> R.drawable.ic_shape_hexagon_outline- ShapeKind.HEXAGON_FILL -> R.drawable.ic_shape_hexagon_fill- ShapeKind.STAR_OUTLINE -> R.drawable.ic_shape_star_outline- ShapeKind.STAR_FILL -> R.drawable.ic_shape_star_fill- ShapeKind.ARROW_OUTLINE -> R.drawable.ic_shape_arrow_outline- ShapeKind.ARROW_FILL -> R.drawable.ic_shape_arrow_fill+private fun ShapeKind.icon(): @Composable (Color) -> Unit = when (this) {+ ShapeKind.RECT_OUTLINE -> { t -> IconShapeRectOutline(tint = t) }+ ShapeKind.RECT_FILL -> { t -> IconShapeRectFill(tint = t) }+ ShapeKind.ROUNDRECT_OUTLINE -> { t -> IconShapeRoundRectOutline(tint = t) }+ ShapeKind.ROUNDRECT_FILL -> { t -> IconShapeRoundRectFill(tint = t) }+ ShapeKind.OVAL_OUTLINE -> { t -> IconShapeOvalOutline(tint = t) }+ ShapeKind.OVAL_FILL -> { t -> IconShapeOvalFill(tint = t) }+ ShapeKind.TRIANGLE_OUTLINE -> { t -> IconShapeTriangleOutline(tint = t) }+ ShapeKind.TRIANGLE_FILL -> { t -> IconShapeTriangleFill(tint = t) }+ ShapeKind.DIAMOND_OUTLINE -> { t -> IconShapeDiamondOutline(tint = t) }+ ShapeKind.DIAMOND_FILL -> { t -> IconShapeDiamondFill(tint = t) }+ ShapeKind.PENTAGON_OUTLINE -> { t -> IconShapePentagonOutline(tint = t) }+ ShapeKind.PENTAGON_FILL -> { t -> IconShapePentagonFill(tint = t) }+ ShapeKind.HEXAGON_OUTLINE -> { t -> IconShapeHexagonOutline(tint = t) }+ ShapeKind.HEXAGON_FILL -> { t -> IconShapeHexagonFill(tint = t) }+ ShapeKind.STAR_OUTLINE -> { t -> IconShapeStarOutline(tint = t) }+ ShapeKind.STAR_FILL -> { t -> IconShapeStarFill(tint = t) }+ ShapeKind.ARROW_OUTLINE -> { t -> IconShapeArrowOutline(tint = t) }+ ShapeKind.ARROW_FILL -> { t -> IconShapeArrowFill(tint = t) } } private fun ShapeKind.label(): String {@@ -797,7 +828,7 @@ fun SafePdfViewerScreen(uri: Uri, onBack: () -> Unit) { IconLock() } IconButton({ signLauncher.launch((uri.lastPathSegment ?: "document") + "-signed.pdf") }) {- Icon(painterResource(R.drawable.ic_signature), contentDescription = "Sign document")+ IconSignature() } } if (editMode) {@@ -815,7 +846,7 @@ fun SafePdfViewerScreen(uri: Uri, onBack: () -> Unit) { doc.applyRedactions(); pageMgrVersion++; nonUndoDirty = true } }) {- Icon(painterResource(R.drawable.ic_redact), contentDescription = "Apply redactions")+ IconRedact() } } IconButton({@@ -1810,16 +1841,16 @@ private fun EditToolbar( Modifier.horizontalScroll(rememberScrollState()), verticalAlignment = Alignment.CenterVertically, ) {- toolButton(R.drawable.ic_tool_select, "Select", tool == EditTool.SELECT) { onTool(EditTool.SELECT) }- toolButton(R.drawable.ic_tool_text, "Text", tool == EditTool.TEXT) { onTool(EditTool.TEXT) }+ toolButton({ IconSelect(tint = it) }, tool == EditTool.SELECT) { onTool(EditTool.SELECT) }+ toolButton({ IconTextTool(tint = it) }, tool == EditTool.TEXT) { onTool(EditTool.TEXT) } markupMenuButton(markup = markup, active = tool == EditTool.MARKUP, onMarkup = onMarkup)- toolButton(R.drawable.ic_tool_draw, "Draw", tool == EditTool.DRAW) { onTool(EditTool.DRAW) }+ toolButton({ IconDraw(tint = it) }, tool == EditTool.DRAW) { onTool(EditTool.DRAW) } shapeMenuButton(shape = shape, active = tool == EditTool.SHAPE, onShape = onShape) linesMenuButton(tool = tool, onTool = onTool) toolButton({ IconNote(tint = it) }, tool == EditTool.NOTE) { onTool(EditTool.NOTE) }- toolButton(R.drawable.ic_callout, "Callout", tool == EditTool.CALLOUT) { onTool(EditTool.CALLOUT) }- toolButton(R.drawable.ic_redact, "Redact", tool == EditTool.REDACT) { onTool(EditTool.REDACT) }- toolButton(R.drawable.ic_tool_image, "Image", tool == EditTool.IMAGE) { onTool(EditTool.IMAGE) }+ toolButton({ IconCallout(tint = it) }, tool == EditTool.CALLOUT) { onTool(EditTool.CALLOUT) }+ toolButton({ IconRedact(tint = it) }, tool == EditTool.REDACT) { onTool(EditTool.REDACT) }+ toolButton({ IconImage(tint = it) }, tool == EditTool.IMAGE) { onTool(EditTool.IMAGE) } for (c in listOf(Color.Red, Color.Yellow, Color.Blue, Color.Black)) { Box(@@ -1838,7 +1869,7 @@ private fun EditToolbar( } IconButton(onStyle) {- Icon(painterResource(R.drawable.ic_style), contentDescription = "Style")+ IconStyle() } if (canDelete) { IconButton(onDuplicate) {@@ -1860,10 +1891,8 @@ private fun markupMenuButton( var expanded by remember { mutableStateOf(false) } Box { IconButton({ expanded = true }) {- Icon(- painterResource(markup.icon()),- contentDescription = "Text markup",- tint = if (active) MaterialTheme.colorScheme.primary+ markup.icon()(+ if (active) MaterialTheme.colorScheme.primary else MaterialTheme.colorScheme.onSurfaceVariant, ) }@@ -1871,10 +1900,8 @@ private fun markupMenuButton( for (kind in MarkupKind.entries) { DropdownMenuItem( leadingIcon = {- Icon(- painterResource(kind.icon()),- contentDescription = null,- tint = if (active && kind == markup) MaterialTheme.colorScheme.primary+ kind.icon()(+ if (active && kind == markup) MaterialTheme.colorScheme.primary else MaterialTheme.colorScheme.onSurfaceVariant, ) },@@ -1897,10 +1924,8 @@ private fun shapeMenuButton( var expanded by remember { mutableStateOf(false) } Box { IconButton({ expanded = true }) {- Icon(- painterResource(shape.icon()),- contentDescription = "Shapes",- tint = if (active) MaterialTheme.colorScheme.primary+ shape.icon()(+ if (active) MaterialTheme.colorScheme.primary else MaterialTheme.colorScheme.onSurfaceVariant, ) }@@ -1908,10 +1933,8 @@ private fun shapeMenuButton( for (kind in ShapeKind.entries) { DropdownMenuItem( leadingIcon = {- Icon(- painterResource(kind.icon()),- contentDescription = null,- tint = if (active && kind == shape) MaterialTheme.colorScheme.primary+ kind.icon()(+ if (active && kind == shape) MaterialTheme.colorScheme.primary else MaterialTheme.colorScheme.onSurfaceVariant, ) },@@ -1931,19 +1954,17 @@ private fun linesMenuButton( onTool: (EditTool) -> Unit, ) { val lineTools = listOf(- Triple(EditTool.LINE, R.drawable.ic_tool_line, "Line"),- Triple(EditTool.POLYLINE, R.drawable.ic_tool_polyline, "Polyline"),- Triple(EditTool.BEZIER, R.drawable.ic_tool_bezier, "Bézier curve"),+ Triple<EditTool, @Composable (Color) -> Unit, String>(EditTool.LINE, { t -> IconLine(tint = t) }, "Line"),+ Triple<EditTool, @Composable (Color) -> Unit, String>(EditTool.POLYLINE, { t -> IconPolyline(tint = t) }, "Polyline"),+ Triple<EditTool, @Composable (Color) -> Unit, String>(EditTool.BEZIER, { t -> IconBezier(tint = t) }, "Bézier curve"), ) val active = tool == EditTool.LINE || tool == EditTool.POLYLINE || tool == EditTool.BEZIER- val currentIcon = lineTools.firstOrNull { it.first == tool }?.second ?: R.drawable.ic_tool_line+ val currentIcon: @Composable (Color) -> Unit = lineTools.firstOrNull { it.first == tool }?.second ?: { t -> IconLine(tint = t) } var expanded by remember { mutableStateOf(false) } Box { IconButton({ expanded = true }) {- Icon(- painterResource(currentIcon),- contentDescription = "Lines",- tint = if (active) MaterialTheme.colorScheme.primary+ currentIcon(+ if (active) MaterialTheme.colorScheme.primary else MaterialTheme.colorScheme.onSurfaceVariant, ) }@@ -1951,10 +1972,8 @@ private fun linesMenuButton( for ((t, icon, label) in lineTools) { DropdownMenuItem( leadingIcon = {- Icon(- painterResource(icon),- contentDescription = null,- tint = if (tool == t) MaterialTheme.colorScheme.primary+ icon(+ if (tool == t) MaterialTheme.colorScheme.primary else MaterialTheme.colorScheme.onSurfaceVariant, ) },@@ -1966,23 +1985,6 @@ private fun linesMenuButton( } } -@Composable-private fun toolButton(- @DrawableRes icon: Int,- contentDescription: String,- selected: Boolean,- onClick: () -> Unit,-) {- IconButton(onClick) {- Icon(- painterResource(icon),- contentDescription = contentDescription,- tint = if (selected) MaterialTheme.colorScheme.primary- else MaterialTheme.colorScheme.onSurfaceVariant,- )- }-}- @Composable private fun toolButton( icon: @Composable (tint: Color) -> Unit,
pdf/src/main/res/drawable/ic_callout.xml
diff --git a/pdf/src/main/res/drawable/ic_callout.xml b/pdf/src/main/res/drawable/ic_callout.xmldeleted file mode 100644index 99a5960017..0000000000--- a/pdf/src/main/res/drawable/ic_callout.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M3,21 L10,14 M11,4 L21,4 L21,13 L11,13 Z" />-</vector>
pdf/src/main/res/drawable/ic_extract.xml
diff --git a/pdf/src/main/res/drawable/ic_extract.xml b/pdf/src/main/res/drawable/ic_extract.xmldeleted file mode 100644index 625a741c44..0000000000--- a/pdf/src/main/res/drawable/ic_extract.xml+++ /dev/null@@ -1,6 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineCap="round" android:strokeLineJoin="round"- android:pathData="M12,3 L12,14 M8,10 L12,14 L16,10 M5,15 L5,20 L19,20 L19,15" />-</vector>
pdf/src/main/res/drawable/ic_jump_to_page.xml
diff --git a/pdf/src/main/res/drawable/ic_jump_to_page.xml b/pdf/src/main/res/drawable/ic_jump_to_page.xmldeleted file mode 100644index eb7fdc750c..0000000000--- a/pdf/src/main/res/drawable/ic_jump_to_page.xml+++ /dev/null@@ -1,6 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round"- android:pathData="M4,5 L20,5 M4,12 L20,12 M4,19 L14,19 M17,16 L20,19 L17,22 M20,19 L14,19" />-</vector>
pdf/src/main/res/drawable/ic_markup_squiggly.xml
diff --git a/pdf/src/main/res/drawable/ic_markup_squiggly.xml b/pdf/src/main/res/drawable/ic_markup_squiggly.xmldeleted file mode 100644index 88f8b3526e..0000000000--- a/pdf/src/main/res/drawable/ic_markup_squiggly.xml+++ /dev/null@@ -1,6 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M6,4 L8,4 L8,12 A4,4 0 0,0 16,12 L16,4 L18,4 L18,12 A6,6 0 0,1 6,12 Z" />- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="1.6"- android:strokeLineCap="round" android:pathData="M5,19 C6.5,17.5 7.5,20.5 9,19 C10.5,17.5 11.5,20.5 13,19 C14.5,17.5 15.5,20.5 17,19 C18,18 19,19 19,19" />-</vector>
pdf/src/main/res/drawable/ic_markup_strikeout.xml
diff --git a/pdf/src/main/res/drawable/ic_markup_strikeout.xml b/pdf/src/main/res/drawable/ic_markup_strikeout.xmldeleted file mode 100644index 84a72f6944..0000000000--- a/pdf/src/main/res/drawable/ic_markup_strikeout.xml+++ /dev/null@@ -1,6 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M4,11 L20,11 L20,13 L4,13 Z" />- <path android:fillColor="#FFFFFFFF" android:pathData="M7,5 L17,5 L17,7 L13,7 L13,10 L11,10 L11,7 L7,7 Z" />- <path android:fillColor="#FFFFFFFF" android:pathData="M11,14 L13,14 L13,19 L11,19 Z" />-</vector>
pdf/src/main/res/drawable/ic_markup_underline.xml
diff --git a/pdf/src/main/res/drawable/ic_markup_underline.xml b/pdf/src/main/res/drawable/ic_markup_underline.xmldeleted file mode 100644index d49a8e06e0..0000000000--- a/pdf/src/main/res/drawable/ic_markup_underline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M6,4 L8,4 L8,12 A4,4 0 0,0 16,12 L16,4 L18,4 L18,12 A6,6 0 0,1 6,12 Z" />- <path android:fillColor="#FFFFFFFF" android:pathData="M5,19 L19,19 L19,21 L5,21 Z" />-</vector>
pdf/src/main/res/drawable/ic_pages.xml
diff --git a/pdf/src/main/res/drawable/ic_pages.xml b/pdf/src/main/res/drawable/ic_pages.xmldeleted file mode 100644index 1910e1a847..0000000000--- a/pdf/src/main/res/drawable/ic_pages.xml+++ /dev/null@@ -1,7 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:pathData="M4,3 L14,3 L14,15 L4,15 Z" />- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:pathData="M10,9 L20,9 L20,21 L10,21 Z" />-</vector>
pdf/src/main/res/drawable/ic_redact.xml
diff --git a/pdf/src/main/res/drawable/ic_redact.xml b/pdf/src/main/res/drawable/ic_redact.xmldeleted file mode 100644index 4ceb66f04e..0000000000--- a/pdf/src/main/res/drawable/ic_redact.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M3,6 L13,6 L13,10 L3,10 Z" />- <path android:fillColor="#FFFFFFFF" android:pathData="M6,14 L21,14 L21,18 L6,18 Z" />-</vector>
pdf/src/main/res/drawable/ic_rotate.xml
diff --git a/pdf/src/main/res/drawable/ic_rotate.xml b/pdf/src/main/res/drawable/ic_rotate.xmldeleted file mode 100644index efab578c52..0000000000--- a/pdf/src/main/res/drawable/ic_rotate.xml+++ /dev/null@@ -1,6 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineCap="round" android:strokeLineJoin="round"- android:pathData="M4,12 A8,8 0 1,1 8,18.9 M4,12 L4,7 M4,12 L9,12" />-</vector>
pdf/src/main/res/drawable/ic_select_text.xml
diff --git a/pdf/src/main/res/drawable/ic_select_text.xml b/pdf/src/main/res/drawable/ic_select_text.xmldeleted file mode 100644index a74e9c3851..0000000000--- a/pdf/src/main/res/drawable/ic_select_text.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M5,4 L19,4 L19,7 L14,7 L14,17 L19,17 L19,20 L5,20 L5,17 L10,17 L10,7 L5,7 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_arrow_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_arrow_fill.xml b/pdf/src/main/res/drawable/ic_shape_arrow_fill.xmldeleted file mode 100644index 91d1e42d60..0000000000--- a/pdf/src/main/res/drawable/ic_shape_arrow_fill.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M3,9 L14,9 L14,5 L21,12 L14,19 L14,15 L3,15 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_arrow_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_arrow_outline.xml b/pdf/src/main/res/drawable/ic_shape_arrow_outline.xmldeleted file mode 100644index 154ee8ac02..0000000000--- a/pdf/src/main/res/drawable/ic_shape_arrow_outline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M3,9 L14,9 L14,5 L21,12 L14,19 L14,15 L3,15 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_diamond_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_diamond_fill.xml b/pdf/src/main/res/drawable/ic_shape_diamond_fill.xmldeleted file mode 100644index e0051e06fd..0000000000--- a/pdf/src/main/res/drawable/ic_shape_diamond_fill.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M12,2 L21,12 L12,22 L3,12 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_diamond_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_diamond_outline.xml b/pdf/src/main/res/drawable/ic_shape_diamond_outline.xmldeleted file mode 100644index 5ea0039756..0000000000--- a/pdf/src/main/res/drawable/ic_shape_diamond_outline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M12,2 L21,12 L12,22 L3,12 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_hexagon_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_hexagon_fill.xml b/pdf/src/main/res/drawable/ic_shape_hexagon_fill.xmldeleted file mode 100644index ffe83c6eb7..0000000000--- a/pdf/src/main/res/drawable/ic_shape_hexagon_fill.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M12,2 L20.66,7 L20.66,17 L12,22 L3.34,17 L3.34,7 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_hexagon_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_hexagon_outline.xml b/pdf/src/main/res/drawable/ic_shape_hexagon_outline.xmldeleted file mode 100644index d6f26ff82a..0000000000--- a/pdf/src/main/res/drawable/ic_shape_hexagon_outline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M12,2 L20.66,7 L20.66,17 L12,22 L3.34,17 L3.34,7 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_oval_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_oval_fill.xml b/pdf/src/main/res/drawable/ic_shape_oval_fill.xmldeleted file mode 100644index 54ebda98f8..0000000000--- a/pdf/src/main/res/drawable/ic_shape_oval_fill.xml+++ /dev/null@@ -1,9 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:pathData="M3,12 A9,6 0 1,0 21,12 A9,6 0 1,0 3,12 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_oval_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_oval_outline.xml b/pdf/src/main/res/drawable/ic_shape_oval_outline.xmldeleted file mode 100644index 0fc765b0a6..0000000000--- a/pdf/src/main/res/drawable/ic_shape_oval_outline.xml+++ /dev/null@@ -1,10 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:fillType="evenOdd"- android:pathData="M3,12 A9,6 0 1,0 21,12 A9,6 0 1,0 3,12 Z M5.2,12 A6.8,4 0 1,0 18.8,12 A6.8,4 0 1,0 5.2,12 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_pentagon_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_pentagon_fill.xml b/pdf/src/main/res/drawable/ic_shape_pentagon_fill.xmldeleted file mode 100644index 7a0a695dfe..0000000000--- a/pdf/src/main/res/drawable/ic_shape_pentagon_fill.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M12,2 L21.5,8.9 L17.9,20.1 L6.1,20.1 L2.5,8.9 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_pentagon_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_pentagon_outline.xml b/pdf/src/main/res/drawable/ic_shape_pentagon_outline.xmldeleted file mode 100644index df789eaee1..0000000000--- a/pdf/src/main/res/drawable/ic_shape_pentagon_outline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M12,2 L21.5,8.9 L17.9,20.1 L6.1,20.1 L2.5,8.9 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_rect_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_rect_fill.xml b/pdf/src/main/res/drawable/ic_shape_rect_fill.xmldeleted file mode 100644index c498ca8b98..0000000000--- a/pdf/src/main/res/drawable/ic_shape_rect_fill.xml+++ /dev/null@@ -1,9 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:pathData="M3,5 L21,5 L21,19 L3,19 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_roundrect_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_roundrect_fill.xml b/pdf/src/main/res/drawable/ic_shape_roundrect_fill.xmldeleted file mode 100644index c552b31ed7..0000000000--- a/pdf/src/main/res/drawable/ic_shape_roundrect_fill.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M6,5 L18,5 Q21,5 21,8 L21,16 Q21,19 18,19 L6,19 Q3,19 3,16 L3,8 Q3,5 6,5 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_roundrect_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_roundrect_outline.xml b/pdf/src/main/res/drawable/ic_shape_roundrect_outline.xmldeleted file mode 100644index 51ba41e1b2..0000000000--- a/pdf/src/main/res/drawable/ic_shape_roundrect_outline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M6,5 L18,5 Q21,5 21,8 L21,16 Q21,19 18,19 L6,19 Q3,19 3,16 L3,8 Q3,5 6,5 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_star_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_star_fill.xml b/pdf/src/main/res/drawable/ic_shape_star_fill.xmldeleted file mode 100644index e4f8c80a5e..0000000000--- a/pdf/src/main/res/drawable/ic_shape_star_fill.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M12,2 L14.35,8.76 L21.5,8.9 L15.8,13.24 L17.9,20.1 L12,16 L6.1,20.1 L8.2,13.24 L2.5,8.9 L9.65,8.76 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_star_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_star_outline.xml b/pdf/src/main/res/drawable/ic_shape_star_outline.xmldeleted file mode 100644index eb9b33f89f..0000000000--- a/pdf/src/main/res/drawable/ic_shape_star_outline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M12,2 L14.35,8.76 L21.5,8.9 L15.8,13.24 L17.9,20.1 L12,16 L6.1,20.1 L8.2,13.24 L2.5,8.9 L9.65,8.76 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_triangle_fill.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_triangle_fill.xml b/pdf/src/main/res/drawable/ic_shape_triangle_fill.xmldeleted file mode 100644index b6311592f4..0000000000--- a/pdf/src/main/res/drawable/ic_shape_triangle_fill.xml+++ /dev/null@@ -1,4 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#FFFFFFFF" android:pathData="M12,3 L21,20 L3,20 Z" />-</vector>
pdf/src/main/res/drawable/ic_shape_triangle_outline.xml
diff --git a/pdf/src/main/res/drawable/ic_shape_triangle_outline.xml b/pdf/src/main/res/drawable/ic_shape_triangle_outline.xmldeleted file mode 100644index b99687b137..0000000000--- a/pdf/src/main/res/drawable/ic_shape_triangle_outline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M12,3 L21,20 L3,20 Z" />-</vector>
pdf/src/main/res/drawable/ic_signature.xml
diff --git a/pdf/src/main/res/drawable/ic_signature.xml b/pdf/src/main/res/drawable/ic_signature.xmldeleted file mode 100644index 988fa4dc81..0000000000--- a/pdf/src/main/res/drawable/ic_signature.xml+++ /dev/null@@ -1,8 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineCap="round" android:strokeLineJoin="round"- android:pathData="M3,17 C6,17 6,8 8,8 C10,8 8,16 11,16 C13,16 13,11 15,11 C16.5,11 16,14 18,13" />- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineCap="round" android:pathData="M4,21 L20,21" />-</vector>
pdf/src/main/res/drawable/ic_style.xml
diff --git a/pdf/src/main/res/drawable/ic_style.xml b/pdf/src/main/res/drawable/ic_style.xmldeleted file mode 100644index f1588324f0..0000000000--- a/pdf/src/main/res/drawable/ic_style.xml+++ /dev/null@@ -1,8 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineCap="round"- android:pathData="M4,7 L14,7 M18,7 L20,7 M4,17 L8,17 M12,17 L20,17" />- <path android:fillColor="#FFFFFFFF" android:pathData="M16,4 m-2,0 a2,2 0 1,0 4,0 a2,2 0 1,0 -4,0" />- <path android:fillColor="#FFFFFFFF" android:pathData="M10,14 m-2,0 a2,2 0 1,0 4,0 a2,2 0 1,0 -4,0" />-</vector>
pdf/src/main/res/drawable/ic_tool_bezier.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_bezier.xml b/pdf/src/main/res/drawable/ic_tool_bezier.xmldeleted file mode 100644index 8997c79af4..0000000000--- a/pdf/src/main/res/drawable/ic_tool_bezier.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineCap="round" android:pathData="M3,19 C7,3 17,3 21,19" />-</vector>
pdf/src/main/res/drawable/ic_tool_draw.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_draw.xml b/pdf/src/main/res/drawable/ic_tool_draw.xmldeleted file mode 100644index 5030a60a05..0000000000--- a/pdf/src/main/res/drawable/ic_tool_draw.xml+++ /dev/null@@ -1,13 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#00000000"- android:strokeColor="#FFFFFFFF"- android:strokeWidth="2"- android:strokeLineCap="round"- android:strokeLineJoin="round"- android:pathData="M3,14 C5.5,8 8,20 10.5,14 C13,8 15.5,20 18,14 C19,11.5 20,12.5 21,13" />-</vector>
pdf/src/main/res/drawable/ic_tool_highlight.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_highlight.xml b/pdf/src/main/res/drawable/ic_tool_highlight.xmldeleted file mode 100644index 9139fa63ac..0000000000--- a/pdf/src/main/res/drawable/ic_tool_highlight.xml+++ /dev/null@@ -1,9 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:pathData="M3.5,20.5 L3.5,16.8 L13.2,7.1 L16.9,10.8 L7.2,20.5 Z M14.4,5.9 L17.1,3.2 L20.8,6.9 L18.1,9.6 Z" />-</vector>
pdf/src/main/res/drawable/ic_tool_image.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_image.xml b/pdf/src/main/res/drawable/ic_tool_image.xmldeleted file mode 100644index 5f751bfb40..0000000000--- a/pdf/src/main/res/drawable/ic_tool_image.xml+++ /dev/null@@ -1,10 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:fillType="evenOdd"- android:pathData="M3,5 L21,5 L21,19 L3,19 Z M5,7 L5,17 L19,17 L19,7 Z M8.6,8.2 L10.2,9.8 L8.6,11.4 L7,9.8 Z M5.6,16.4 L9.6,11.2 L12.2,14.6 L14.8,10.8 L18.4,16.4 Z" />-</vector>
pdf/src/main/res/drawable/ic_tool_line.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_line.xml b/pdf/src/main/res/drawable/ic_tool_line.xmldeleted file mode 100644index 09d2dfb88e..0000000000--- a/pdf/src/main/res/drawable/ic_tool_line.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineCap="round" android:pathData="M4,20 L20,4" />-</vector>
pdf/src/main/res/drawable/ic_tool_polyline.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_polyline.xml b/pdf/src/main/res/drawable/ic_tool_polyline.xmldeleted file mode 100644index 6615525993..0000000000--- a/pdf/src/main/res/drawable/ic_tool_polyline.xml+++ /dev/null@@ -1,5 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">- <path android:fillColor="#00000000" android:strokeColor="#FFFFFFFF" android:strokeWidth="2"- android:strokeLineJoin="round" android:strokeLineCap="round" android:pathData="M3,18 L9,9 L14,15 L21,5" />-</vector>
pdf/src/main/res/drawable/ic_tool_rect.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_rect.xml b/pdf/src/main/res/drawable/ic_tool_rect.xmldeleted file mode 100644index aaa5d149c9..0000000000--- a/pdf/src/main/res/drawable/ic_tool_rect.xml+++ /dev/null@@ -1,10 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:fillType="evenOdd"- android:pathData="M3,5 L21,5 L21,19 L3,19 Z M5.2,7.2 L5.2,16.8 L18.8,16.8 L18.8,7.2 Z" />-</vector>
pdf/src/main/res/drawable/ic_tool_select.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_select.xml b/pdf/src/main/res/drawable/ic_tool_select.xmldeleted file mode 100644index 9dfd51e7fe..0000000000--- a/pdf/src/main/res/drawable/ic_tool_select.xml+++ /dev/null@@ -1,9 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:pathData="M6,3 L6,19 L10.2,14.8 L12.9,20.6 L15.1,19.6 L12.4,14 L17.5,14 Z" />-</vector>
pdf/src/main/res/drawable/ic_tool_text.xml
diff --git a/pdf/src/main/res/drawable/ic_tool_text.xml b/pdf/src/main/res/drawable/ic_tool_text.xmldeleted file mode 100644index b56084820c..0000000000--- a/pdf/src/main/res/drawable/ic_tool_text.xml+++ /dev/null@@ -1,9 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="24"- android:viewportHeight="24">- <path- android:fillColor="#FFFFFFFF"- android:pathData="M5,4 L19,4 L19,7.4 L13.7,7.4 L13.7,20 L10.3,20 L10.3,7.4 L5,7.4 Z" />-</vector>
pdf/src/main/res/drawable/pdf_fast_scroll_thumb.xml
diff --git a/pdf/src/main/res/drawable/pdf_fast_scroll_thumb.xml b/pdf/src/main/res/drawable/pdf_fast_scroll_thumb.xmldeleted file mode 100644index eab8e0012c..0000000000--- a/pdf/src/main/res/drawable/pdf_fast_scroll_thumb.xml+++ /dev/null@@ -1,20 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<layer-list xmlns:android="http://schemas.android.com/apk/res/android">- <item>- <shape>- <solid android:color="?attr/colorSecondaryContainer" />- <corners android:radius="24dp" />- <size- android:width="48dp"- android:height="72dp" />- </shape>- </item>- <item- android:bottom="16dp"- android:drawable="@drawable/pdf_keyboard_arrow_up"- android:gravity="center" />- <item- android:drawable="@drawable/pdf_keyboard_arrow_down"- android:gravity="center"- android:top="16dp" />-</layer-list>\ No newline at end of file
pdf/src/main/res/drawable/pdf_keyboard_arrow_down.xml
diff --git a/pdf/src/main/res/drawable/pdf_keyboard_arrow_down.xml b/pdf/src/main/res/drawable/pdf_keyboard_arrow_down.xmldeleted file mode 100644index ceffa84255..0000000000--- a/pdf/src/main/res/drawable/pdf_keyboard_arrow_down.xml+++ /dev/null@@ -1,10 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="960"- android:viewportHeight="960"- android:tint="?attr/colorOnSecondaryContainer">- <path- android:fillColor="@android:color/white"- android:pathData="M480,616L240,376L296,320L480,504L664,320L720,376L480,616Z" />-</vector>\ No newline at end of file
pdf/src/main/res/drawable/pdf_keyboard_arrow_up.xml
diff --git a/pdf/src/main/res/drawable/pdf_keyboard_arrow_up.xml b/pdf/src/main/res/drawable/pdf_keyboard_arrow_up.xmldeleted file mode 100644index 8e3bef253b..0000000000--- a/pdf/src/main/res/drawable/pdf_keyboard_arrow_up.xml+++ /dev/null@@ -1,10 +0,0 @@-<vector xmlns:android="http://schemas.android.com/apk/res/android"- android:width="24dp"- android:height="24dp"- android:viewportWidth="960"- android:viewportHeight="960"- android:tint="?attr/colorOnSecondaryContainer">- <path- android:fillColor="@android:color/white"- android:pathData="M480,432L296,616L240,560L480,320L720,560L664,616L480,432Z" />-</vector>\ No newline at end of file
pdf/src/main/res/drawable/pdf_page_indicator_background.xml
diff --git a/pdf/src/main/res/drawable/pdf_page_indicator_background.xml b/pdf/src/main/res/drawable/pdf_page_indicator_background.xmldeleted file mode 100644index ce179a0ba3..0000000000--- a/pdf/src/main/res/drawable/pdf_page_indicator_background.xml+++ /dev/null@@ -1,10 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<shape xmlns:android="http://schemas.android.com/apk/res/android">- <solid android:color="?attr/colorSecondaryContainer" />- <corners android:radius="28dp" />- <padding- android:bottom="10dp"- android:left="20dp"- android:right="20dp"- android:top="10dp" />-</shape>\ No newline at end of file