[Android Themes] S♥NE:
Hello all, as I am not always available to update this app, I have decided to release a DIY tut so you guys can mod it yourself

Also from this, I hope it will give you guys some idea how to apply these mods to other apps :)

We shall begin

============

What is needed:

1. APK Tool or APK MultiTool or anything which you can decompile, compile and sign the apk

( Personally I use APK MultiTool and I am going to use that as an example throughout the whole TUT )

2. Java installed on your com to run APK MultiTool

3. Notepad+ or any similar code editing programs

4. Time and patience

Procedure:

1. Firstly, you are going to have to download Twitter apk of course

You can get the APK from PlayStore or apkmirror.com

2. Decompile it using APK MultiTool. Please refer to guides on how to do so if you dont know how

3. Now everything will be decompiled into a folder.

4. First thing we will mod AndroidManifest.xml :)

#RemovingPermissions

5. Delete the lines of permissions you dont want, eg

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>

6. Save the file

#Changing launcher icon

7. Now we will be changing the launcher icon of Twitter

- Usually you can find out what is the file of the icon by looking into the AndroidManifest.xml

android:icon="@drawable/[COLOR="MediumTurquoise"]ic_launcher_twitter[/COLOR]"

8. So for Twitter, we will be going to the drawables folder in res and find for ic_launcher_twitter

- Drawables folder can be drawable-ldpi/mdpi/hdpi/xhdpi/xxhdpi and so on

- ldpi, mdpi, hdpi, xhdpi, tvdpi are all screen "size". U will notice the icons in ldpi are smaller while the icons in xhdpi are bigger

- From here you also can theme other icon according to your preference

9. I have uploaded an attachment which consist of TwitterMod Teal launcher icon.

#Changing statusbar color ( For Lollipop )

10. We will create a values-v21 folder in res

- We create this folder so that only Lollipop roms will read this. Learn more here

- If values-v21 folder already exist, skip to next section

11. From the values folder, copy styles.xml to values-v21 folder

12. Now open up styles.xml in values-v21 and search for the base theme ( Hit ctrl+f on your keyboard )

- The base theme for that app usually can be found at AndroidManifest.xml also at

android:theme="@style/Theme"

- For some apps there is an exeption and may not always work with this base theme

- So improvise yourself and find the second nearest theme in styles.xml

- For Twitter, the base theme somehow is ThemeBase

13. So in styles.xml of Twitter, the base theme should look like this :

<style name="[COLOR="YellowGreen"]ThemeBase[/COLOR]" parent="@android:style/[COLOR="Red"]Theme.Material.Light[/COLOR]">

- The words in red may vary from different apps

- Please note that Theme.Material.Light is only applicable to v21 folders

- If you see Theme.Holo or something like that in v21 folder, feel free to change it too Theme.Material.Light

- Learn more here

14. Now at that base theme section, add this code

- This will be the color of your status bar, navigation bar and recent app panel app color

- Change the RED code to any color you want. I have some reference for you down there

<item name="android:statusBarColor">#[COLOR="red"]ffffffff[/COLOR]</item>
<item name="android:navigationBarColor">#[COLOR="red"]ff000000[/COLOR]</item>
<item name="android:colorPrimary">#ff123456</item>

[U]Color Code[/U]
Black - FF000000
White - FFFFFFFF
Teal - FF009688
[URL="https://www.google.com/design/spec/style/color.html#color-color-palette"]More colors[/URL]

15. Save the file

#Make the app fun ( You can skip this if you want ) :p

16. Now open up strings.xml in values folder

17. Change what you want accordingly with some common sense :)

18. Now we will add some credits to yourself and maybe me?? :cyclops:

19. Goto xml folder and open up preference.xml

20. Add this line here

<PreferenceScreen android:title="@string/[COLOR="SeaGreen"]twittermod_title[/COLOR]" android:key="about" android:summary="@string/[COLOR="RoyalBlue"]twittermod[/COLOR]" android:order="1004" />
</PreferenceScreen>

21. Open strings.xml and add this code anywhere

<string name="[COLOR="SeaGreen"]twittermod_title[/COLOR]">[COLOR="Red"]BLABLA[/COLOR]</string>
<string name="[COLOR="RoyalBlue"]twittermod[/COLOR]">[COLOR="red"]BLABLA[/COLOR] </string>

22. Save it

#Finally

23. Now everything is done, compile and sign the app using APKMultiTool or whatever

24. If their is an error compilling, check what it is and post here for help :)

- I will do my best to reply in a short time

25. Install it and feel proud of yourself.

26. Fail and errors will exist and always, you can come here for help :)

I might have missed out something so it would be great if someone point it out

Next ( probably ) there will be a tut for KitKat translucent statusbar and for Facebook and Instagram

Thanks to :

Twitter for their apk

Google for their codes