Android-resources-refactoring-tools
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Add a prefix on all your android resources names.
Android Resources Refactoring Tools

This tools can help you to add a prefix on all your android project resources.

Features:
    1). change R.type.your_name to R.type.prefix_your_name
        eg: R.string.app_name to R.string.myprefix_app_name
    
    2). chagne your_name.xml to prefix_your_name.xml
        eg: main_layout.xml to myprefix_main_layout.xml
    
    3). change the name in your xml attribute
        eg: My name to My name
    
    4). change @type/your_name to @type/prefix_your_name
        eg: @drawable/your_image to @drawable/my_prefix_your_image

    5). change your asset's file name from your_name.sth to myprefix_your_name.sth
        eg: README.txt to myprefix_README.txt

How to use:
    1). put add_prefix.py in your workspace folder, eg: ~/workspace/
    2). go to your workspace folder, run add_prefix.py  

Example ( add "myprefix_" on all ApiDemos's resoureces ):
    cp add_prefix.py ~/android_sdk/samples/android-8/
    print "cd ~/android_sdk/samples/android-8/
    print "add_prefix.py ApiDemos myprefix_"

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。