Fix zoom and topbar
This commit is contained in:
@@ -55,7 +55,7 @@ class MainScreen : ComponentActivity() {
|
|||||||
|
|
||||||
setContent {
|
setContent {
|
||||||
SysTheme {
|
SysTheme {
|
||||||
Box(modifier = Modifier.fillMaxSize().background(MaterialTheme.colors.background).statusBarsPadding(),) {
|
Box(modifier = Modifier.fillMaxSize().background(MaterialTheme.colors.primary).statusBarsPadding(),) {
|
||||||
AppNavHost(psvg, css)
|
AppNavHost(psvg, css)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -114,6 +114,7 @@ class MainScreen : ComponentActivity() {
|
|||||||
PhotoView(ctx).apply {
|
PhotoView(ctx).apply {
|
||||||
setLayerType(ImageView.LAYER_TYPE_SOFTWARE, null)
|
setLayerType(ImageView.LAYER_TYPE_SOFTWARE, null)
|
||||||
setImageDrawable(drawable)
|
setImageDrawable(drawable)
|
||||||
|
maximumScale = 32f
|
||||||
scaleType = ImageView.ScaleType.FIT_CENTER
|
scaleType = ImageView.ScaleType.FIT_CENTER
|
||||||
}
|
}
|
||||||
}, modifier = Modifier.fillMaxSize())
|
}, modifier = Modifier.fillMaxSize())
|
||||||
|
|||||||
Reference in New Issue
Block a user