Why is button showing on AVD but not the Designer? - android

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

Related

Android studio multiple projects in same window

I usually work with multiple projects. Lately android studio added new feature of having 2+ projects shown in the same window. It looks very similar to the for example google chrome when you have open 3 tabs.
You can nicely and very fast switch between projects which is super useful.
Anyways sometimes when I open new projects, they are not "auto added" to this tab mode and I finish with having 2-3 projects and every project is in its own window.
I tried playing with View and Window part in android studio toolbar but did not manage to find solution yet. I believe it's something with Window.
Can someone please explain it here not only for me, but also for all android devs that have same question

Visual Studio - Android Ui Designer not rendering

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.

Trouble with Visual Studio 2015 and Xamarin (Android Development)

I need some help with the designer of the visual studio/xamarin on the android.
I'm kinda noob with development, but I was hoping to do some examples, but the designer isn't showing up...
The tutorial videos, from the Xamarin itself, only says it need to create a new project and play with the designer, but when I do that, the designer is empty and I can't do nothing...
Here some pictures from what I have and from what I see on videos:
There's a couple things I'm thinking here. It's quite possible that your installation of Xamarin didn't go according to plan. Check your detailed Visual Studio version information in "Help -> About -> Copy Detailed Info".
Additionally, you might also be running on an outdated version of the Android SDK or there might be an issue with your Java config. Ensure you've got the Android SDK installed and updated and that you're using a current version of the Java SDK.
I also see there's a white box showing up on your Designer screen. Does that ever populate with an error? Usually, that will show some info on what exactly is going wrong.
Lastly, you can also check your logs in the following directory for more hints as to what's going on:
%LOCALAPPDATA%\Xamarin\Log
I hope this helps!

Does android developer tools kit include any visual features?

By saying visual I mean if there is a sort of option of seeing how the app might look on your phone while developing it using android developer tools kit downloaded from android website? I hope you got the question clear
Yes. You are building the layout with XML.
While you are developing you can switch between XML view and a graphical view.
This is in eclipse. Android studio hase something similar.
There is an layout preview in Eclipse where you could choose from a variety of predefined "devices". Also you could add your own.

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