My question concerns the use of Immersive Mode in Android K/L, and multiple activities versus one activity and multiple fragments.
The background: the app I created for my company is not on Google Play store; we sideload it and distribute the tablet for industrial control.
The condition: we want to hide the Nav Bar and Status Bar without rooting or using a custom ROM. This is to prevent testers from accidentally getting access to the OS. Immersive Mode has that capability, provided they don't swipe from the bottom or top; we are willing to concede that issue. L's Task Locking is really out of the question.
The issue: when the current activity is switched to another activity, the Immersive Mode is turned off, which means that the Nav Bar and Status Bar appear, then disappear when the new activity's view appears and Immersive Mode is re-established.
The research: when switching fragments, Immersive Mode stays intact.
The question: is there any issues I need to be aware of if I re-design the app to have only one activity and many fragments versus a multiple activity app? There are about 25 activities in this app.
Related
Flyme 5.0 now available in India
Boot animation of Taj Mahal and a ringtone dedicated to India
Dynamic new settings page design layout
Optimized battery consumption, to display software and hardware power consumption separately
Meizu today announced the launch of its upgraded Flyme 5.0 OS for its MX5 Indian customers. The upgraded OS encapsulates an intuitive and simple system app layout, supported by a smooth and exquisite transition animation.
1. Are there any statistics available to support better performance, lock time, battery consumption?
2. Any customizations related to India? In addition to the Taj Mahal animation and ‘Indian ring tone’
The OTA update is 800Mb, Download from forum[.]flymeos[.]com
The Flyme 5.0 experience:
Home screen
Floating notification: Notifications can be displayed in floating mode without interrupting operations.
Multi-task: Card-type multi-task lists are added and can be long pressed to lock an individual application.
Multi-screen mode: Based on the multi-task list, two applications can be displayed at the same time in multi-screen mode in an adjustable ratio (only some specific applications are supported).
Batch icon sorting: Icons can be selected and moved in batch mode to different pages or directories on Home screen by long pressing Home screen and selecting Sorting Icons.
Shake to sort Home screen: Icons on Home screen can be sorted rapidly by entering the Sort Icon mode and shaking the mobile phone.
System
Indian Flavour: Boot animation of Taj Mahal and a ringtone dedicated to India.
Display: Added a display in Notification panel to show the app which is currently using GPS, and users can disable it directly on the panel.
Optimized layout: When the notification bar without unread notifications is dropped down, all switches are displayed on it by default; and when the notification bar with unread notifications is dropped down, more options the notifications can be viewed by pull down the zone.
Optimized Icons: Icons are now in the middle for calendar, messages and memos.
Boot Speed: Optimized boot speed, which is more prominent when the system installs a lot of apps.
Settings
Brand new design: The Setting page is adjusted in the aspects of interaction and functional grouping. Added search function in Settings. Now users can enter keywords to search related options and features.
Battery management: The power consumption order is optimized, so that software and hardware power consumption is displayed separately.
Volume classification: Volume can be managed by classification in Settings > Sound and Vibration > Volume.
Network sharing: A Wi-Fi network can be shared via QR code by tapping a Wi-Fi hotspot in Settings > WLAN.
Default application: Default applications can be specified for specific categories in Settings > Apps > Default apps.
Simulated colours: The colour space can be simulated in colour blindness mode or in amblyopia mode in Settings > Accessibility > Developer options > Simulated colour space.
Security
Phone acceleration: Apps running on the background can be disabled to accelerate the operating speed of the mobile phone.
Cache clearing whitelist: App caches, redundant APKs, and app residuals can be whitelisted to prevent unexpected removal.
Scheduled clearing: The Scan and clear option is added to scheduled cleaning for convenience.
Data usage on the notification bar: A switch for displaying data usage on the notification bar is added in Data > Settings.
Quick scan and one-key optimization: The health status of the mobile phone can be known upon entering the interface without waiting. All problems can be fixed with one key.
App detecting: Fake apps can be detected to prevent potential risks.
Privacy security: enhanced permission management for privacy protection.
Hi,
I know in the past there was an easy interface to allow you to choose per app whether or not to hide the navigation bar (home touch buttons).
Does anyone know if there is an easy way to always keep the navigation bar and status bar and to never have it go into immersive mode? With the taller screen, I'd like to give that a shot for a while.
There is a thread here about per app immersive mode: https://forum.xda-developers.com/lg-g6/help/hiding-home-button-lg-g6-t3583536
I'm looking for a 'disable' immersive mode completely type of functionality.
Thanks for any assistance.
(US997 on Verizon)
None of this is my work, I just compiled a few different pieces of advice from others. Ever since I started using devices from OEMs that provide a way to do this, I've always enabled it.
Desired outcome: Having a Navbar button that expands the notification shade. (See screenshot)
Follow this XDA article to install and enable Custom Navigation Bar
Install the application Expand Statusbar from the Play Store
Open Expand Statusbar and set the default action to "Notifications"
Open Custom Navigation Bar and in the Navigation Bar settings, add an extra right or left button (your preference). Give it an icon (I chose Chevron down, your preference)
Map it to launch an app, choose Expand Statusbar
???
Profit!
Custom Navigation Bar is supposed to support Tasker profiles, so the ideal solution is having a Tasker Task toggle mapped to the button. I couldn't get it working on DP1 though, others may have more success. If you find a way to get it working through Tasker, post in here and I'll update the original post with alternate instructions.
------Please Read Complete------
Features request:
• Activity, quick settings, Shortcut:
1: A custom quick setting tile to Trigger Power menu(not just reboot but whole menu like what KEYCODE 26 does but long press as a tap)(I know it can be done from navigation bar but it decreases my qs tiles rows from 3 to 2 and navigation bar misbehaves with my configurations) and a Screenshot tile also.
2: Every activity Should be Available as a shortcut for Home Screen. Activity Launcher(F-droid) App does Similar.
• Backgrounds:
3: Only keep gradient/ hue and Solid Colours in BG App when offline and rest should be available at some LineageOS repository via internet to BG App when online. This will:
a) Much reduction in App size as BG app only had Wallpapers in Image Format rest all were code when i checked inside app. b) More Choice to users. c) These are just bloat for users who use their own BG collection or Gallery Images as BG.
•Calender:
4: Please Bring back Year View to the calendar app.
5: I think Calendar App is useless for people without GMS as we cannot add events to the app or we have to download an add-on(Offline Calendar) with a weak security structure, so isn't it better if it is implemented natively in the system as People with GMS would also not oppose this.
•Launcher:
6: Application Lock is useless without covering AOSP Package Manager(For non-GMS only) and system settings from QS.
•Snap:
7: RAW(DNG) support would be a game changer.
•System:
8: Option in system settings to manually change Standard Output (here, Audio)to Speaker, earpiece or audio jack(if connected).
•KeyBoard:
9: AOSP Keyboard should follow system theme(both default and Black and not dark blue) and also accent.
10: Adding Key Boarders like GBoard(not swiftkey) will be very impressive and prevent me from using GBoard as i dont like GMS.
•Calculator:
11: Orders of Magnitude converter for Calculator App.
•AudioFX:
12: Divide AudioFX into two sections, Basic and Advanced where basic is like how AudioFX is currently present and Advanced is with 10 band equalizer and L-R controller.
Questions:
Q1: What is the use of that option "Left Shortcut also Unlocks" in Lock screen preferences?
Q2: Why don't Lineage OS support all the DPI(from Low to xxx High). If yes then why do many preferences break with DPI change.
Q3: Why was the option to clear cache of all installed applications from storage section of settings removed?
Problems:
P1: Style only work for Primary User in multi user mode.
P2: Changing Accent in any user changes accent of Primary user and keep Default on rest all Users always.
P3: Navigation bar and Launcher rows and columns also get disturbed with Setting up Multi User.
• Note: Multi user in above sentences is not Work Profile or Restricted profile but a separate user from Settings>System>Multi Users.
• Setup: 270 DPI(640 as smallest width in developer Options) in primary user and default on rest(2 excluding primary) and navigation bar activated on Primary user but not on rest.
NOTE: Sorry if my Language hurt anyone especially Hardworking Creators and contributors to LOS but this was my suggestion for improvement.
Please make Pixel 3a XL an official supported device.. (Bonito)
Yes
------Please Read Complete------
Features request:
• Activity, quick settings, Shortcut:
1: A custom quick setting tile to Trigger Power menu(not just reboot but whole menu like what KEYCODE 26 does but long press as a tap)(I know it can be done from navigation bar but it decreases my qs tiles rows from 3 to 2 and navigation bar misbehaves with my configurations) and a Screenshot tile also.
2: Every activity Should be Available as a shortcut for Home Screen. Activity Launcher(F-droid) App does Similar.
• Backgrounds:
3: Only keep gradient/ hue and Solid Colours in BG App when offline and rest should be available at some LineageOS repository via internet to BG App when online. This will:
a) Much reduction in App size as BG app only had Wallpapers in Image Format rest all were code when i checked inside app. b) More Choice to users. c) These are just bloat for users who use their own BG collection or Gallery Images as BG.
•Calender:
4: Please Bring back Year View to the calendar app.
5: I think Calendar App is useless for people without GMS as we cannot add events to the app or we have to download an add-on(Offline Calendar) with a weak security structure, so isn't it better if it is implemented natively in the system as People with GMS would also not oppose this.
•Launcher:
6: Application Lock is useless without covering AOSP Package Manager(For non-GMS only) and system settings from QS.
•Snap:
7: RAW(DNG) support would be a game changer.
•System:
8: Option in system settings to manually change Standard Output (here, Audio)to Speaker, earpiece or audio jack(if connected).
•KeyBoard:
9: AOSP Keyboard should follow system theme(both default and Black and not dark blue) and also accent.
10: Adding Key Boarders like GBoard(not swiftkey) will be very impressive and prevent me from using GBoard as i dont like GMS.
•Calculator:
11: Orders of Magnitude converter for Calculator App.
•AudioFX:
12: Divide AudioFX into two sections, Basic and Advanced where basic is like how AudioFX is currently present and Advanced is with 10 band equalizer and L-R controller.
Questions:
Q1: What is the use of that option "Left Shortcut also Unlocks" in Lock screen preferences?
Q2: Why don't Lineage OS support all the DPI(from Low to xxx High). If yes then why do many preferences break with DPI change.
Q3: Why was the option to clear cache of all installed applications from storage section of settings removed?
Problems:
P1: Style only work for Primary User in multi user mode.
P2: Changing Accent in any user changes accent of Primary user and keep Default on rest all Users always.
P3: Navigation bar and Launcher rows and columns also get disturbed with Setting up Multi User.
• Note: Multi user in above sentences is not Work Profile or Restricted profile but a separate user from Settings>System>Multi Users.
• Setup: 270 DPI(640 as smallest width in developer Options) in primary user and default on rest(2 excluding primary) and navigation bar activated on Primary user but not on rest.
NOTE: Sorry if my Language hurt anyone especially Hardworking Creators and contributors to LOS but this was my suggestion for improvement.
Important one for me:
- Enable Call Recording for all countries (Why the hell do the developers even care about recording laws? Let the users decide what they want to do with their devices!)
- Provide option to automatically start call recording.
Nice to have:
- Full screen alarm clock (for swiping to snooze or terminate the alarm)
Reason for that: If someone swipes the notification away, the alarm sound continues and you have no way to terminate it except by rebooting the phone.
Vanta-Chan said:
Important one for me:
- Enable Call Recording for all countries (Why the hell do the developers even care about recording laws? Let the users decide what they want to do with their devices!)
- Provide option to automatically start call recording.
.
Click to expand...
Click to collapse
+1 for that!
Hello,
I frequently use my phone for Google maps navigation in my car, but mounted landscape. In the Google Maps app, data around the notch cutout shows correctly in portrait mode, but in landscape mode, the whole status bar area around the notch just becomes a black bar.
This has caused severe screen burn-in on my phone in the status bar area. Since I spend thousands of hours using maps in landscape mode and therefore having that section on the screen dark, I need to find a way to make Maps take up the whole screen to prevent the burn-in/uneven-wear from worsening.
I flashed a Magisk module called NotchKiller, which works, but it affects ALL apps, including the status bar itself when in portrait mode, which is not what I want. Google Maps and Waze don't seem to have an in-app user setting for this either.
Then I found this useful documentation. https://developer.android.com/guide/topics/display-cutout
It appears the app is using the default "LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT", but I want the behavior to follow "LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES".
So my question is, how can I change or override this setting? (And not have to spend an hour recompiling the app myself with this one line every time Google updates it?)
Edit: I am on OOS 10, but willing to try a custom ROM if I have to.
Anyone?