Previous activity doesn't show
See original GitHub issueJava code:
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_client_detail);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
getSupportActionBar().setHomeButtonEnabled(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
SlidrConfig config = new SlidrConfig.Builder()
.scrimEndAlpha(0f)
.scrimStartAlpha(0.5f)
.build();
Slidr.attach(this, config);
}
Theme:
<style name="AppTheme.Slidr" parent="@style/AppTheme"> <item name="android:windowIsTranslucent">true</item> <item name="android:windowBackground">@android:color/transparent</item> </style>
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
Android Back Button Doesn't Return to Previous Activity
When this menu item is clicked, it launches the SettingsActivity with an intent. After the activity starts up, I click the back button...
Read more >How to Go Back to Previous Activity in Android?
In the projects folder, right-click on app > new > Activity > Empty Activity. You can customize this activity accordingly. Creating New Activity ......
Read more >How to Go back to previous activity in android - Tutorialspoint
Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create...
Read more >Tasks and the back stack - Android Developers
The previous activity in the stack is resumed. When an activity is destroyed, the system does not retain the activity's state.
Read more >What is the Recent activity page? - Microsoft Support
This page shows info about the activity in your Microsoft account, within the ... If you see only a Recent activity section on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
try to add the next theme to your slideable acivity in manifest:
I got the same issue, but with transparent background, making the android home screen visible. Anyone?