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 want to Extract a Widget with onPressed setState inside but I get the Message "Reference to an enclosing class method cannot be extracted." Is there a way to do that? I would like to divide my code into different…
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'm watching a tutorial about change the text for different languages but I can't find same options as the tutorial go through so where can I able to find it ? please check out image for more detail , enter…
I get this error when I try running the application. Error: unable to find directory entry in pubspec.yaml: /Users/yoshithKotla/Desktop/Freewheel_application/assets/images/
I am working on an android app which request Mars photos ans use it to display it on screen. To make an request.And trying to use A public Api object that exposes the lazy-initialized Retrofit service. below is source code…
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 am having a rather weird day. I get this error whenever I try to run my app on iOS simulator from Android Studio WARNING: CocoaPods requires your terminal to be using UTF-8 encoding. Consider adding the following to ~/.profile:…
I have a string formatted like this. <string name="instructions" formatted="true"> Follow these instructions. <br/><br/> 1. Step 1. <br/><br/> 2. Step 2. <br/><br/> 3. Step 3. </string> In the designer preview, it looks like this. When I run it in an…