Update Target Android Version changes layout - android-layout

I need to update the target android version (I won't change the minimum android version) from 4.0.3 to 8.0.
When I change that and compile, all my activities loses the correct layout, all components stays bigger.
What can I do to change the target android and keep layout?

Related

Android Studio + Flutter: identifier suggestion not relative

See attachment. The top list of suggestions not relative to alignment. This happened after I upgraded Android Studio from 3 to 4. I'm sure when using Android Studio 3, the suggestion is smart and show relative items at top of list.
(BTW: this also happened to Vscode)

Android studio 3.4 can not save my color scheme ,

In previous version of Android studio 3.4, color scheme can be saved and used when it is opened. Now every time Android studio is opened, color scheme becomes the default setting, I should change my custom color shceme perference this manually.
I upgrate to Android studio 3.5 , and the problem solve.

Android Studio has a very buggy attribute window when using search bar

So when I try to use the attribute window on Android Studio and wanted to search for something for my text or button it will be very buggy after I click away and click on something else like an Image, it will just keep that inputted search I previously used even though I have removed it.
So far I tried:
1- Restarting Android Studio.
2 - Invalidate Caches.
3 - Tried other PC same problem.
I am using Windows 10 - 64 bit with the latest Android Studio 3.3.2
https://youtu.be/KZrJltsnQL8
Try rebuilding and cleaning the project.

Android Studio 3.1.3 Preview screen blank

im a total newbie to Android Studio. I know the blank Preview screen is a known issue. On another thread a solution was to change something called 'AppCompat'.
The solution given was as follows:
"Change AppCompat library version in Gradle :
From
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
To
implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
It Works !"
My question is, where do I find the AppCompat library version so that I can change this 1 line of code?
Many thanks
Fe

Set toolbar icons size in Android Studio 3.0.1

I've just installed an update to android studio and now I see version 3.0.1
When I look to a toolbar I see that icons became two times smaller than usual.
Is it possible to make them bigger as it was before?
As said in this comment it is an Intended Behavior in version 3.0. But this behavior can be reverted by setting the system property hidpi.allow.fractional to true in file ~AndroidStudioHOME\idea.properties and restart Android Studio.
You can open and edit this file directly from IDE by Help | Edit Custom Properties menu:
hidpi.allow.fractional=true
P.S. But, for example, I'm already used to this size and it seems to me quite comfortable. There is more space for text, especially at 13 inches laptop.
Update Fixed in Android Studio 3.1. Icons become bigger as earlier
Have the same issue after updating to 3.0.1. As of Google Issue Tracker, it seems like a known issue & it is in assigned state. For a temporary fix, we can adjust the UI font of Android Studio from settings as below.
File -> Settings
Appearance & Behavior -> Appearance
Under UI Options, select Override default fonts
Set the size (I am setting size 24 to make the icons & text bigger)
Note : The above steps will make the Android Studio UI ugly but until
a patch is released, we might need to adjust to this.
After I used to the small icons there's a surprise after update to Android Studio 3.1. Icons became big again :)

Resources