FORUMS

 View Poll Results: Do you like this Theme ?

He's Great , Thank you !
 
0 Vote(s)
0%
Meh
 
0 Vote(s)
0%
That's ugly
 
0 Vote(s)
0%

[THEME & GUIDE][XDA]XDA Reloaded

1,290 posts
Thanks Meter: 682
 
By Raiz, Senior Member on 18th August 2018, 05:19 PM
Post Reply Email Thread

Introducing XDA Reloaded

It's been a while I use XDA Labs, since it's easy to use, and very handy because you can use it at any time.
I made this theme because I wasn't satisfied at 100% of my precedent theme, you know, XDA Evolved. The icons and the general work around it was pretty minimalist , that's why I made another theme more complete this time and , in my opinion , better than the first one.


This theme has a lot of features , here's a non-exhaustive list :
• Completely customizable theme with the following tutorial
• Rounded Corners for :
- Posts
- User Infos
- My Device Suggestions
• Gradient Background for :
- User Infos
- My Device Suggestions
• Modified Color for :
- Posts
- Main Background Color
- Primary Color
- Accent Color
• New Colorful Icons and Notification Icon(see below):


Some bugs also:
• Refresh button make the app crashed
• Crashes when you rotate the screen

Here The Download Link :
Available on Dropbox
Attached Thumbnails
Click image for larger version

Name:	XDA-1.png
Views:	184
Size:	234.7 KB
ID:	4575306   Click image for larger version

Name:	XDA-2.png
Views:	186
Size:	238.5 KB
ID:	4575307   Click image for larger version

Name:	XDA-3.png
Views:	182
Size:	169.4 KB
ID:	4575308   Click image for larger version

Name:	XDA-5.png
Views:	174
Size:	165.4 KB
ID:	4575310   Click image for larger version

Name:	XDA-6.png
Views:	158
Size:	186.1 KB
ID:	4575328   Click image for larger version

Name:	XDA-4.jpg
Views:	152
Size:	48.8 KB
ID:	4575332  
18th August 2018, 05:25 PM |#2  
Raiz's Avatar
OP Senior Member
Thanks Meter: 682
 
Donate to Me
More

This part is for you, yes you the tweaker, the unstoppable decompiler or others Android Enthusiast
I made this theme with dependencies , it means I made separates file in the APK file for the tweakers who wants to modify the colors I set easily.

So to modify this APK , you need to decompile it and recompile it with some tools , you will need :
Apktool
And to Sign and Align your apk, I advice this all in one tool , it's really easy to use , thanks to @aureljared.
ZipAligner

Read on the respective link how to install them and use them if you don't know how.

So first (after setting up both Apktool and Zipaligner) ,you should decompile the Labs.apk you downloaded above.
Enter this command:
Code:
java -jar apktool.jar d Labs.apk
Then , go to the Labs folder and go to /res/drawable. Search for the files starting by "background_".
Here the list of all the file I added to make easier the modifications :
• background_mydevice (to modify the "my device" background gradient)
• background_post (to modify the post background color, you have the ability to add a gradient)
• background_quote (to modify the quote/code background,you have the ability to add a gradient)
• background_refresh (to modify the "End of Thread" button background gradient)
• background_user (to modify the user info background gradient)

The only thing you want to modify is the color code , those files are regular files like that (this is an example , some of the files are different but they have always the <gradient/> line):
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
    <gradient android:startColor="#ff48c6ef" android:endColor="#ff6f86d6" android:angle="135"/>
    <corners android:radius="22dp"/>
</shape>
You want to modify this line to modify the color:
Code:
 <gradient android:startColor="#ff48c6ef" android:endColor="#ff6f86d6" android:angle="135"/>
You just have to change the hex code, here what you want to modify here: 48c6ef and 6f86d6 , replace them with the hex code wanted.
The "startColor" tag is the color at the beginning of your gradient.
The "endColor" tag is the color and the end of your gradient.

You can add android:centerColor="#ff[hex code]" between startColor and endColor to set a middle color for your gradient.
If both startColor, centerColor and endColor are the same, you'll have only one color for your background ( the one you set for the three tags)

You want to modify this line to modify the corner radius:
Code:
<corners android:radius="22dp"/>
Replace 22 with your value
This line isn't present in every file so don't worry if you don't see it , but don't add it if she isn't here.

Then , recompile the APK file with this command:
Code:
java -jar apktool.jar b Labs
And launch ZipSigner to sign and Align the APK
Here you go , feel free to show me what you've done with screenshots in this thread.

Here some link for cool gradients and hex color view :
https://webgradients.com
https://www.hexcolortool.com/
And there's a website that allows you to see the Android code , make sure to test it out :
https://labs.udacity.com/android-visualizer/
The Following User Says Thank You to Raiz For This Useful Post: [ View ] Gift Raiz Ad-Free
Post Reply Subscribe to Thread

Tags
theme, xda, xda labs, xda labs theme, xda reloaded

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes