Slide 11
Slide 11 text
// [AFTER]MainActivity.cs
[Activity(
ConfigurationChanges = ConfigChanges.Keyboard
| ConfigChanges.KeyboardHidden
| ConfigChanges.ScreenLayout
| ConfigChanges.ScreenSize
| ConfigChanges.Orientation,
Label = "@string/app_name",
Theme = "@style/AppTheme.NoActionBar",
MainLauncher = true)]
[IntentFilter (new []{ Intent.ActionMain },
Categories = new []{ Intent.CategoryDefault })]
public class MainActivity : AppCompatActivity
{
// ...
}
11 © @amay077 , 2016