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
381 Views Asked by ricamgar At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
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
- How to change style/design of AppShortcuts in Shortcuts App (tiles vs circle group)
- Get data from AppIntent when parent app is opened from Spotlight in Swift
- Custom group/category for the „Find Entity“ actions
- App Intents @Parameter with one-sided inclusive range (no upper bound)
- Crash when using shared instance of a data controller in App Entity definition
- How do I modify or remove system-defined shortcuts such as "app info" and "Pause app" in android
- Provide example parameter in a Siri Tip View
- Some of my iOS AppShortcut phrases work, but some launch Safari?
- iOS 16 - How to include more than 1 AppIntent / AppShortcut
- Can't load dynamically provided parameter values And handle method is not getting called in Intents in iOS
- Trouble with changing variables from the new iOS 16 App Intents
- Get AppShortcuts provided by an app
- App isn´t installed error when tapping app shortcut in Nougat 7.1.1
- Why is app shortcuts in latest android Nougat maxing out to 4?
- How to close the new Android 7.1 App Shortcut
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.