Set app name from resource and set orientation
This commit is contained in:
Родитель
cbae98810d
Коммит
db1867e0a8
|
@ -14,7 +14,7 @@ using PortableCongress;
|
|||
|
||||
namespace AndroidCongress
|
||||
{
|
||||
[Activity (Label = "Portable Congress", MainLauncher = true)]
|
||||
[Activity (Label = "@string/app_name", MainLauncher = true, ScreenOrientation = Android.Content.PM.ScreenOrientation.Portrait)]
|
||||
public class MainActivity : Activity
|
||||
{
|
||||
protected override void OnCreate (Bundle bundle)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name">AndroidRazordex</string>
|
||||
<string name="app_name">Portable Congress</string>
|
||||
</resources>
|
||||
|
|
Загрузка…
Ссылка в новой задаче