Android dynamic theming - android

I want to ask if it is possible to change the system font size out of an App.
So the idea is to create an App to change some system parameters, but I don't know if I can use RRO's or the Dynamic Theme function from Android 12 or another alternative.
I read that:
"The “Styles” option for customizing system icons, icon outlines, and
fonts will be removed with Android 12" / © NextPit."
https//new.in-24.com/News/111901.html
I know I can change the font size in the settings but I want to do it out of an App and maybe also change the icon size and more later.
Does anyone have a good idea of how to start or an example?

To make any system changes, you need the user to navigate to Settings App. an OTT app cannot do system level changes.
Other Possibility is, root your device and make your app as an system app.

Related

Is it possible to program an Android app that changes the font opacity in other apps? (e.x. Telegram or whatsapp)

So the question is, is it possible to change the font opacity in specific apps like Telegram or WhatsApp with a self-developed app? I don't need to get any personal data related to privacy, just changing the design of the interface.
If yes, which direction to look into? I don't have any background in programming android app, but would be really glad if there are some reference tutorials or android documentation.
I don't believe that is possible. Of course, the operating system can do some UI changes, for example, if you are using contrast or dark mode or some other accessibility feature. But there is no way you can directly change the opacity of a specific application that you don't own the code to.

How to make a flexible playstore app Icon that supports both "Normal Mode" and "Dark Mode"

I have recently pushed a React Native app to playstore and used an Icon to represent in playstore.When Dark Mode is enabled my app's playstore Icon's background turns black which makes Icon ugly. Now my doubt is
Do I have to use white background for Icon for all the future apps?
OR
Is there any way to make our Icon to be flexible in both Normal Mode and Dark Mode?
regarding your first question if the issue is only inside of playstore I think light background will not hurt. I dont think google play store offers a way to make this adaptive on their website.
regarding the second one, yes! inside your android project you can place alternative versions of your launcher icon inside of /res/mipmap-night-** resource folder btw it is possible you will need to create it. And also I recommend you actually create /res/mipmap-night-hdpi, /res/mipmap-night-xhdpi etc. to take into account the different screen resolutions. Since you are developing with react you would have to dive into your android project to find the res folder, or alternatively open your project in android studio and you will see it right away. this should change how your app looks on your users home screen
UPDATE
by mistake I had pointed to the drawable-night-** folders in my answer but Launcher icons in android are actually saved in the mipmap folders. I have now corrected this. I also tryed it out and it works (however I had to restart my device for it to take effect. asuming your users dont switch constantly between day and night mode they will always se the right icon for them)
Play Store icon it is a different image that you upload.
Make a complete white (or whatever) background to that image. In the official guidelines, Google says that you shouldn't make a partial background.
There is no "dark" icon in the Google Play Store; if you leave it transparent, it will display the default background color for each state (normal-dark).

Changing iOS and Android app's name and icon on the fly

Okay, I know the title is a bit confusing so let me explain it a little bit more.
We have different groups of clients and they want to have their own app, meaning the app name, icon, splash screen and theme colour are customized. But the functionalities and features remain the same across the whole product line.
Of course, we can submit different app for different client. But the maintenance would be a nightmare to the development team - each new feature / bug fixes needed to be pushed to different branches and we need to do multiple app update. Furthermore, we need to do manual testing on all the variants. We do not want to go down this road.
As a developer, I want to have a generic app for app submission and update. But once the client signed up then we change the app name, icon and splash screen according to his settings. I know I can do the splash screen and theme color - just render a different image and RGB value from the server on login. But I do not know if there is way to changed the app name and icon after the app installation.
I have also done preliminary search on this question but the answer I got is a no. Since those answers are from 2011 so I wonder if the situation has changed or not.
Many Thanks!
P.S. I found a group of apps on App Store which cover the question I asked. It is called DropLocker. They have 14 variants but I guess they use the same code base. I wonder if there is an update, do they push it individually or there is a way to do a multiple app updates at one shot.
For iOS apps, you can create targets in the same app and for each target you can change the appicons, splash screen, theme color etc.
To create target, go to your Project, On Left side, under "TARGETS", you will see, two targets, one with your Project name, other with Test. Right click your project and click "Duplicate". Then you can rename the target. Also rename the target in "Manage Schemes", to avoid confusion later on. Then, you can change the app name seperately for all targets in "info" section. Similarly, you can create a different sets of Appicons and splash screens and use them for different targets. To change theme color, you can define a "Preprocessor Macro" in Build Settings and use it inside your code. You can set the macro's value for different targets.

Open multiple application in single window

In one of requirement I need to develop an application where user can launch two application in separate area of screen.
Say Application A in half of the part of screen and in rest of part other application.
I know this could not be straight way to achieve it, but is there any possibility to build such kind of app/launcher. I checked some of mobile ROM support multi application window support.
Any suggestion to achieve this.
You'd have to have this support done on system level, same way Samsung did for example. W/o this you are out of luck.
this is system level thing unless you make you own customize rom it pretty much impossible to do ,if you want to make customize rom then you will be able to do since its an system level this launcher uses system property to do so.

how to permanently override android soft keys behaviour and display through

I am relatively new to android and want to create an application that permanently overrides androids basic softkey behaviour and view (for devices with soft keys).
Some functionalities I want to implement are changing the size of the softkeys window at the bottom, change its images, and possibly change its functionality.
For example, the user can set the size to of the softkey to be "large", "medium" or "small". And I can change the functionality of the back button to open say a particular application instead of going "back".
I'm basically looking for a high level answer as to how to do this, a basic direction of what I should read/study in order to be able to accomplish this. I realise this may require root access.
Please note that I want this behaviour to change not only in my application but I want the effect to exist on all applications. If this requires the application to be running atleast at the backend, that is fine.
After doing some decent amount of search, it seems I will have to make changes in the systemUI.apk, or possibly get its source code and modify it. Is this correct?
Thanks in advance.
I don't think even root is going to be enough for the type of changes you are describing. You're going to need to edit the Android source code and build your own system image.
Well you can't override system resources because they are part of the system image.
What you are looking for is called Home Application which can be developed like any other android app no need for root , you can find an example for it in your sdk samples.
Home Sample Application.
your app would be responsible to have UI components to send the user to all of the phone functionalities which includes:
Place for wegits
Place for apps listing (menue)
Access telephony functionality (call, phone history ...)
Access settings.

Categories

Resources