Giter Site home page Giter Site logo

zerojim / adw.theme-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from haxzamatic/adw.theme-template

0.0 1.0 0.0 124 KB

Theme template project for eclipse

Home Page: http://www.jbthemes.com/anderweb/

License: Do What The F*ck You Want To Public License

adw.theme-template's Introduction

ADW.Launcher Theme Template v0.3
#################################################

License:
-------------------------------------------------
/* This program is free software. It comes without any warranty, to
 * the extent permitted by applicable law. You can redistribute it
 * and/or modify it under the terms of the Do What The Fuck You Want
 * To Public License, Version 2, as published by Sam Hocevar. See
 * http://sam.zoy.org/wtfpl/COPYING for more details. */

Usage instructions:
-------------------------------------------------
1.-Load the template into eclipse:
	1.a-On eclipse, select new android project
	1.b-On the new project screen, select "Project from existing source" and select the theme template dir.
	1.c-Click finish. 

2.-Modify the app packagename and path (you should change if from x.x.x to your.package.name)
	2.a-On eclipse, look into your project explorer, rightclick the x.x.x package and select "Refactor->Rename..." and follow the instructions.
	2.b-Once refactor is finished, look for lines similar to "import x.x.x.R" inside the java files and delete them.

3.-Editing the AndroidManifest.xml:
	3.a-EDIT ONLY the packagename AND versioncode/versionname to suit your needs.
	3.b-If you remove/change the installLocation param, your theme could not be loaded on boot on froyo phones.
	3.c-If you remove/change the "org.adw.launcher.THEMES" intent filter and/or the "android.intent.category.DEFAULT" category, your theme won't be visible to ADW.Launcher users.
	3.d-This template is preconfigured to NOT show on the application drawer so users don't get bloated with theme icons on their app drawers.
	3.e-Search the line "<provider android:name........"x.x.x.docksProvider" /> and change the "x.x.x" to the packagename from step 2.

4.-Edit the res/values/theme_config.xml to your needs.

5.-Edit the different drawables in there.

6.-You can add CUSTOM ICONS putting them inside the proper drawable directory following this name conventions:
	6.a: LowercaseActivityNameWithUnderscoresInsteadDots.png
	6.b example: "com_android_camera_camera.png" for camera activity (com.android.camera.Camera)
	6.c ecample2: "com_android_browser_browseractivity.png" for internet browser activity (com.android.browser.BrowserActivity)

7.-Rename res/xml/noShader.xml to shader.xml to enable icon shading. See the file for instructions on writing a shader.

8.-To put icons in the ADW Icon pack to be used in ADW.Launcher, just edit the res/values/icon_pack.xml file and add lines like the following one:
        <item>png_finelane_no_extension</item>
        One line per icon to be shown in the icon pack. Use only images, not xml drawables.
        EXAMPLES:
        	res/drawable/icon1.png --> <item>icon1</item>
        	res/drawable-hdpi/my_cool_icon.png --> <item>my_cool_icon</item>
		FULL FILE:
			<?xml version="1.0" encoding="utf-8"?>
			<resources>
			    <string-array name="icon_pack" translatable="false">
			    	<item>icon1</item>
			    	<item>my_cool_icon</item>
			    </string-array>
			</resources>

9.-To use a custom font on your theme, put the TTF file in assets/themefont.ttf.
    Make sure the font is working, some BIG (in filesize) fonts or bad encoded fonts can cause problems.
     		
10.-To put CUSTOM DOCK IMAGES in the ADW Dock pack to be used in ADWLauncher EX, just edit the res/values/dock_pack.xml file and add lines like the following one:
        <item>png_finelane_no_extension</item>
        One line per dock to be shown in the dock pack. Use only IMAGES, not xml drawables.
        EXAMPLES:
        	res/drawable/mycooldock1.png --> <item>mycooldock1</item>
        	res/drawable-hdpi/my_cool_dock_2.png --> <item>my_cool_dock_2</item>
		FULL FILE:
			<?xml version="1.0" encoding="utf-8"?>
			<resources>
			    <string-array name="dock_pack" translatable="false">
			    	<item>mycooldock1</item>
			    	<item>my_cool_dock_2</item>
			    </string-array>
			</resources>

11.-Export the apk from eclipse as every other android app.

adw.theme-template's People

Contributors

anderweb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.