Visual Studio - Android Ui Designer not rendering - android

When opening the Android UI Designer in Visual Studio Enterprise 2017 it does not render the view correctly. It only looks like this:
The view is correctly displayed in Xamarin Studio on my colleagues' PCs and is rather simple. I even tried starting a new sample project in VS. Same problem there.
Anybody has an idea how to fix this?

Visual Studio usually struggles in designer, especially when there are loads of features or complex resources etc. Best method is to just ignore the designer and always use code view. Alternatively Android studio has a good designer if it is a necessity.
Hope i could help.

Related

simple android ui emulator for showing what xml would look like

i was wondering if there is any software that someone wrote for
showing what an .xml file would look like, just for experimenting UI while not having access to an android IDE.. i looked online but could find anything like that, so is there anybody out there who does know?
This is built into both Android Studio and the Eclipse IDE. If you bring up an XML file in the Layout editor, there is a "design" tab that will show you a rendering of how your layout will look.
To the best of my knowledge, there isn't another way to preview this without using the IDE.

Why is button showing on AVD but not the Designer?

I am very new to android apps, I do mostly VS2013, and I was just trying to do a hello world or anything basic. Why is there a tiny "hello world" on my design for my .xml file, but the button I added shows on the AVD? I'm really confused.
EDIT: To clarify, this is a brand new project. My question specifically is how can I make sure I can see on the design/text tabs what is going to be on my emulator? All I have done is drag/drop from the Palette onto the screen,and see nothing. What should I be doing instead?
The design device is the same as my AVD.
All: The solution was an issue with the rending, and is apparently a bug with the newest version of the Studio. This link I found had the information and solutions to help me with it:
Rendering problems in Android Studio v 1.1 / 1.2

Using the ADT Android designer outside of Eclipse?

Is it possible to use the ADT Android layout designer outside of Eclipse? If so, what is necessary to do that?
I realize the ADT is a plug-in to Eclipse, but I am hoping that with a small amount of hacking it could be used outside of the Eclipse environment. Even just being able to edit an Android layout without it being a part of an Eclipse Android project.
You can use droid draw to modify your layouts outside eclipse. http://droiddraw.org/

Mono for Android - Layout Designer Issue

I'm using Mono for Android 4.2.4 with VS 2010. The layout designer does not refresh properly if you change the theme, API version, orientation or device name from the designer toolbar. MonoDevelop works fine.
Is there a resolution for this?
I have not seen one. There are other issues as well, if you modify a xaml file and change widows without saving it, your changes will disappear! While Monodroid is an awesome tool, there are still a few bugs

Mono for Android VS2010: Cannot view layout in designer

I installed Mono for Android with the intention of using Visual Studio 2010 to design android apps. I am able to compile and deploy applications, but I am not able to view the layout designer. When I double click on an .axml file it opens in source view and there is no context menu option such as "View in designer." I am able to use MonoDevelop to create the layout, but I shouldn't have to do that.
Here are some screen caps:
Any tips?
It seems to simple but right clicking on the Main.axml in Visual Studio and select and choose Open with. Then select Android Designer should do the trick.
Despite that Android Designer can be set as Default it appears not to be working like that. I should say that's a BUG in VS and/or Monofor Android.
Are you shure to have the latest Mono for Android installed? (Version 4.2.4)
The Open With Dialog should have an entry "Android Designer".
Select this now and click "Set as Default".
Did a full uninstall, reinstall and reboot.
At first it didn't seem to have fixed it - my existing hello world project still wouldn't open the designer.
I tried creating a new project and ta-da all good now! Very odd.
I've very pleased to have gui designer. It really helps level the learning curve when learning a new platform - nice work Xamarin.
I did 3 installs until it finally took. I uninstalled then reinstalled and it still didn't work. I then just did a repair and it finally worked. Just keep reinstalling and you'll get it.

Categories

Resources