How to use the "old" Intent Chooser Dialog? - dialog

Android 4.4 has this chooser dialog and the new Chrome version uses this dialog-"look" as well.
But the new Intent.createChooser() looks like this:
How can I get the old "look"?

Related

How to create a new destination in Android Studio using a screen reader

I am following the Android Fundamentals using Kotlin codelabs, and one of the tasks is to create a new destination in the navigation editor. It's written that I have to press the New Destination button, but I can't find it. I am blind, and I use the NVDA screen reader under Windows. A possible solution that came to my mind is to write the XML that the IDE would generate if I pressed the button, but I don't know what the exact syntax is.

Why 'New Kotlin Class/File' window not responding to keyboard when making a new Kotlin class in android?

Error message shown in terminal inside android studio is
ERROR: ld.so: object '/usr/lib/spectrwm/libswmhack.so.0.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Once I make a right click on com.example.myapplication> new > Kotlin class/file, a window appears that asks for name of the class. That 'New Kotlin Class/File' window does not take any input from the keyboard. I even tried it in xfce Desktop Environment, but faced same problem.
I'm running android on Debian 11 with spectr window manager. My android studio is ran via flatpak. I have Kotlin plugin installed. The keyboard also works fine in all other aspects.
This is not exactly an solution but a workaround.
The mouse still works in that window. Write the name of the class or file somewhere else, copy it to the clipboard control+shift+c. Then paste it in the name field with middle mouse button click. Then double click on the type of file you want to create.

Android Studio Commander Popup change order

I was wondering. Is there any possibility to change order of options after pressing Alt+Insert (New...) in Project Structure tab. I'm not sure if it's called Commander Popup, but I meant this:
I really want to have Kotlin File/Class as my first option. I was trying to change some options in Menus and Toolbars setting like this:
But unfortunately it changes nothing.
I know I can assign shortcut to generate new Kotlin File - but it feels like workaround.

Android Studio 3.4 - layout designer "tools" missing

When designing layouts in the Designer of Android Studio 3.4 I am missing the "tools" feature.
In older versions, there was a small button that allowed to set a properts in the tools mode (only visible in designer) instead of setting it for the android name space.
So in the XML it would be written
tools:background="#aaa"
instead of
android:background="#aaa"
However, with the new version, this is gone. It only seems to show the wrench symbol when I set this manually in the XML. But the button for adding a tools-property directly seems gone.
Any idea where the button went to?
Check under declared attributes
Press the + sign on the right and you can see a new row has been added below where you can search tools: {see the image below}
Or still, you can use the old school way like the above pic.

What is the bar that shows which method my cursor is in called and where did it go when I upgraded to Android Studio 3.1.0

There used to be this helpful bar at the top of my Android Studio Editor, below the file tabs, which showed which method the cursor was in. I'm finding that I'm desperately missing it since upgrading to Android Studio 3.1.0 from Android Studio 3.0.1. I couldn't figure out what it was called.
It isn't a navigation bar, because that shows only the file path.
After reloading the old version of Android Studio, I discovered that this bar is called Breadcrumbs.
The new version changes its appearance slightly and adds new options for whether to place it at the top or bottom of the editor window. It seems to default to being placed at the bottom of the editor window.
To quickly set Breadcrumbs options ctrl+shift+a (or macintosh equivalent) to bring up Find Action and search for breadcrumbs
Hit enter on the non-options result and select top or whatever you want
Enjoy having your breadcrumbs back on top.

Resources