Answer the question
In order to leave comments, you need to log in
How to "fix" the work of the "go back" button?
Hello!
I am developing a small application on android and I am facing the following problems:
First of all I am providing the code that I am using to implement the "go back" button on android
<activity
android:name=".FavoriteActivity"
android:label="@string/title_activity_favorite"
android:parentActivityName=".MainActivity"
android:theme="@style/AppTheme.NoActionBar">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="info.md7.dermanlar.MainActivity" />
</activity>
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question