Skip to content

Introduce several main Android application changing skin methods

Notifications You must be signed in to change notification settings

EdisonChang33/SkinManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

SkinManager

Introduce several main Android application changing skin methods

Demo Structure

SkinManager

SkinManager is an Android app which load resource and change skin:

(1) use android theme style

(2) use zip file, manual load and parse the skin resource

(3) use apk file, install the apk with same signature and shareUserId

(4) use apk file, load the apk as a android plugin

skin1

skin1 is a simple android application, has no java file, just resource, loaded by host as plugin

Code in MainActivity.java

switch (v.getId()) {
            case R.id.button:
                intent = new Intent(MainActivity.this, ThemeActivity.class);
                break;
            case R.id.button2:
                intent = new Intent(MainActivity.this, DynamicZipActivity.class);
                break;
            case R.id.button3:
                intent = new Intent(MainActivity.this, ApkShareIdActivity.class);
                break;
            case R.id.button4:
                intent = new Intent(MainActivity.this, ApkPluginActivity.class);
                break;
            default:
                break;
        }

About

Introduce several main Android application changing skin methods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages