textview icon instead of real text - android-studio

In the preview window of Android Studio sometimes instead of actual text (a few lines of text) I see the TextView icon as in the picture. I tested various layout_width and layout_height settings and still can't get rid of this problem.
The text appears again only if it is very short text.
I did not have this problem with older versions of Android Studio though...

Related

Android Studio Chipmunk - XML Layout Designer Split View Change Orientation

I'm not sure what happened, but the Split XML design view is now showing horizontally instead of vertically. (Design View is on bottom and Code view is on top.) I can't find anywhere on the UI to change the orientation of the design and code panes.
After playing around with the interface for longer than I'd like to admit...
Clicking on the Split button again flips the UI between horizontal and vertical split screen.
I'm not sure if this is a new feature in Android Chipmunk or if it's always been this way, but I could not find a duplicate question or answer on Stack Overflow or the web.
I faced a similar situation in version. Android Studio Chipmunk | 2021.2.1 Patch 2
I noticed that by pressing the Split button it became old value.

How to view this missing toolbar/window in android studio?

The space at the top in android studio where recently opened java and xml files(I have marked that in my image) are shown has disappeared in my MacBook. How to bring it back?
At the top toolbar Window> Editor Tabs > Tabs Placement > Top.
that's should fix it.

How to get rid of this Mouse pointer on Android studio and get the editable one

I am new to android development. The mouse pointer on the design page is as shown in the screenshot. I am not able to edit anything like increasing the height and width of the widget on this page. I might be able to do it in XML but I want it done here.
I want a normal mouse pointer where I can edit the widgets.
I tried looking at some of the blogs but it didn't help.
activity.xml - design
It worked after removing the cache files and restarting the android studio

Why Android Studio icon in windows taskbar automatically changes?

When I installed Android Studio in my Windows 10 pc, then icon for Android Studio used to be this :
But after a few days, icon has changed itself into this :
How to fix this?
In your taskbar, right click -> Properties -> Untick Use small taskbar icons. (With similar meaning, I don't know the exact original text in English).
The icon file of Android Studio, $ANDROID_STUDIO/bin/studio.ico, is an icon file containing 6 pictures, using the size of visible area to decide which one to use. Asking the taskbar NOT to use small icon will solve your issue.
This bug has been fixed, just delete the studio.ico file and it will work.

How to change the background color around the visual design/layout editor in Android Studio

The background around the Layout Editor in Android Studio is dark grey. I think it used to be white. Anyway, I would like to make it white again, but I can't find the setting. The reason I want to change it is so that I can make nicer looking print screen images to use on StackOverflow or app descriptions.
Note: I'm not talking about changing the theme or the code editor colors. These questions have already been answered here:
How to change or add theme to Android Studio?
How do I change Android Studio editor's background color?
how to change Android Studio terminal background color
Updated Answer
Android Studio 3.0 has a Screenshot menu item. Right click the design area and choose Save Screenshot.
From there you can make a screenshot with a transparent background.

Resources