Android Studio – Back button on action bar
when I create a new activity, Android Studio show me this photo: It have a Back button but activity haven't it. how can I Make visible it?
when I create a new activity, Android Studio show me this photo: It have a Back button but activity haven't it. how can I Make visible it?
I made a Java project in Android Studio, and tried to put a file in Kotlin. But you can see that Android Studio doesn't recognize Kotlin files in the same project that contains Java files. Can anyone help please? Attached…
I have migrated ViewPager to ViewPager2 and adapter FragmentPageAdapter to FragmentStateAdaper. In FragmentPageAdapter there is a method called getItemPostion(Object obj) by using this method I can able to replace fragments. In FragmentStateAdaper class that method is not there how to…
I am currently working on a project in android studio. In that app there are buttons in all activities. In the MainActivity (It is main menu of app) there are 3 buttons. I created a drawable file named rounded. It…
I'm on the last version of android studio and gradle. I wanted to use Liquid swipe animation in my project (i used it before in other project). In this version in the build.gradle there no allprojects{repositories.{..}} any more i dont…
I've been working some android unity project but when i try to build i got some Errors Here is one; **Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details Configure project :launcher WARNING: The…
I'm trying to use a project which my teacher gave to me, but it shows me an error Settings file '/Users/admin/AndroidStudioProjects/HTTPNetworking/settings.gradle' line: 1 A problem occurred evaluating settings 'HTTPNetworking'. > Could not find method dependencyResolutionManagement() for arguments [settings_d1xerae4a210x6r7efckrwyki$_run_closure1@580a3803] on settings…
Im trying to create a bunch of rows in a Listview to show from an ArrayList of object class my object class Locations has private String name; private int currentCapacity; private int maxCapacity; private int id; public Locations(String name, int…
I wanted to add a `toast message` when clicked on a button and I added it. Now I want show it only **one time**, that means the toast message will **not show again** if clicked on the button after the…
I just downloaded and installed Android Studio. I've tried running it, but there's some internal error. I've tried uninstalling, deleting the JDK, and reinstalling, but I'm still having this same problem. I also tried to download the new installer and…