When clicking on the app-shortcut, I am opening an Activity with a Dialog theme. It seems that the app-shortcuts are not closed if I use that theme on the Activity. If I delete the Dialog theme, the app-shortcuts are closed after clicking on one of them. Any idea? Thanks!
How to close the new Android 7.1 App Shortcut
379 Views Asked by ricamgar At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ANDROID-7.1-NOUGAT
- Cannot create calendar event in android N
- Pressing allows after requesting permission for ACCESS_COARSE_LOCATION doesn't turn on location - nougat
- App isn´t installed error when tapping app shortcut in Nougat 7.1.1
- Shortcuts for Nougat version
- How to save access point settings in android 7 programatically
- Good approach to achieve Android facebook messenger type input keyboard
- What is rate limiting for android app shortcuts?
- Android 7.1.1 multi-user support in emulator
- Icon is not getting displayed in notification in Android nougat
- Can Android 7.1 static app-shortcuts creator put extras into the intent?
- android 7.1.1 (Nougat) app standby and network
- Shared Element Transition not working on Android Nougat (API 25)
- Why I can't use Dynamic shortcuts in my app? I got a IllegalStateException: Launcher activity not found for package
- Programmatically accept call in Nougat
- how get permission in android API 25 (Nougat)
Related Questions in APP-SHORTCUT
- App isn´t installed error when tapping app shortcut in Nougat 7.1.1
- Get AppShortcuts provided by an app
- Crash when using shared instance of a data controller in App Entity definition
- Can't load dynamically provided parameter values And handle method is not getting called in Intents in iOS
- Some of my iOS AppShortcut phrases work, but some launch Safari?
- iOS 16 - How to include more than 1 AppIntent / AppShortcut
- Provide example parameter in a Siri Tip View
- How do I modify or remove system-defined shortcuts such as "app info" and "Pause app" in android
- How to correctly create static App-Shortcut on Android 7.1 ?
- Launch Fragment (instead of Activity) from Android 7.1 App Shortcut
- How to close the new Android 7.1 App Shortcut
- Why is app shortcuts in latest android Nougat maxing out to 4?
- How to change style/design of AppShortcuts in Shortcuts App (tiles vs circle group)
- Trouble with changing variables from the new iOS 16 App Intents
- App Intents @Parameter with one-sided inclusive range (no upper bound)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I was able to reproduce your problem, at least with the Pixel Launcher.
The rendering and behavior of app shortcuts is up to the app that is showing the shortcuts. Perhaps the Pixel Launcher is only collapsing the app shortcuts panel in
onStop(). When a shortcut launches a full-screen activity, the launcher activity is called withonStop(), and so the app shortcuts panel goes away. But, when a shortcut launches a dialog-themed activity, the launcher activity is not called withonStop()(since it is still visible), and so the app shortcuts panel remains.Regardless, this behavior will vary by home screen (or other user of app shortcuts), and there is nothing much that you can really do about it.