Xamarin in VS 2017 ramp up: cant drag a button from toolbox - xamarin

At first I had errors related to NuGet packages, now my system is stable, or at least I don't see errors displayed.
The problem: When I select (Button, for example) from the tool box to the layout of activity_main.axml, the system wont let me drop it, showing "no entry" sign.
Any idea what did I miss?
enter image description here

Please chanage your RelativeLayout to LinearLayout, And added android:orientation="vertical" to the activityMain.axml
You can drag the button to your layout like this gif.

Related

Xcode 6.1 Main Storyboard turned blank when clicked on Show the Version Editor button

I'm new and following a tutorial when I misclicked on the "Show the Version Editor" button instead of the Assistant Editor all my graphics I've made in the Main Storyboard is now blank! I can find them in the tree but they are "grey" or "faded", so I can't drag and drop anymore.
I guess it's just a view setting or something but I can't find how to restore it to normal?
Please help, looks like I can't post a screenshot of it since I'm new :(
Thanks
NisseB!
I fixed it myself! I just had to change the canvas size to what I had before running the Version Editor (for all iPhones) and then all the objects appeared again! If I also disabled Auto Layout I got some objects back, but in wrong locations, so this was better!

How to view elements in design view using a scrollviewer

Visual Studio WP 2010.
I'm using scrollviewer for text and images on a page, but in design view in VS I can only view the first part of the page which makes placing text and images difficult. I can take a guess and then run the app in the emulator, scroll down to see how far off I am, then go back in design view and try to set margins, height, etc appropriately. Is there another easier way to do this?
Just a guess: During creation set the ScrollViewer's VerticalOffset.
I found the answer elsewhere. In the top section of your xaml find d:DesignHeight="696" and change the 696 to something like 2000, etc. This will extent the viewing area. Anytime you reload or run the application it will default back, but it's easy to reset.

where is the specific button on design mode?

how can i find the specific button on design mode where i have several buttons ie: hundered of buttons so that they all like spaghetti and one button may be under another button or a groupbox (i might be playing with the visibilities ) and i want to see my button number 83 on the design. how can i see him? where is he hiding? :) i use visual studio as an IDE. thanks.
MessageBox.Show(" where is the specific button? i know that he is somewhere on the form but cant distinguish it on the design since its somewhere under something i cant find it");
Use Document Outline (View - Other Windows - Document Outline)
Just pick the button from the tree and voila.
PS: this works for other types of designers (WPF/Silverlight, ASP.NET)
You can access it via the Properties Window. There is a drop-down that will list all of the items in your form in design mode.
Then use the drop-down. The drop-down will list all of the items on your form so you will scroll through the list to find Button number 83.
Images were pulled from MS Visual Studio: The properties Window which contains an explanation of the window.
Have you tried using the properties window?

How to add a chart in iReport Designer 4.1.2 to my designer view?

Problem
I have created a blank report (mychart.jrxml).I cannot figure out how to add a chart to my blank report in the designer view.
What I have tried
I went into the samples folder under the iReport folder of the installation and opened up one of the samples that has a chart. In that example (charts.jrxml) the chart definition is expanded in the Summary section on the left tree navigation bar.
So I go to my blank (mychart.jrxml) file and try to right click "Summary" to see if I can add any type of component but I cannot.
UPDATE
I have noticed that in the main navigation bar the the Palette menu item under tools is empty.
Does anybody know how? Do I have to get the pay edition to accomplish this?
Thanks,
Official answer: Click on Window->Palette This will open up a Palette Widnow on the right

How to display "the" Assistant Editor?

https://web.archive.org/web/20110604185120/http://developer.apple.com/library/ios/documentation/iphone/conceptual/iPhone101/Articles/05_ConfiguringView.html
To add an action for the button . . .
In Xcode, select the view controller’s nib file (MyViewController.xib).
Display the Assistant editor.
Make sure Assistant displays the view controller’s header file (MyViewController.h).
Control drag from the button in the nib file to the method declaration area in the header file.
How to do step 2?
How to display "the" Assistant Editor?
It's exclusive to Xcode 4:
In Xcode 6
It is the second button with two circles.
EDIT: As of the latest version of Xcode this has changed.
In XCode 6.2 it seems they've changed the icons again. I was having trouble finding it but I didn't realize where the buttons were until the dumb old me trying to pick up iOS thought I was missing a view, so here I am posting this for any passerby who needs some visual confirmation.
To be fair, I was looking for something based of some instructions I had read that referenced the two circles, and it didn't occur to me that two circles meant a split view / assistant editor, and not until after finding this post and figuring it out did I realize a suit was a reference to a butler AKA assistant :D

Resources