Android Studio: Part of Design View Hidden - android-studio

This is a new one for me. In Design view I am unable to see the first 150 pixels of the design view window-- including the buttons/options to the left of the AppTheme button. I've tried the Pan and Zoom tool, which seems to do nothing. It shows the full view and blueprint view filling the Pan and Zoom tool interface. Any idea how to fix this:

"Window" -> "Restore Default Layout" worked for me.

I had the same problem.
Just drag the mouse where your projects are to the far left of the screen and slowly move with your mouse over to the right until you will see somewhere in the middle resize pointer- thats your design view border. Click it and move to the right and it should appear!
If you want i can try to make a gif how to do it if the above does not help.

Related

Does vscode have a custom layout plug-in?

Does vscode have a custom layout plug-in? The area on the right side of my editing area is too empty. If I can drag the outline to the area on the right, I think the coding experience will be much better.
Screenshot of the operation interface 1
Screenshot of the operation interface 2
You can move the "Botton Panel" to the right
Then you can move The "Outline Panel" to the right panel

How to use "pan screen" on Android Studio?

I have found a function recently in Android Studio named "pan screen". It is located at the right side of design window. But I didn't find any description for it.
If you zoom in your design much enough so it no longer fits on in your design area in Android Studio, you can hit pan icon and drag your design around.
The image you have shown in is Zoom and Pan Controls which allows you to zoom in and out of the design , Now the Pan button will help you to pan around to find the areas
that are unable or not visible to see when zoomed in.
Pan is swing in a horizontal or vertical plane, typically to give a panoramic effect or follow a subject.
Pan in Android studio, you can hold space bar and drag the screen to view those area currently is not visible.
When a user zooms in the layout so much that you are unable to see all items in the layout, you can click on the pan option and then afterwards move the layout without accidently moving the items in the layout.

Android Studio Debug Watch pane is missing

OK this is really stupid. I have no idea what happened to the debug watch frame in Android Studio. I have 1.5.1 of Studio.
Is there some secret knowledge from intellij to show it.
Here's the icon that #jamesldurham referred to:
Thanks James! I think it would have taken me a long time to find that :/
Ok I with some help there is a button debug menu that looks like a desaturated American flag that when pressed brings it back.
The tool tip will show restore layout.
If you don't want to restore the entire debug layout, the below image is pointing to the "restore watches view" button. It is in the upper right corner of the debug console and looks like a pair of green shaded glasses over a window.
The button to its left restrores the "Threads" view, and to the right restores the "Variables" view.
Unlike previous IDEs the Watch panel is now totally integrated into the Variables panel
And there is no watch the variable option neither in the popup when right clicking on a variable.
The only option is to select the varaible that needs to be watched and drag and drop it onto the Variables panel.
Check that you have the Frames tab selected instead of Development, in the left bottom section.

How re-enable design palette in Android Studio

I recently made the switch to Android Studio as my default IDE for Android development. When designing my UI I normally use the palette in the design view to assist in arranging the widget on the preview screen.Recently something weird happened, It just disappeared and I can't seem to re-enable it. Normally I would see the little Palette button on the side but now its gone. When I open another project I see the palette but not show this current project I'm working on.
When I open another project in Android Studio I see the palette tab.
I've just figured this out! If you double click on your .xml file tab at the top it will maximize the designer window. Then on the left you can drag the window to shrink and it will reveal the palette. Then just click on the tab on the left to open the project window.
try the Design/Text tabs in the lower left of the layout window
The palette can be shrunk to 0 width. This can be expanded by hovering next to the left edge of the design window, and finding the right-most expand position.
If you have only the designer and the properties showing and the Properties is on the right, you can get the palette back by switching to a left or right view.
Right click on the .xml file tab. Select "split vertically". This will open another Design that shows the palette again.
Android Studio 2.3.3, and the answer I was looking for:
Window -> Restore Default Layout (Shift+F12)
First Close All The Tabs Then Open res->layout->activity_main.xml
you will able to see design tab at activity_main.xml
Try to switch between Design/Text tabs at the bottom left of the editor.
You must have something in the layout resource highlighted. I also had to compile without an error.
My solution was traversing
src->main->res-layout->content_main.xml
then open content_main.xml
You have to be in the 'Design' tab (as opposed to the 'Text' tab) at the bottom of the middle window (the one that shows the phone).

WPF - Flahing button with a icon on it

How do I place two icons on a WPF button, one in the middle (static icon) and one on the top left (based on a condition)? Also need to Flash the same WPF Button based on a condition?
(While flasing it switches between two background colors, the icons remains same).
Not sure if anyone will want to help you develop super annoying flashing advertising ad style buttons :)
But to point you in the right direction the answer is in learning how to override default control template for the button then for flashing - work on Animation. Once you try that and encounter problems, then post your code and someone will help.
P.S. 'Adam Nathan's WPF Unleashed' is a good start. Good luck!

Resources