Improvements

This commit is contained in:
Maurice 2024-06-19 19:24:15 +02:00
parent dceb5b49d8
commit 007ca4ef0f
3 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ using Java.Lang;
namespace DemoAndroid; namespace DemoAndroid;
[Activity(Label = "WakeOnLanActivity", MainLauncher = true, Theme = "@style/NoActionBar")] [Activity(Label = "@string/app_name", MainLauncher = true, Theme = "@style/Default")]
public class WakeOnLanActivity : Activity public class WakeOnLanActivity : Activity
{ {
private const int BiometricStrong = 0x0000000f; private const int BiometricStrong = 0x0000000f;

View File

@ -1,4 +1,4 @@
<resources> <resources>
<string name="app_name">Start computer</string> <string name="app_name">Goofjes</string>
<string name="app_text">Hello, Android!</string> <string name="app_text">Hello, Android!</string>
</resources> </resources>

View File

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<style name="Default" parent="@android:style/Theme.Material.Light.DarkActionBar">
</style>
<style name="NoActionBar" parent="@android:style/Theme.Material.Light.DarkActionBar"> <style name="NoActionBar" parent="@android:style/Theme.Material.Light.DarkActionBar">
<item name="android:windowActionBar">false</item> <item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item> <item name="android:windowNoTitle">true</item>