fix(android/engine): Get svg to fill banner

This commit is contained in:
Darcy Wong 2023-11-09 16:38:52 +07:00
parent 11af5508af
commit 1d40beb90c
2 changed files with 1 additions and 22 deletions

View file

@ -1,21 +0,0 @@
/***
Keyman Engine for Android
Copyright 2023 SIL International
***/
/*
imagebanner.css: CSS for theming image banner (separate from KeymanWeb assets).
Image banner can be themed with .svg file
*/
/*
.phone.android .kmw-banner-image {
background-image: url('svg/keyman_banner.svg');
position:absolute;
}
.tablet.android .kmw-banner-image {
background-image: url('svg/gray_banner.svg');
position:absolute;
}
*/

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="auto" viewBox="0 0 100 100">
<rect width="100" height="100" style="fill:#ffffff"/>
<rect width="100%" height="100%" style="fill:#ffffff"/>
<path d="m0,0v1h1V0"/></svg>

Before

Width:  |  Height:  |  Size: 227 B

After

Width:  |  Height:  |  Size: 229 B