[TEMPLATE] Icon Packs/Themes for Apex, Nova, Holo, ADW, and more!!

Search This thread

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
HbbqtMq.png


the1dynasty's
Icon Pack Template Source Code

msTGHui.png



I have had a lot of people trying to make icon packs etc and always asking me about things in mine... So I made a template that I hope everyone would appreciate and use if needed...


Compatible with most launchers including but not limited to:

  • Apex
  • Nova
  • Holo
  • ADW
  • Action
  • and many more...


Easily customizable to your own needs... Heavily commented code for easy understanding... If this helped you, please hit the thanks button :)

This is a great template for anyone to use and if you would like to contribute code or fixes to areas of this template... Please email me at [email protected]


SourceCode

>>> GitHub Link <<<

msTGHui.png


SampleApplication

>>> Playstore Link <<<

NMgqCag.png


msTGHui.png


 
Last edited:

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
Changelog

Changelog​


v2.1.2 - 07/01/2013
  • Fixed Nova & Go Launcher
  • Added working Go Launcher "Apply" button


v2.1.1
  • Added GlassActionBar to the template
  • Removed NOA dependency
  • Slightly tweaked layouts


v2.0.0 - 06/25/2013
  • Removed hardcoded strings. Now better for translations.
  • Custom fonts can now be used throughout the app
  • Cleaned up folders/files/code
  • Changed "Apply" dialog to GridView
  • Added more "Apply" buttons (for future implementation)
  • Fixed Wallpaper section of app
  • Roboto-Thin is now the default font
  • Fixed scaling on top banner across all screen sizes

v1.1.0
  • File restructuring
  • Added Tablet Support
  • Changed code from ListView to GridView
  • Holo Light/Light ActionBar is the default instead of Holo Light/Dark ActionBar
  • Misc new images
  • Added Action Launcher to the Apply dialog

v1.0.1
  • Fixed ADW and Nova intents
  • Fixed a lot of references for various layouts and colors
  • Other Misc things

v1.0.0
  • Initial release
 
Last edited:

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
Tutorial Video/Misc edits

Video and Misc Things YOU can add to this template, submitted by various people... Please be sure to thank them all for their contributions!

png2xml JAR file will create 2 xml files for your icon pack... It generates a "drawable.xml" and a "icon_pack.xml" based on the png's you have in a folder...
simple to use, just download this and place it inside the same folder as your png's... then open a command prompt and cd to that directory... then run the command java -jar png2xml.jar and your files are generated and ready to copy/paste into your theme...

Download png2xml.jar Thanks to Pkmmte for creating this file for us!

Tutorial for setting up this project and making some edits!
Please don't ask about anything that is already discussed in this videos... I will not respond to you :)



Please thank @bagarwa and @unseenvision for their help with this part!

If anyone wants to add Go Launcher support in their theme pack, here's what you gotta do -
Add this line towards the bottom of AndroidManifest.xml, before </activity> -
Code:
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="com.gau.go.launcherex.theme" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>

And place a themecfg.xml in assets folder. Content of the file-
Code:
<?xml version="1.0" encoding="utf-8"?>
<theme>
<version>1</version>
<themeName>Your Theme Name</themeName>
<themeInfo>Your Theme description</themeInfo>
<preview img1="theme_preview1" img2="theme_preview2" />
</theme>
This will provide the 'preview' images to Go theme manager.

I haven't found a way to provide a one tap apply functionality, like those for Nova/Apex etc.. but I'm not bothered about that. It's like wasting time on supporting IE6.


Another thing I found out, if anyone wants to use -
If you want to place a facebook page button on the app, the easiest way is adding this in MainFragment.java -

Code:
Intent facebook = new Intent(Intent.ACTION_VIEW).setData(Uri.parse	
("https://www.facebook.com/YOUR-PAGE-NAME"));
startActivity(facebook);
break;

But problem with this is, tapping on the button then opens the link in browser and not the facebook app. If you want it open in the facebook app, use this instead -
Code:
if(isPackageExists("com.facebook.katana")){
Intent facebook = new Intent(Intent.ACTION_VIEW).setData(Uri.parse
("fb://profile/YOUR-FB-PAGE-ID-NUMBER"));
startActivity(facebook);
}
else{
Intent facebook = new Intent(Intent.ACTION_VIEW).setData(Uri.parse
("https://www.facebook.com/YOUR-PAGE-NAME"));
startActivity(facebook);
}
break;

To get YOUR-FB-PAGE-ID-NUMBER, go to this page - https://graph.facebook.com/<YOUR-PAGE-NAME>

Hope this helps.

And also this part below

(some wording was changed to make sense)
//Solution for full Go Launcher EX Support - Including the ability to apply the theme.



You still need to do the steps in the above part submitted by @bagarwa (Add Intent to Manifest and themecfg.xml to /assests)

but also add the Intent:

Code:
            <intent-filter>
                <category android:name="android.intent.category.INFO" />
            </intent-filter>

So, the full Intent added to your Manifest should be:

Code:
 <!-- Go -->
            <intent-filter>
                <action android:name="com.gau.go.launcherex.theme" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
            <intent-filter>
                <category android:name="android.intent.category.INFO" />
            </intent-filter>

In addition to this:

1. Add these two XMLs to /assets


  • app_func_theme.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Theme version="1">

<Home bg_color="#FF0F0A00" 
	bg_frame_way_of_drawing="" 
	bg_v_image="dock" 
	bg_h_image="none" 
	bg_way_of_drawing="1" 
	unselected="appfunchome" 
	selected="appfunchome_selected" 
	home_deliver_line_v="appfunc_home_deliver_line_v" 
	home_deliver_line_h="none"/>

<Folder bg_frame_image="folderopenback" 
	bg_frame_way_of_drawing="1" 
	editbox="appfunc_rename" 
	up_button="folder_add" 
	up_button_selected="folder_add_light" 
	line_enabled="1" 
	folder_open_bg_color="#7F000000" 
	bg_frame_image_bottom_heigth="36" 
	edittext_color="#FFFFFF" 
	sort_button="folder_short_btn" 
	sort_button_light="folder_short_btn_light" 
	add_buton="folder_add" 
	add_button_light="folder_add_light"/>
	
<Wallpaper image="funbg" bg_color="#00000000"/>

<Indicator indicator_h_current="screennow" indicator_h="screenother"/>

<Foldericon bottom="appfunc_folderback" top_open="appfunc_folder_open" top_closed="appfunc_folder_close_up"/>

<AllTabs bg_v_image="tabbg" bg_h_image="none" bg_way_of_drawing="1"/>

<Tab bg_frame_way_of_drawing="" 
	bg_v_image="none" 
	bg_h_image="none" 
	bg_way_of_drawing="2" 
	selected_v_image="appfunc_tab_current_v" 
	selected_h_image="none" 
	selected_way_of_drawing="2" 
	focused_v_image="appfunc_tab_focused_v" 
	focused_h_image="none" 
	focused_way_of_drawing="2" 
	cutLine_enabled="0" 
	orientation_enabled="1"/>
	
<TabTitle unselected="#ffcccccc" selected="#ffffffff" gap_v="19" gap_h="40"/>
	
<RuningDock home_memory_bg="appfunc_memory_bg" 
	home_memory_process_low="appfunc_memory_low" 
	home_memory_process_middle="appfunc_memory_middle" 
	home_memory_process_high="appfunc_memory_high" 
	home_clean_normal="appfunc_home_runing_clear" 
	home_clean_light="appfunc_home_runing_clear_ligh" 
	home_lock_list_normal="appfunc_home_runing_lock_list" 
	home_lock_list_light="appfunc_home_runing_lock_list_light" 
	home_line_img_v="appfunc_home_deliver_line_v" 
	home_line_img_h="appfunc_home_deliver_line_h" 
	home_running_text_color="#FFFFFFFF"/>

<AllAppDock search_unselected="appfunc_home_search" 
	search_selected="appfunc_home_search_light" 
	menu_unselected="appfunc_home_menu" 
	menu_selected="appfunc_home_menu_light" 
	home_myapp="appfunc_home_my_apps" 
	home_myapp_light="appfunc_home_my_apps_light" 
	home_media_unselected="appfunc_mediamanagement_switch_button_app" 
	home_media_selected="appfunc_mediamanagement_switch_button_app_light"/>

<RecentDock home_recent_clear="appfunc_home_clear" 
	home_recent_clear_selected="appfunc_home_clear_light" 
	home_recent_nodata_Bg="appfunc_recent_nodata_bg" 
	home_recent_nodata_text_color="#ffcccccc"/>

<AllAppMenu menu_bg_v="appfunc_menu_bg_v" 
	menu_bg_h="none" 
	menu_divider_v="appfunc_menu_line" 
	menu_divider_h="none" 
	menu_text_color="#000000" 
	menu_item_selected="appfunc_menu_item_selector"/>

<AppIcon text_color="#ffffffff" 
	text_bg_color="#FFAC00" 
	delete_app="kill" 
	delete_app_highlight="kill_light" 
	new_app_icon="new_install_app" 
	update_icon="appfunc_app_update" 
	locker_icon="promanage_lock_icon" 
	close_app_icon="promanage_close_normal" 
	close_app_light="promanage_close_light"/>

<AppSetting grid_format="1"/>

<TabIcon name="AllApps" current="allapp_current_focuse" unselected="allapp" selected="allapp_selected"/>

<TabIcon name="Process" current="run_current_focuse" unselected="run" selected="run_selected"/>

<TabIcon name="RecentApps" current="history_current_focuse" unselected="history" selected="history_selected"/>

<SwitchButtonBean button_galleryicon="appfunc_mediamanagement_switch_button_gallery" 
	button_gallerylighticon="appfunc_mediamanagement_switch_button_gallery_light" 
	button_musicicon="appfunc_mediamanagement_switch_button_music" 
	button_musiclighticon="appfunc_mediamanagement_switch_button_music_light" 
	button_videoicon="appfunc_mediamanagement_switch_button_video" 
	button_videolighticon="appfunc_mediamanagement_switch_button_video_light" 
	button_appicon="appfunc_mediamanagement_switch_button_app" 
	button_appiconlight="appfunc_mediamanagement_switch_button_app_light"/>

<SwitchMenuBean media_menu_bg_v="appfunc_mediamanagement_switch_menu_bg" 
	media_menu_bg_h="none" 
	media_menu_divider_v="appfunc_menu_line" 
	media_menu_divider_h="none" 
	media_menu_item_gallery_selector="switch_menu_image_selector" 
	item_gallery_normal="appfunc_mediamanagement_switch_menu_gallery" 
	item_gallery_focus="appfunc_mediamanagement_switch_menu_gallery_light" 
	media_menu_item_music_selector="switch_menu_audio_selector" 
	item_music_normal="appfunc_mediamanagement_switch_menu_music" 
	media_menu_item_video_selector="switch_menu_video_selector" 
	item_video_normal="appfunc_mediamanagement_switch_menu_video" 
	item_video_focus="appfunc_mediamanagement_switch_menu_video_light" 
	media_menu_item_app_selector="switch_menu_app_selector" 
	item_app_normal="appfunc_mediamanagement_switch_menu_app" 
	item_music_focus="appfunc_mediamanagement_switch_menu_music_light" 
	item_app_focus="appfunc_mediamanagement_switch_menu_app_light" 
	media_menu_text_color="#ffffffff"/>

</Theme>

  • desk.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<Desk Version="1.0" VersionCode="1" Wallpaper="default_wallpaper" ScollWallpaper="false" WallpaperFill="0">

<CommonStyles>
	<IconStyle>
		<Layer Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}"/>
		<ShowItemLayer Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}">
			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</ShowItemLayer>
		<ShowItemLayer Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}">
			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</ShowItemLayer>
	</IconStyle>
</CommonStyles>

<Screen Source="screen.xml">
	<ScreenStyles>
		<ScreenIconStyle Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}" ShowLightMode="1" TextValign="" TextHalign="">
			<Wallpaper Image="application_background" Identity="Text_bg" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</ScreenIconStyle>
		<FolderStyle>
			<Wallpaper Image="appfunc_folderback" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			<Wallpaper Image="appfunc_folder_open" Identity="OpenFolder" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			<Wallpaper Image="appfunc_folder_close_up" Identity="ColseFolder" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</FolderStyle>
		<Light Size="" Image="" Color=""/>
		<TrashStyle Color="">
			<Trashing Image="d_del" Valign="" Halign="" Margins="{1,1,0,0}">
				<Wallpaper Image="trash_bg_normal" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			</Trashing>
			<Trashed Image="del" Valign="" Halign="" Margins="{1,1,0,0}">
				<Wallpaper Image="trash_bg_hover" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			</Trashed>
		</TrashStyle>
		<Font Size="" Color=""/>
	</ScreenStyles>
</Screen>

<Indicator Source="indicator.xml">
	<IndicatorStyles ShowMode="1" WhenScreenCount="">
		<IndicatorItem Height="24" Width="24" Identity="Dots" Margins="{1,1,0,0}">
			<Wallpaper Image="screennow" Identity="Selected" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			<Wallpaper Image="screenother" Identity="UnSelected" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</IndicatorItem>
		<IndicatorItem Height="" Width="" Identity="Slide" Margins="{1,1,0,0}">
			<Wallpaper Image="screennow" Identity="Selected" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</IndicatorItem>
	</IndicatorStyles>
</Indicator>

<Preview Source="preview.xml">
	<PreviewStyles LineItemCount="3">
		<Wallpaper Image="preview_home_btn_focus" Identity="Home" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
		<Wallpaper Image="preview_home_btn" Identity="NotHome" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
		<Wallpaper Image="preview_del_btn_focus" Identity="Colseing" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
		<Wallpaper Image="preview_del_btn" Identity="Colsed" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
		<Card Identity="CurrentScreen">
			<Item Id="" Text="">
				<Wallpaper Image="preview_border_current" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
			</Item>
		</Card>
		<Card Identity="NomalScreen">
			<Item Id="" Text="">
				<Wallpaper Image="preview_border" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
			</Item>
		</Card>
		<Card Identity="AddScreen">
			<Item Id="" Text="">
				<Wallpaper Image="preview_addscreen" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
			</Item>
		</Card>
		<Card Identity="FocusScreen">
			<Item Id="" Text="">
				<Wallpaper Image="preview_border_focus" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
			</Item>
		</Card>
		<Card Identity="FocusAddScreen">
			<Item Id="" Text="">
				<Wallpaper Image="preview_addscreen_focus" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
			</Item>
		</Card>
		<Card Identity="DeleteScreen">
			<Item Id="" Text="">
				<Wallpaper Image="preview_deletescreen" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
			</Item>
		</Card>
	</PreviewStyles>
</Preview>

<Dock Source="dock.xml">
	<DockSetting RowCount="2" IsBackground="true" Background="dock" BackgroundFill="1"/>
	<Notifys>
		<NotifyItem Value="true" Key="SMS" KeyWord=".SMS"/>
		<NotifyItem Value="true" Key="CALL" KeyWord=".CALL"/>
		<NotifyItem Value="true" Key="GMAIL" KeyWord=".GMAIL"/>
	</Notifys>
	<DockStyles Height="" Width="" Color="#FFFF9710" LineItemCount="5">
		<DockIconStyle Height="" Width="" Valign="" Halign="" Margins="{0,1,0,0}"/>
		<SymtemDefualt>
			<SymtemDockItem Index="0" GestureIntent="">
				<Wallpaper Image="phone" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			</SymtemDockItem>
			<SymtemDockItem Index="1" GestureIntent="">
				<Wallpaper Image="contacts" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			</SymtemDockItem>
			<SymtemDockItem Index="2" GestureIntent="">
				<Wallpaper Image="d_home" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			</SymtemDockItem>
			<SymtemDockItem Index="3" GestureIntent="">
				<Wallpaper Image="messaging" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			</SymtemDockItem>
			<SymtemDockItem Index="4" GestureIntent="">
				<Wallpaper Image="browser" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
			</SymtemDockItem>
		</SymtemDefualt>
		<NoApplicationIcon GestureIntent="">
			<Wallpaper Image="d_add" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</NoApplicationIcon>
		<NullIcon GestureIntent="">
			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</NullIcon>
		<NotifyStyle Valign="" Halign="" Margins="{1,1,0,0}" TextValign="" TextHalign="">
			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
		</NotifyStyle>
	</DockStyles>
</Dock>

<GlMenu Column="" Row="" Identity="desk" TextColor="#ff404040" SelectTextColor="#ff51b801" UnselectTextColor="#ff919192">
	<Wallpaper Image="glmenu_bg" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	<Wallpaper Image="menu_selected" Identity="ItemBackground" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	<Wallpaper Image="glmenu_select_topline" Identity="SelectTabLine" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	<Wallpaper Image="glmenu_unselect_topline" Identity="UnSelectTabLine" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	<Wallpaper Image="glmenu_item_line" Identity="Itemline" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	<Item Id="100" Text="">
		<Wallpaper Image="menuitem_add" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="101" Text="">
		<Wallpaper Image="menuitem_wallpaper" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="102" Text="">
		<Wallpaper Image="menuitem_theme" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="103" Text="">
		<Wallpaper Image="menuitem_gostore" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="104" Text="">
		<Wallpaper Image="menuitem_screenedit" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="105" Text="">
		<Wallpaper Image="menuitem_preference" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="106" Text="">
		<Wallpaper Image="menuitem_syssetting" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="107" Text="">
		<Wallpaper Image="menuitem_effect" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="108" Text="">
		<Wallpaper Image="menuitem_golocker" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="109" Text="">
		<Wallpaper Image="menuitem_gowidget" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="110" Text="">
		<Wallpaper Image="menuitem_notification" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="111" Text="">
		<Wallpaper Image="menuitem_language" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="112" Text="">
		<Wallpaper Image="menuitem_update" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="113" Text="">
		<Wallpaper Image="menuitem_share" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="114" Text="">
		<Wallpaper Image="menuitem_grade" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="115" Text="">
		<Wallpaper Image="menuitem_fb" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="116" Text="">
		<Wallpaper Image="menuitem_restart" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="117" Text="">
		<Wallpaper Image="menuitem_notificationbar" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="118" Text="">
		<Wallpaper Image="menuitem_desklock" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="119" Text="">
		<Wallpaper Image="menuitem_deskunlock" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="120" Text="">
		<Wallpaper Image="menuitem_message" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="121" Text="">
		<Wallpaper Image="menuitem_gobackup" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="124" Text="">
		<Wallpaper Image="menuitem_gohandbook" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="130" Text="">
		<Wallpaper Image="menuitem_appcenter" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
	<Item Id="131" Text="">
		<Wallpaper Image="menuitem_gamezone" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
	</Item>
</GlMenu>

</Desk>



2. Add the following to your strings.xml

Code:
<bool name="config_iconpack">true</bool>
<bool name="enableIconPack">true</bool>
<bool name="enableDockPack">false</bool>

and

Code:
<string name="theme_title">THEME_NAME_HERE</string>



That's it. Everything should work now.





Want your app to show fullscreen by removing the StatusBar? follow these steps below and be sure to thank @brainscollector for his help on this!
Hello there :)

Well, if someone like me - don't like notification bar in (these ugly status bar on top of application) follow me !


So, first, just in case backup your "src" folder from main folder. Now open your notepad++ (don't use normal notepad, it will make you look more geeky now) and open those files:

src/gridview/Main.java
src/your/icon/pack/name/Icons.java
src/your/icon/pack/name/Wallaper.java
src/your/icon/pack/name/AboutThemeActivity.java

and add to each:

Code:
import android.view.WindowManager;
import android.view.Window;

under package gridview;

so it would look like (example from Main.java):

Code:
package gridview;

/** 
 ** Some lines may be off a few numbers
 ** Just be sure you're in the general area
 **/

import com.xynapse.origami.theme.R;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Bundle;
[B]import android.view.WindowManager;
import android.view.Window;[/B]

import com.actionbarsherlock.app.SherlockFragmentActivity;

import fragments.MainFragment;

Now add:

Code:
            requestWindowFeature(Window.FEATURE_NO_TITLE);
            getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
            WindowManager.LayoutParams.FLAG_FULLSCREEN);

under:

in Main.java - protected void onCreate(Bundle savedInstanceState) {
in Icons.java - public void onCreate(Bundle savedInstanceState) {
in Wallpaper.java - public void onCreate(Bundle icicle) {
in AboutThemeActivity.java - public void onCreate(Bundle savedInstanceState) {

so it would be between listed above and super.onCreate
example from Main.java:

Code:
  [user=439709]@override[/user]
	protected void onCreate(Bundle savedInstanceState) {
[B]	 requestWindowFeature(Window.FEATURE_NO_TITLE);
	 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
	 WindowManager.LayoutParams.FLAG_FULLSCREEN); [/B]
		super.onCreate(savedInstanceState);
		setContentView(R.layout.gridview_main);
		
		getSupportFragmentManager().beginTransaction()
		.replace(R.id.container, new MainFragment())
		.commit();
	}

and that's it :)

now you can enjoy full screen feel
 
Last edited:

_Sofos_

Senior Member
Sep 9, 2011
1,526
1,236
Thessaloniki
Very handy, thank you for sharing.

Στάλθηκε από το GT-I9100 μου χρησιμοποιώντας Tapatalk 2
 

inazr

Senior Member
Mar 31, 2010
60
107
Bonn
I got an error when using

Code:
<activity 
            android:name="activities.AboutDev"
            android:theme="@style/Theme.Sherlock.Dialog" >
        </activity>

in the manifest, but

Code:
<activity 
            android:name="activities.AboutDev"
            android:theme="@style/Theme.Dialog" >
        </activity>

is working.

Is it because of

http://stackoverflow.com/questions/...-matches-the-given-name-theme-sherlock-dialog

https://github.com/JakeWharton/ActionBarSherlock/commit/601bde214b56b8fad0b4fc5aaed5af0b531b6135

or did I made something wrong? :)
 
  • Like
Reactions: the1dynasty

rinjani88

Member
Mar 5, 2013
41
2
Mataram
Thanks for sharing this and I hope I can understand yr instruction completely cos I'm newbie:thumbup::thumbup::thumbup:

Sent from my ST21i
 

manic_nimrod

Senior Member
Aug 30, 2010
154
256
Edit 6:

Giving up on getting this to work. Once I fix something, more errors appear, and now when I try to run it on my device it crashes.

I think it's something todo with my mac, so I don't know.
 
Last edited:
  • Like
Reactions: besu_ionut

gonza28

Senior Member
Jun 5, 2012
258
217
Buenos Aires
Thanks for the project friend.
appreciate one estructivo, yet I see that the post is still under construction. I would like to show the multiple errors that occur when opening the project. is excellent work. thanks for helping those who do not fully understand. a hug.
sorry. my English is not good.

DcmkhNS.png
 

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
I see some people are having issues with ABS and styles/themes for it... not sure the issue here but when i find out what happened and why they're not working properly, i'll try to update everything needed for it to work... i might end up just adding his library directly to mine to avoid some issues... but that's a lot of work for me to do and i'm not entirely experienced with adding a library to a project directly instead of having it as a dependency!

I got an error when using

Code:
<activity 
            android:name="activities.AboutDev"
            android:theme="@style/Theme.Sherlock.Dialog" >
        </activity>

in the manifest, but

Code:
<activity 
            android:name="activities.AboutDev"
            android:theme="@style/Theme.Dialog" >
        </activity>

is working.

Is it because of

http://stackoverflow.com/questions/...-matches-the-given-name-theme-sherlock-dialog

https://github.com/JakeWharton/ActionBarSherlock/commit/601bde214b56b8fad0b4fc5aaed5af0b531b6135

or did I made something wrong? :)

that code will work also... but as far as i know, its only compatible with API 11 and newer... the reason for ABS added was for back compatibility ... If you don't mind not being able to use on older devices... then don't worry about using ABS specific code...
 

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
For those of you who do NOT care/want back compatibility, with API 10 (Gingerbread) and lower... you can remove ABS and all its references from this code and it will work fine... the errors seem to be from that library, which is strange because it worked fine for me... I'm gonna have to see what i did to fix it!
 

manic_nimrod

Senior Member
Aug 30, 2010
154
256
I've just installed Eclipse and all that onto a windows laptop, opening the template and linking the ABS still creates many errors and it also isn't building the R.Java file.
 

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
Thanks for the project friend.
appreciate one estructivo, yet I see that the post is still under construction. I would like to show the multiple errors that occur when opening the project. is excellent work. thanks for helping those who do not fully understand. a hug.
sorry. my English is not good.

DcmkhNS.png

you look like you skipped Step 2...
 

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
i think i found the root of some of these issues... was checking the changelog for ABS...

Code:
[B][U]Version 4.3.0 (2013-04-15)[/U][/B]

New: FEST module for testing ActionBarSherlock classes.
New: i18n module for including internationalized strings used by actionbar.
[B][I][COLOR="Red"]Removed dialog themes.[/COLOR][/I][/B]
Fix: SearchView suggestions now work properly.
Fix: Prevent rare NPE when restoring state on pre-Honeycomb devices.
Fix: Correct behavior of IcsColorDrawable's setAlpha method.
Fix: Handle cases where Locale.ROOT is not present on pre-Honeycomb.
Fix: Correct tab measurement edge-case on pre-Honeycomb.
Use custom Toast layout to ensure consistent look and feel.
Fix: Prevent monkey runners from uselessly crashing.
Fix: Do not hold on to old menu items after a call to invalidateOptionsMenu.
Fix: Ensure ShareActionProvider works when only one intent is available.
Fix: Scroll list navigation to the selected item when opened.

seems that he removed the themes that i used for the dialogs on my template... i'll have to import those directly into my template so nobody will have that issue with using the latest ABS library...
 
  • Like
Reactions: PDo27789

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
ok everyone... i figured it out... he removed quite a bit from his ABS library... looks like he originally had another library imported as well and he removed those references too... silly Jake... i'm updating the necessary files along with some other changes... you can update your template with the files missing AND also his NineOldAndroids library... https://github.com/JakeWharton/NineOldAndroids adding that library alone might fix the issues... but since he removed some references to the dialog in styles/themes, i had to add those to the template as well... so just doing that might not get all the bugs!
 

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
OK everyone... I've updated the necessary files on GitHub... Please check those out... its only a few files in res>values and i think like one in res>layout... also added info to the README file for including NineOldAndroids library... link is above as well as in the README... I hope that fixes everyone's issue... Sorry about that, i didn't realize the ABS library was updated and some files i was using, removed from that library...
 

the1dynasty

Senior Member
Dec 16, 2011
4,336
3,162
sorry guys, i'm super new to GitHub and i'm finding it increasingly hard to do something as simple as removing a file from the code or even adding simple images... so when you import this updated library, you will need to delete the abs__styles.xml from the res>values folder... you will also need to add these two attached images to your res>drawable-xhdpi folder...

sorry for the mess... maybe someone that actually knows how to use GitHub can help me out here?! thanks in advance
 

Attachments

  • abs__dialog_full_holo_dark.9.png
    abs__dialog_full_holo_dark.9.png
    2.1 KB · Views: 574
  • abs__dialog_full_holo_light.9.png
    abs__dialog_full_holo_light.9.png
    2.2 KB · Views: 565

manic_nimrod

Senior Member
Aug 30, 2010
154
256
sorry guys, i'm super new to GitHub and i'm finding it increasingly hard to do something as simple as removing a file from the code or even adding simple images... so when you import this updated library, you will need to delete the abs__styles.xml from the res>values folder... you will also need to add these two attached images to your res>drawable-xhdpi folder...

sorry for the mess... maybe someone that actually knows how to use GitHub can help me out here?! thanks in advance

Removing abs_styles.xml causes errors in the Android_manifest file. If I go to remove the stuff linking into abs_styles then that creates more errors. :/
 

Top Liked Posts

  • There are no posts matching your filters.
  • 115
    HbbqtMq.png


    the1dynasty's
    Icon Pack Template Source Code

    msTGHui.png



    I have had a lot of people trying to make icon packs etc and always asking me about things in mine... So I made a template that I hope everyone would appreciate and use if needed...


    Compatible with most launchers including but not limited to:

    • Apex
    • Nova
    • Holo
    • ADW
    • Action
    • and many more...


    Easily customizable to your own needs... Heavily commented code for easy understanding... If this helped you, please hit the thanks button :)

    This is a great template for anyone to use and if you would like to contribute code or fixes to areas of this template... Please email me at [email protected]


    SourceCode

    >>> GitHub Link <<<

    msTGHui.png


    SampleApplication

    >>> Playstore Link <<<

    NMgqCag.png


    msTGHui.png


    34
    Tutorial Video/Misc edits

    Video and Misc Things YOU can add to this template, submitted by various people... Please be sure to thank them all for their contributions!

    png2xml JAR file will create 2 xml files for your icon pack... It generates a "drawable.xml" and a "icon_pack.xml" based on the png's you have in a folder...
    simple to use, just download this and place it inside the same folder as your png's... then open a command prompt and cd to that directory... then run the command java -jar png2xml.jar and your files are generated and ready to copy/paste into your theme...

    Download png2xml.jar Thanks to Pkmmte for creating this file for us!

    Tutorial for setting up this project and making some edits!
    Please don't ask about anything that is already discussed in this videos... I will not respond to you :)



    Please thank @bagarwa and @unseenvision for their help with this part!

    If anyone wants to add Go Launcher support in their theme pack, here's what you gotta do -
    Add this line towards the bottom of AndroidManifest.xml, before </activity> -
    Code:
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <action android:name="com.gau.go.launcherex.theme" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>

    And place a themecfg.xml in assets folder. Content of the file-
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <theme>
    <version>1</version>
    <themeName>Your Theme Name</themeName>
    <themeInfo>Your Theme description</themeInfo>
    <preview img1="theme_preview1" img2="theme_preview2" />
    </theme>
    This will provide the 'preview' images to Go theme manager.

    I haven't found a way to provide a one tap apply functionality, like those for Nova/Apex etc.. but I'm not bothered about that. It's like wasting time on supporting IE6.


    Another thing I found out, if anyone wants to use -
    If you want to place a facebook page button on the app, the easiest way is adding this in MainFragment.java -

    Code:
    Intent facebook = new Intent(Intent.ACTION_VIEW).setData(Uri.parse	
    ("https://www.facebook.com/YOUR-PAGE-NAME"));
    startActivity(facebook);
    break;

    But problem with this is, tapping on the button then opens the link in browser and not the facebook app. If you want it open in the facebook app, use this instead -
    Code:
    if(isPackageExists("com.facebook.katana")){
    Intent facebook = new Intent(Intent.ACTION_VIEW).setData(Uri.parse
    ("fb://profile/YOUR-FB-PAGE-ID-NUMBER"));
    startActivity(facebook);
    }
    else{
    Intent facebook = new Intent(Intent.ACTION_VIEW).setData(Uri.parse
    ("https://www.facebook.com/YOUR-PAGE-NAME"));
    startActivity(facebook);
    }
    break;

    To get YOUR-FB-PAGE-ID-NUMBER, go to this page - https://graph.facebook.com/<YOUR-PAGE-NAME>

    Hope this helps.

    And also this part below

    (some wording was changed to make sense)
    //Solution for full Go Launcher EX Support - Including the ability to apply the theme.



    You still need to do the steps in the above part submitted by @bagarwa (Add Intent to Manifest and themecfg.xml to /assests)

    but also add the Intent:

    Code:
                <intent-filter>
                    <category android:name="android.intent.category.INFO" />
                </intent-filter>

    So, the full Intent added to your Manifest should be:

    Code:
     <!-- Go -->
                <intent-filter>
                    <action android:name="com.gau.go.launcherex.theme" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
                <intent-filter>
                    <category android:name="android.intent.category.INFO" />
                </intent-filter>

    In addition to this:

    1. Add these two XMLs to /assets


    • app_func_theme.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <Theme version="1">
    
    <Home bg_color="#FF0F0A00" 
    	bg_frame_way_of_drawing="" 
    	bg_v_image="dock" 
    	bg_h_image="none" 
    	bg_way_of_drawing="1" 
    	unselected="appfunchome" 
    	selected="appfunchome_selected" 
    	home_deliver_line_v="appfunc_home_deliver_line_v" 
    	home_deliver_line_h="none"/>
    
    <Folder bg_frame_image="folderopenback" 
    	bg_frame_way_of_drawing="1" 
    	editbox="appfunc_rename" 
    	up_button="folder_add" 
    	up_button_selected="folder_add_light" 
    	line_enabled="1" 
    	folder_open_bg_color="#7F000000" 
    	bg_frame_image_bottom_heigth="36" 
    	edittext_color="#FFFFFF" 
    	sort_button="folder_short_btn" 
    	sort_button_light="folder_short_btn_light" 
    	add_buton="folder_add" 
    	add_button_light="folder_add_light"/>
    	
    <Wallpaper image="funbg" bg_color="#00000000"/>
    
    <Indicator indicator_h_current="screennow" indicator_h="screenother"/>
    
    <Foldericon bottom="appfunc_folderback" top_open="appfunc_folder_open" top_closed="appfunc_folder_close_up"/>
    
    <AllTabs bg_v_image="tabbg" bg_h_image="none" bg_way_of_drawing="1"/>
    
    <Tab bg_frame_way_of_drawing="" 
    	bg_v_image="none" 
    	bg_h_image="none" 
    	bg_way_of_drawing="2" 
    	selected_v_image="appfunc_tab_current_v" 
    	selected_h_image="none" 
    	selected_way_of_drawing="2" 
    	focused_v_image="appfunc_tab_focused_v" 
    	focused_h_image="none" 
    	focused_way_of_drawing="2" 
    	cutLine_enabled="0" 
    	orientation_enabled="1"/>
    	
    <TabTitle unselected="#ffcccccc" selected="#ffffffff" gap_v="19" gap_h="40"/>
    	
    <RuningDock home_memory_bg="appfunc_memory_bg" 
    	home_memory_process_low="appfunc_memory_low" 
    	home_memory_process_middle="appfunc_memory_middle" 
    	home_memory_process_high="appfunc_memory_high" 
    	home_clean_normal="appfunc_home_runing_clear" 
    	home_clean_light="appfunc_home_runing_clear_ligh" 
    	home_lock_list_normal="appfunc_home_runing_lock_list" 
    	home_lock_list_light="appfunc_home_runing_lock_list_light" 
    	home_line_img_v="appfunc_home_deliver_line_v" 
    	home_line_img_h="appfunc_home_deliver_line_h" 
    	home_running_text_color="#FFFFFFFF"/>
    
    <AllAppDock search_unselected="appfunc_home_search" 
    	search_selected="appfunc_home_search_light" 
    	menu_unselected="appfunc_home_menu" 
    	menu_selected="appfunc_home_menu_light" 
    	home_myapp="appfunc_home_my_apps" 
    	home_myapp_light="appfunc_home_my_apps_light" 
    	home_media_unselected="appfunc_mediamanagement_switch_button_app" 
    	home_media_selected="appfunc_mediamanagement_switch_button_app_light"/>
    
    <RecentDock home_recent_clear="appfunc_home_clear" 
    	home_recent_clear_selected="appfunc_home_clear_light" 
    	home_recent_nodata_Bg="appfunc_recent_nodata_bg" 
    	home_recent_nodata_text_color="#ffcccccc"/>
    
    <AllAppMenu menu_bg_v="appfunc_menu_bg_v" 
    	menu_bg_h="none" 
    	menu_divider_v="appfunc_menu_line" 
    	menu_divider_h="none" 
    	menu_text_color="#000000" 
    	menu_item_selected="appfunc_menu_item_selector"/>
    
    <AppIcon text_color="#ffffffff" 
    	text_bg_color="#FFAC00" 
    	delete_app="kill" 
    	delete_app_highlight="kill_light" 
    	new_app_icon="new_install_app" 
    	update_icon="appfunc_app_update" 
    	locker_icon="promanage_lock_icon" 
    	close_app_icon="promanage_close_normal" 
    	close_app_light="promanage_close_light"/>
    
    <AppSetting grid_format="1"/>
    
    <TabIcon name="AllApps" current="allapp_current_focuse" unselected="allapp" selected="allapp_selected"/>
    
    <TabIcon name="Process" current="run_current_focuse" unselected="run" selected="run_selected"/>
    
    <TabIcon name="RecentApps" current="history_current_focuse" unselected="history" selected="history_selected"/>
    
    <SwitchButtonBean button_galleryicon="appfunc_mediamanagement_switch_button_gallery" 
    	button_gallerylighticon="appfunc_mediamanagement_switch_button_gallery_light" 
    	button_musicicon="appfunc_mediamanagement_switch_button_music" 
    	button_musiclighticon="appfunc_mediamanagement_switch_button_music_light" 
    	button_videoicon="appfunc_mediamanagement_switch_button_video" 
    	button_videolighticon="appfunc_mediamanagement_switch_button_video_light" 
    	button_appicon="appfunc_mediamanagement_switch_button_app" 
    	button_appiconlight="appfunc_mediamanagement_switch_button_app_light"/>
    
    <SwitchMenuBean media_menu_bg_v="appfunc_mediamanagement_switch_menu_bg" 
    	media_menu_bg_h="none" 
    	media_menu_divider_v="appfunc_menu_line" 
    	media_menu_divider_h="none" 
    	media_menu_item_gallery_selector="switch_menu_image_selector" 
    	item_gallery_normal="appfunc_mediamanagement_switch_menu_gallery" 
    	item_gallery_focus="appfunc_mediamanagement_switch_menu_gallery_light" 
    	media_menu_item_music_selector="switch_menu_audio_selector" 
    	item_music_normal="appfunc_mediamanagement_switch_menu_music" 
    	media_menu_item_video_selector="switch_menu_video_selector" 
    	item_video_normal="appfunc_mediamanagement_switch_menu_video" 
    	item_video_focus="appfunc_mediamanagement_switch_menu_video_light" 
    	media_menu_item_app_selector="switch_menu_app_selector" 
    	item_app_normal="appfunc_mediamanagement_switch_menu_app" 
    	item_music_focus="appfunc_mediamanagement_switch_menu_music_light" 
    	item_app_focus="appfunc_mediamanagement_switch_menu_app_light" 
    	media_menu_text_color="#ffffffff"/>
    
    </Theme>

    • desk.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <Desk Version="1.0" VersionCode="1" Wallpaper="default_wallpaper" ScollWallpaper="false" WallpaperFill="0">
    
    <CommonStyles>
    	<IconStyle>
    		<Layer Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}"/>
    		<ShowItemLayer Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}">
    			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</ShowItemLayer>
    		<ShowItemLayer Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}">
    			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</ShowItemLayer>
    	</IconStyle>
    </CommonStyles>
    
    <Screen Source="screen.xml">
    	<ScreenStyles>
    		<ScreenIconStyle Height="" Width="" Valign="" Halign="" Margins="{1,1,0,0}" ShowLightMode="1" TextValign="" TextHalign="">
    			<Wallpaper Image="application_background" Identity="Text_bg" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</ScreenIconStyle>
    		<FolderStyle>
    			<Wallpaper Image="appfunc_folderback" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			<Wallpaper Image="appfunc_folder_open" Identity="OpenFolder" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			<Wallpaper Image="appfunc_folder_close_up" Identity="ColseFolder" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</FolderStyle>
    		<Light Size="" Image="" Color=""/>
    		<TrashStyle Color="">
    			<Trashing Image="d_del" Valign="" Halign="" Margins="{1,1,0,0}">
    				<Wallpaper Image="trash_bg_normal" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			</Trashing>
    			<Trashed Image="del" Valign="" Halign="" Margins="{1,1,0,0}">
    				<Wallpaper Image="trash_bg_hover" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			</Trashed>
    		</TrashStyle>
    		<Font Size="" Color=""/>
    	</ScreenStyles>
    </Screen>
    
    <Indicator Source="indicator.xml">
    	<IndicatorStyles ShowMode="1" WhenScreenCount="">
    		<IndicatorItem Height="24" Width="24" Identity="Dots" Margins="{1,1,0,0}">
    			<Wallpaper Image="screennow" Identity="Selected" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			<Wallpaper Image="screenother" Identity="UnSelected" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</IndicatorItem>
    		<IndicatorItem Height="" Width="" Identity="Slide" Margins="{1,1,0,0}">
    			<Wallpaper Image="screennow" Identity="Selected" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</IndicatorItem>
    	</IndicatorStyles>
    </Indicator>
    
    <Preview Source="preview.xml">
    	<PreviewStyles LineItemCount="3">
    		<Wallpaper Image="preview_home_btn_focus" Identity="Home" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    		<Wallpaper Image="preview_home_btn" Identity="NotHome" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    		<Wallpaper Image="preview_del_btn_focus" Identity="Colseing" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    		<Wallpaper Image="preview_del_btn" Identity="Colsed" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    		<Card Identity="CurrentScreen">
    			<Item Id="" Text="">
    				<Wallpaper Image="preview_border_current" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    			</Item>
    		</Card>
    		<Card Identity="NomalScreen">
    			<Item Id="" Text="">
    				<Wallpaper Image="preview_border" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    			</Item>
    		</Card>
    		<Card Identity="AddScreen">
    			<Item Id="" Text="">
    				<Wallpaper Image="preview_addscreen" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    			</Item>
    		</Card>
    		<Card Identity="FocusScreen">
    			<Item Id="" Text="">
    				<Wallpaper Image="preview_border_focus" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    			</Item>
    		</Card>
    		<Card Identity="FocusAddScreen">
    			<Item Id="" Text="">
    				<Wallpaper Image="preview_addscreen_focus" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    			</Item>
    		</Card>
    		<Card Identity="DeleteScreen">
    			<Item Id="" Text="">
    				<Wallpaper Image="preview_deletescreen" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    			</Item>
    		</Card>
    	</PreviewStyles>
    </Preview>
    
    <Dock Source="dock.xml">
    	<DockSetting RowCount="2" IsBackground="true" Background="dock" BackgroundFill="1"/>
    	<Notifys>
    		<NotifyItem Value="true" Key="SMS" KeyWord=".SMS"/>
    		<NotifyItem Value="true" Key="CALL" KeyWord=".CALL"/>
    		<NotifyItem Value="true" Key="GMAIL" KeyWord=".GMAIL"/>
    	</Notifys>
    	<DockStyles Height="" Width="" Color="#FFFF9710" LineItemCount="5">
    		<DockIconStyle Height="" Width="" Valign="" Halign="" Margins="{0,1,0,0}"/>
    		<SymtemDefualt>
    			<SymtemDockItem Index="0" GestureIntent="">
    				<Wallpaper Image="phone" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			</SymtemDockItem>
    			<SymtemDockItem Index="1" GestureIntent="">
    				<Wallpaper Image="contacts" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			</SymtemDockItem>
    			<SymtemDockItem Index="2" GestureIntent="">
    				<Wallpaper Image="d_home" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			</SymtemDockItem>
    			<SymtemDockItem Index="3" GestureIntent="">
    				<Wallpaper Image="messaging" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			</SymtemDockItem>
    			<SymtemDockItem Index="4" GestureIntent="">
    				<Wallpaper Image="browser" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    			</SymtemDockItem>
    		</SymtemDefualt>
    		<NoApplicationIcon GestureIntent="">
    			<Wallpaper Image="d_add" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</NoApplicationIcon>
    		<NullIcon GestureIntent="">
    			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</NullIcon>
    		<NotifyStyle Valign="" Halign="" Margins="{1,1,0,0}" TextValign="" TextHalign="">
    			<Wallpaper Image="" Identity="" Margins="" Color="" Fill="1" Border="1" BorderColor="" BorderLine=""/>
    		</NotifyStyle>
    	</DockStyles>
    </Dock>
    
    <GlMenu Column="" Row="" Identity="desk" TextColor="#ff404040" SelectTextColor="#ff51b801" UnselectTextColor="#ff919192">
    	<Wallpaper Image="glmenu_bg" Identity="Background" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	<Wallpaper Image="menu_selected" Identity="ItemBackground" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	<Wallpaper Image="glmenu_select_topline" Identity="SelectTabLine" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	<Wallpaper Image="glmenu_unselect_topline" Identity="UnSelectTabLine" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	<Wallpaper Image="glmenu_item_line" Identity="Itemline" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	<Item Id="100" Text="">
    		<Wallpaper Image="menuitem_add" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="101" Text="">
    		<Wallpaper Image="menuitem_wallpaper" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="102" Text="">
    		<Wallpaper Image="menuitem_theme" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="103" Text="">
    		<Wallpaper Image="menuitem_gostore" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="104" Text="">
    		<Wallpaper Image="menuitem_screenedit" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="105" Text="">
    		<Wallpaper Image="menuitem_preference" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="106" Text="">
    		<Wallpaper Image="menuitem_syssetting" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="107" Text="">
    		<Wallpaper Image="menuitem_effect" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="108" Text="">
    		<Wallpaper Image="menuitem_golocker" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="109" Text="">
    		<Wallpaper Image="menuitem_gowidget" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="110" Text="">
    		<Wallpaper Image="menuitem_notification" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="111" Text="">
    		<Wallpaper Image="menuitem_language" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="112" Text="">
    		<Wallpaper Image="menuitem_update" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="113" Text="">
    		<Wallpaper Image="menuitem_share" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="114" Text="">
    		<Wallpaper Image="menuitem_grade" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="115" Text="">
    		<Wallpaper Image="menuitem_fb" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="116" Text="">
    		<Wallpaper Image="menuitem_restart" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="117" Text="">
    		<Wallpaper Image="menuitem_notificationbar" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="118" Text="">
    		<Wallpaper Image="menuitem_desklock" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="119" Text="">
    		<Wallpaper Image="menuitem_deskunlock" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="120" Text="">
    		<Wallpaper Image="menuitem_message" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="121" Text="">
    		<Wallpaper Image="menuitem_gobackup" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="124" Text="">
    		<Wallpaper Image="menuitem_gohandbook" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="130" Text="">
    		<Wallpaper Image="menuitem_appcenter" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    	<Item Id="131" Text="">
    		<Wallpaper Image="menuitem_gamezone" Identity="" Margins="" Color="" Fill="" Border="" BorderColor="" BorderLine=""/>
    	</Item>
    </GlMenu>
    
    </Desk>



    2. Add the following to your strings.xml

    Code:
    <bool name="config_iconpack">true</bool>
    <bool name="enableIconPack">true</bool>
    <bool name="enableDockPack">false</bool>

    and

    Code:
    <string name="theme_title">THEME_NAME_HERE</string>



    That's it. Everything should work now.





    Want your app to show fullscreen by removing the StatusBar? follow these steps below and be sure to thank @brainscollector for his help on this!
    Hello there :)

    Well, if someone like me - don't like notification bar in (these ugly status bar on top of application) follow me !


    So, first, just in case backup your "src" folder from main folder. Now open your notepad++ (don't use normal notepad, it will make you look more geeky now) and open those files:

    src/gridview/Main.java
    src/your/icon/pack/name/Icons.java
    src/your/icon/pack/name/Wallaper.java
    src/your/icon/pack/name/AboutThemeActivity.java

    and add to each:

    Code:
    import android.view.WindowManager;
    import android.view.Window;

    under package gridview;

    so it would look like (example from Main.java):

    Code:
    package gridview;
    
    /** 
     ** Some lines may be off a few numbers
     ** Just be sure you're in the general area
     **/
    
    import com.xynapse.origami.theme.R;
    import android.app.AlertDialog;
    import android.content.DialogInterface;
    import android.content.DialogInterface.OnClickListener;
    import android.content.Intent;
    import android.content.pm.PackageManager;
    import android.net.Uri;
    import android.os.Bundle;
    [B]import android.view.WindowManager;
    import android.view.Window;[/B]
    
    import com.actionbarsherlock.app.SherlockFragmentActivity;
    
    import fragments.MainFragment;

    Now add:

    Code:
                requestWindowFeature(Window.FEATURE_NO_TITLE);
                getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                WindowManager.LayoutParams.FLAG_FULLSCREEN);

    under:

    in Main.java - protected void onCreate(Bundle savedInstanceState) {
    in Icons.java - public void onCreate(Bundle savedInstanceState) {
    in Wallpaper.java - public void onCreate(Bundle icicle) {
    in AboutThemeActivity.java - public void onCreate(Bundle savedInstanceState) {

    so it would be between listed above and super.onCreate
    example from Main.java:

    Code:
      [user=439709]@override[/user]
    	protected void onCreate(Bundle savedInstanceState) {
    [B]	 requestWindowFeature(Window.FEATURE_NO_TITLE);
    	 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
    	 WindowManager.LayoutParams.FLAG_FULLSCREEN); [/B]
    		super.onCreate(savedInstanceState);
    		setContentView(R.layout.gridview_main);
    		
    		getSupportFragmentManager().beginTransaction()
    		.replace(R.id.container, new MainFragment())
    		.commit();
    	}

    and that's it :)

    now you can enjoy full screen feel
    32
    Changelog

    Changelog​


    v2.1.2 - 07/01/2013
    • Fixed Nova & Go Launcher
    • Added working Go Launcher "Apply" button


    v2.1.1
    • Added GlassActionBar to the template
    • Removed NOA dependency
    • Slightly tweaked layouts


    v2.0.0 - 06/25/2013
    • Removed hardcoded strings. Now better for translations.
    • Custom fonts can now be used throughout the app
    • Cleaned up folders/files/code
    • Changed "Apply" dialog to GridView
    • Added more "Apply" buttons (for future implementation)
    • Fixed Wallpaper section of app
    • Roboto-Thin is now the default font
    • Fixed scaling on top banner across all screen sizes

    v1.1.0
    • File restructuring
    • Added Tablet Support
    • Changed code from ListView to GridView
    • Holo Light/Light ActionBar is the default instead of Holo Light/Dark ActionBar
    • Misc new images
    • Added Action Launcher to the Apply dialog

    v1.0.1
    • Fixed ADW and Nova intents
    • Fixed a lot of references for various layouts and colors
    • Other Misc things

    v1.0.0
    • Initial release
    7
    If anyone is interested... i updated the template... here's some details on the changelog

    v1.1.0
    File restructuring
    Added Tablet Support
    Changed code from ListView to GridView
    Holo Light/Light ActionBar is the default instead of Holo Light/Dark ActionBar
    Misc new images
    Added Action Launcher to the Apply dialog


    I also fixed those above issues so this should be as simple as importing the 3 projects and adding the 2 dependent libraries... after that, you should be able to compile w/o issue... some of the commented code isn't properly commented... just know you have to make similar changes as you did to the last template version...

    ONLY if you're using Eclipse and you have properly imported the projects and have added the libraries to the Main project, you can ask questions if you're having issues... everyone else can still ask, but don't expect an answer from me because i'm not going to troubleshoot your issues if you can't even follow simple directions!


    CALLING ALL CODERS!!!
    I'm having one issue that I've noticed with 10" tablets in landscape... After I hid the "Theme Info" button from tablets, the grid doesn't line up properly with the onClick stuff... i know people were waiting for this template and it was getting late so i wanted to push this out to everyone and maybe someone smarter than me could help fix that issue...
    7
    here's the tablet layout i'm working on... i really like this setup... ignore the "Theme Info" button... i still have to remove that from this tablet view... the left previews are fully functional... so the user can preview it directly from the home page of the tablet...

    device-2013-05-25-030945.png



    also, i had to rework a LOT of the main code... so i highly suggest everyone to update when i release this version... aside from adding tablet support, i've also added proper landscape support for phones... and changed the ListView to a GridView... that alone called for a whole rework of the code for that... layouts are mostly the same... added some new dimensions and strings... and of course new folders with proper tablet placement... also gonna add in an "Apply" button for Action Launcher since i got the intent from a friend!