Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,305 Members 42,475 Now Online
XDA Developers Android and Mobile Development Forum

[THEME] Themes for Swiftkey & Swype Keyboards

Tip us?
 
sonnysekhon
Old
(Last edited by sonnysekhon; 19th January 2014 at 07:31 AM.)
#1  
sonnysekhon's Avatar
Recognized Themer - OP
Thanks Meter 4466
Posts: 4,080
Join Date: Aug 2010
Location: Vancouver
Smile [THEME] Themes for Swiftkey & Swype Keyboards

Hello Everyone,

Here are some mods I made for the Swiftkey and Swype keyboards.

These apps are paid/exclusive beta so I can can't share them, but here are step by step instructions to get the mods.

Enjoy .


Swiftkey Cobalt:



Swiftkey Holo:



Swiftkey Light:



Swiftkey Dark:



Swiftkey Pitch:




Swype:









INSTRUCTIONS FOR SWIFTKEY USING APKTOOL:



1. Get the Swiftkey apk from your phone.

2. Decompile it using ApkManager or ApkTool.

3. Go to the decompiled project folder, open AndroidManifest.xml and change the package name from "com.touchtype.swiftkey" to "com.touchtype".

4. Copy the contents of Swiftkey_ApkTool.zip to the corresponding folders in the decompiled project folder.

5. Recompile and install.


INSTRUCTIONS FOR SWYPE USING APKTOOL:



1. Get the Swype apk from your phone.

2. Decompile it using ApkManager or ApkTool.

3. Copy the contents of Swype_ApkTool.zip to the corresponding folders in the decompiled project folder.

4. Go to res/values/colors.xml and change the two colors, orange and about_swype_links, to your liking. I use #ffffffff (white).

5. Go to res/values/styles.xml and change the following styles:

Code:
Select Code
<style name="Swype.holo" parent="@com.nuance.swype.dtc:style/Swype.holo">
	    <item name="com.nuance.swype.dtc:traceWidth">6.0dip</item>
		<item name="com.nuance.swype.dtc:traceColor">#b2ffffff</item>
		<item name="com.nuance.swype.dtc:defaultAltTextColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:candidateComponent">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:candidateRecommended">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:highlightedKeyTextColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:componentForegroundColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:convertingStringBackgroundColor">#aab8b8b8</item>
		<item name="com.nuance.swype.dtc:smartEditorBackgroundHighlightColor">#aab8b8b8</item>
		<item name="com.nuance.swype.dtc:smartEditorUnderlineHighlightColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:verCandidateComponent">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:verCandidateRecommended">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:wordInlineBackgroundColor">#ffb8b8b8</item>
	</style>
	<style name="Swype.night" parent="@com.nuance.swype.dtc:style/Swype.night">
		<item name="com.nuance.swype.dtc:traceColor">#b2ffffff</item>
		<item name="com.nuance.swype.dtc:defaultAltTextColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:candidateComponent">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:candidateRecommended">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:highlightedKeyTextColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:componentForegroundColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:convertingStringBackgroundColor">#aab8b8b8</item>
		<item name="com.nuance.swype.dtc:smartEditorBackgroundHighlightColor">#aab8b8b8</item>
		<item name="com.nuance.swype.dtc:smartEditorUnderlineHighlightColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:verCandidateComponent">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:verCandidateRecommended">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:wordInlineBackgroundColor">#ffb8b8b8</item>
	</style>
	<style name="Swype.midnight" parent="@com.nuance.swype.dtc:style/Swype.midnight">
		<item name="com.nuance.swype.dtc:traceColor">#ffffffff</item>
		<item name="com.nuance.swype.dtc:defaultAltTextColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:candidateComponent">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:candidateRecommended">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:highlightedKeyTextColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:componentForegroundColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:convertingStringBackgroundColor">#aab8b8b8</item>
		<item name="com.nuance.swype.dtc:smartEditorBackgroundHighlightColor">#aab8b8b8</item>
		<item name="com.nuance.swype.dtc:smartEditorUnderlineHighlightColor">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:verCandidateComponent">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:verCandidateRecommended">#ffb8b8b8</item>
		<item name="com.nuance.swype.dtc:wordInlineBackgroundColor">#ffb8b8b8</item>
	</style>
6. Recompile using tricks from this thread: http://forum.xda-developers.com/show....php?t=2471891







PhilDX's Number Key MOD for Swype (make sure you thank him for this ):


Quote:
Originally Posted by PhilDX View Post
ok, so i made a little progress modifying the keyboard layout in Swype. as you can see in the screenshots below, i added a top number row with left and right arrow keys. this layout might be a little scrunched on a small phone but it works really well on my 4.65", 5.5" and 8.3" devices. i have not themed Swype using Sonny's resources available in the OP (although i did modify the secondary character key hint color to improve visibility). i also made the keyboard a little taller to compensate for distortion in each key after adding the extra row.

[IMG][/IMG]

[IMG][/IMG]

[IMG][/IMG]

Instructions for modifying Swype are available here:
http://forum.xda-developers.com/show...41&postcount=1

This mod requires root access and is a little more involved than the typical decompile / mod stuff / recompile process you may be used to. i am not responsible if you damage your device, so make a backup first. you must follow the instructions exactly, precisely, and without deviation if you want this to work. One caveat, the location of the Swype APK on my devices (android 4.3.1 and 4.4.2) was in /data/data, and not /mnt/asec as cited in steps 2 and 3, but everything else matched.

theming is not included in this mod. for the time being, if you want a themed version and you are running a custom ROM with support for the Tmobile theme engine, i strongly recommend you buy Sonny's Lucid theme in the play store (which includes the Swype themes shown in the OP). Not only will you get a nice theme at a bargain price, but your purchase is a great way to say "thanks" to Sonny for creating this thread:
https://play.google.com/store/apps/d...me.lucid&hl=en

i created 3 new and modified 5 existing XML files for the portrait keyboard in english language. these are for Swype version 1.5.15.19977. i used this version because it does not have the lag problem present in the last two play store releases.
XML file list (copy these files into /res/xml):
  • kbd_qwerty.xml
  • kbd_qwerty_sym.xml (first symbols keyboard)
  • kbd_symbols.xml (second symbols keyboard)
  • kbd_number_row.xml (top number row with left/right arrows)
  • kbd_arrow_row.xml (top arrow row for symbol keyboards)
  • kbd_qwerty_tablet.xml
  • kbd_qwerty_sym_tablet.xml
  • kbd_qwerty_number_row_tablet.xml
these files are available here:
https://www.mediafire.com/?g2jfrr9pram028n

i also made a few other modifications visible in the screenshots above, these files are not included in the zip, but you can feel free to make the changes yourself if desired:
/res/values/styles.xml
in block marked "<style name="Swype.holo" parent="@style/Swype">"
<item name="defaultAltTextColor">#ffdddddd</item>
/res/values/dims.xml
<dimen name="key_height">56.0dip</dimen>
<dimen name="keyboard_forced_height">290.0dip</dimen>
/res/values-sw600dp/dims.xml
<dimen name="keyboard_forced_height">375.0dip</dimen>
Swype is a paid app, i will not redistribute copies of the app for any reason, so please, do not ask

Attached Files
File Type: rar Swiftkey Apktool.rar - [Click for QR Code] (1.26 MB, 3195 views)
File Type: rar Swype Apktool.rar - [Click for QR Code] (546.3 KB, 412 views)
Theme Threads: Icon Packs / CyanogenMOD Themes / Keyboards

If you like my work, you can buy me a drink or buy one of my Icon Packs or CM/AOKP Themes from the Play Store .


All glory to the Hypnotoad!
The Following 129 Users Say Thank You to sonnysekhon For This Useful Post: [ Click to Expand ]
 
sapko
Old
#2  
Member
Thanks Meter 0
Posts: 33
Join Date: Aug 2010
wow looks real sweet, too bad I missed the free offer.
 
stillblood
Old
#3  
stillblood's Avatar
Senior Member
Thanks Meter 5
Posts: 204
Join Date: Jul 2010
You are my hero
 
Aftashok
Old
#4  
Aftashok's Avatar
Senior Member
Thanks Meter 24
Posts: 441
Join Date: Jan 2008
Location: Louisiana
excellent! i hope more people mod this now, i dont really like the dark theme on the Swiftkey Beta.
 
samlin
Old
#5  
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Feb 2011
look good but possible to add few more colors? i want green
 
JokerAce
Old
#6  
JokerAce's Avatar
Senior Member
Thanks Meter 653
Posts: 1,434
Join Date: Sep 2009
Location: Teleporting..

 
DONATE TO ME
I thank you for your hard work. Hope to see more colors coming during your free time. Cheers.


Phone Info
Ph.Model: Nexus 5, Hammerhead
ROM: Dirty Unicorn
Kernel: Franco r25
RADIO: -

Personal Info
I Had:
HTC Magic 32A, GingerYoshi 1.5,
Nexus One, CM 7.1 w C.BlackRose
Nexus S, PA 2.22, Bedalus Marmite Kernel
I9100, PACman, DorimanX kernel
E975, ThinkingBridge
SuperCharge y'phone!









Assist in development with this
"Logcat or it never happened"
The Following 2 Users Say Thank You to JokerAce For This Useful Post: [ Click to Expand ]
 
finsmaniac02
Old
#7  
Senior Member
Thanks Meter 59
Posts: 778
Join Date: Dec 2007
will this work on the swiftkey beta?
"Something Witty" - me
Man I feel old....
some motorola feature phone/flip phones
PDA's (WinMo) before the IPhone... all HTC, 2 diff slide out keyboard models, 1 "smartphone"
Then this IPhone thing came around, and say what you want about it, it really changed the landscape of phone technology
Still HTC all the way...
HTC EVO
HTC EVO 3D
HTC EVO 4G LTE
HTC ONE

... just about done giving sprint a "chance"... but we'll see how this LTE rollout finishes up
 
rinxas
Old
#8  
rinxas's Avatar
Senior Member
Thanks Meter 40
Posts: 325
Join Date: Aug 2010
Location: Lisbon
I've got an error when compiling using apk manager:
"res\drawable-mdpi\sym_keyboard_search.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\D3V1L\AppData\Local\Temp\A
PKTOOL7988472857239820988.tmp, -I, C:\Users\D3V1L\apktool\framework\1.apk, -S, C
:\Users\D3V1L\Desktop\android-sdk-windows\apk_manager\other\..\projects\Swift.ap
k\res, -M, C:\Users\D3V1L\Desktop\android-sdk-windows\apk_manager\other\..\proje
cts\Swift.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Un known Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\D3V1L\AppData\Local\Temp\APKTOOL7988472857239 820988.tmp, -I, C:\Users\D3V1L
\apktool\framework\1.apk, -S, C:\Users\D3V1L\Desktop\android-sdk-windows\apk_man
ager\other\..\projects\Swift.apk\res, -M, C:\Users\D3V1L\Desktop\android-sdk-win
dows\apk_manager\other\..\projects\Swift.apk\Andro idManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Press any key to continue . . ."

Any Guess??
 
sonnysekhon
Old
#9  
sonnysekhon's Avatar
Recognized Themer - OP
Thanks Meter 4466
Posts: 4,080
Join Date: Aug 2010
Location: Vancouver
Quote:
Originally Posted by finsmaniac02 View Post
will this work on the swiftkey beta?
Probably not, this is for the version shown in the pics.

Quote:
Originally Posted by rinxas View Post
I've got an error when compiling using apk manager:
"res\drawable-mdpi\sym_keyboard_search.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\D3V1L\AppData\Local\Temp\A
PKTOOL7988472857239820988.tmp, -I, C:\Users\D3V1L\apktool\framework\1.apk, -S, C
:\Users\D3V1L\Desktop\android-sdk-windows\apk_manager\other\..\projects\Swift.ap
k\res, -M, C:\Users\D3V1L\Desktop\android-sdk-windows\apk_manager\other\..\proje
cts\Swift.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Un known Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\D3V1L\AppData\Local\Temp\APKTOOL7988472857239 820988.tmp, -I, C:\Users\D3V1L
\apktool\framework\1.apk, -S, C:\Users\D3V1L\Desktop\android-sdk-windows\apk_man
ager\other\..\projects\Swift.apk\res, -M, C:\Users\D3V1L\Desktop\android-sdk-win
dows\apk_manager\other\..\projects\Swift.apk\Andro idManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
Press any key to continue . . ."

Any Guess??
Did you replace entire folders in Apkmanager? If so, just replace the contents of the folders.
Theme Threads: Icon Packs / CyanogenMOD Themes / Keyboards

If you like my work, you can buy me a drink or buy one of my Icon Packs or CM/AOKP Themes from the Play Store .


All glory to the Hypnotoad!
The Following 2 Users Say Thank You to sonnysekhon For This Useful Post: [ Click to Expand ]
 
pa.pn2
Old
(Last edited by pa.pn2; 31st March 2011 at 07:48 PM.)
#10  
pa.pn2's Avatar
Senior Member
Thanks Meter 488
Posts: 2,657
Join Date: Jul 2010
Location: Düsseldorf
same error here
replaced all files except the fonts, but when compiling an error occurs
idea?
edit:worked for me
you dont have to change the whole folders,just the files inside.the it will work...
thx
LG Nexus 5 16gb black
Rom-Velocity
Kernel-Stock
Radio-.23


Samsung Galaxy Nexus 16gb
Rom-Lisio
Kernel-Bsmitty
Radio-XXLJ1


My Dropbox for Wallpaper,Docks, Icons and more:
http://db.tt/RTuSn4E
http://papn2.deviantart.com/gallery/

Click Thanks if I helped you!!

The Following User Says Thank You to pa.pn2 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes