Reputation: 1091
I want to create an app in which I want to change some values like some colors which are located in res/values/colors.xml. I want to create a patch file which will be able to modify my app later.
Basically, I am making an app lock where I want to update the lock screen later with different kind of backgrounds and change the colors of buttons and texts.
For example: See CM AppLock. Where the user is able to download the theme from the play store and install it and the lock screen changes as per the theme.
Upvotes: 1
Views: 2025
Reputation: 3627
The way CM AppLock does it is called "Android Runtime Resource Overlay", aka RRO. Here is a brief Introduction of RRO. The mainstream Android releases have RRO enabled for preinstalled packages(not allowed for downloadable apks). Last I checked the patches for RRO for downloadable apks are still in review. Android O will most likely have this feature. Here is a brief overview of this new feature coming in Android O.
Upvotes: 2