How do I enable Anko DSL preview in Android Studio 3.0 Beta 7 - android-studio-3.0

I have made a simple AnkoComponent inside a Activity and called .setContentView(this) on this component in onCreate, but how do I enable the preview functionality in Android Studio 3.0 Beta 7 for the Anko DSL?
Thank you
Søren

Related

vs 2017 and target framework version 9 in xamarin.android

I used to create my apps using visual studio 2019 but for some reason I had to downgrade to vs 2017. my apps used to work properly and I had no problem compiling them on my physical device that has android 10 on it. now i'm getting an error when I open my old apps using vs 2017 that target framework version 9 is not supported. and when I try to create new apps, they won't run on my phone. I tried to change my target framework version but there is only versions up till android 6. i'm trying to install version 9 using the sdk manager but it's not working. I would like to know how to solve this issue. should I reinstall vs 2019. thanks in advance.
I attached a photo to show you what i'm doing to install api 29.
What is Xamarin version? I suspect that your version of Xamarin.Android is 6.x which means that you won't be able to target Android 7.0 or 7.1 even if they are installed through the SDK manager.
You can check the version from Help > About Microsoft Visual Studio.
If you're using Visual Studio 2017 or newer, Xamarin updates are delivered as part of Visual Studio updates. To manually check for updates, go to Tools > Extensions and Updates... In the left hand menu, open Updates and select Product Updates. If there are updates available, they will be shown on this list.

How to Display Visual Scene List Studio Xamarin IOS Storyboard?

I've started developing an IOS app with Xamarin. This is a screen of a scenelist in the storyboard in Xamarin studio. Can I also display this in Visualstudio 2015?:
thanks for help
The equivalent in Visual Studio is the WPF Tree Visualizer.
You can read more about how to use this here: https://blogs.msdn.microsoft.com/zainnab/2010/01/29/using-the-wpf-tree-visualizer/

How to choose SDK version Visual Studio 2013

I've Visual Studio 2013 installed on my Windows 8.1 machine. Also the Windows Phone 7.1, 8.0 and 8.1 SDK's are installed.
When I make a new project, Visual Studio automatically make it a Windows Phone 8.1 project, I don't get the "Choose Target-version"-screen.
How can I make a Windows Phone 8.0 project in Visual Studio 2013?
Thanks.
When creating a project using the New Project window of Visual Studio, choose one of the project types marked as Windows Phone Silverlight (for example, Blank App (Windows Phone Silverlight). These project types are listed below the "standard" Windows Phone projects.
When choosing a Windows Phone Silverlight project, you'll be presented the Target Windows Phone OS Version window that allows you to set the SDK version to 8.0.

How to deploy xamarin ios app with SDK Version 5.0 to use old theme (not iOS 7 Theme) in visual studio 2013

Hello everyone I have a legacy xamarin.iOS project (built with 5.0 SDK) now i need to update some things without changing the look of the app.
After some research how to get the older SDKs to show up in the SDK Version dropdown in Visual Studio 2013 I finally got to select the 5.0 SDK (I also changed the Deployment Target to 5.0)
But when I deploy the app to my iPhone 5S running iOS 7.1.1. i get the iOS 7 Theme
Is there any way to get the app to use the old theme? (If I download the app from the store it works with the old theme, so there should be some way)
By the way on my research I read this article Using iOS 6 theme for iOS 7 app
Is it true that I cant upload apps using an older SDK? Even for app updates?
Thanks in advance for any help.
Submission to the Apple store requires that the product be compiled with the most recent released Tools (Xcode 5.1.1 at this point) and compiled with the most recent SDK (Currently 7.1)

How to implement google play services using android sdk 17 on xamarin

I have been trying to implement Google Play services using the steps in https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2 and https://github.com/xamarin/monodroid-samples/tree/master/GooglePlayServices
android update project -p "path to project" -t 4 worked
ant debug works, updated project.properties, add Api key
However on build in Xamarin studio 4.0.3 on Mac get this.using Xamarin android 4.6. what package is missing. any advice appreciated. am referencing Mono.android,support.v4
/Users/TheCall/MapView/Components/googleplayservices-9.0/samples/GooglePlayServicesApp/GooglePlayServicesApp/obj/Debug/android/src/mono/com/google/android/gms/appstate/OnSignOutCompleteListenerImplementor.java(34,34):
Error: package com.google.android.gms.appstate does not exist
com.google.android.gms.appstate.OnSignOutCompleteListener (GooglePlayServicesApp)
I suggest that you should use Google Play Services from http://components.xamarin.com/.
Steps:
Check your Google Play Services API in Android SDK Manager. If it's not rev. 12, update it. If thats not possible then check your revision, and find the appropirate component from Xamarin. They support rev. 9, rev. 10, and rev. 12. If you want to support older devices, download the Froyo version.
Download this component if you are updated to rev. 12: http://components.xamarin.com/view/googleplayservices12/
Unzip it, and reference the downloaded DLL in your project.
Use it like this: http://components.xamarin.com/gettingstarted/googleplayservices12

Resources