Free Droid2 modified wallpaper (Droid Eye Metal) by WJD Designs - Droid X Themes and Apps

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I just thought I would show off a new live wallpaper by WJD Designs I made based off the Droid2 live wallpaper. If you can comment after you download to show some appreciation Enjoy guys and girls!
CLICK HERE TO GRAB IT AND COMMENT!

lookin very nice

Excellent Job on the Wallpaper man, it make the theme you are going for mesh quite nicely. Downloading now.

LegionTHEFecalExcretion said:
Excellent Job on the Wallpaper man, it make the theme you are going for mesh quite nicely. Downloading now.
Click to expand...
Click to collapse
it's funny because I saw yours go up the night I was working on mine and I was like pssst beaten to the punch - I went the xtra foot and drew all the circuit lines out and have them as layers - gj on yours as well...

you guys are awesome!
keep up the good work
looks great on DInc and DX

yourfriendwayned said:
it's funny because I saw yours go up the night I was working on mine and I was like pssst beaten to the punch - I went the xtra foot and drew all the circuit lines out and have them as layers - gj on yours as well...
Click to expand...
Click to collapse
I have been doing some tinkering with the apk via smali/baksmali and have been trying to mess with the dots specifically. It seems the developer of this app made it very easy for him/herself to change alot of things on the fly. They also made the dot trajectorys waaaaaaaayyyyyy to hard on themselves. I have been toying with the idea of making a true Droid2Mod alo the Nexusmod LW with customizable dots, trajectory, color and wallpaper. BUt thats getting way ahead of things. *sigh* someday.

LegionTHEFecalExcretion said:
I have been doing some tinkering with the apk via smali/baksmali and have been trying to mess with the dots specifically. It seems the developer of this app made it very easy for him/herself to change alot of things on the fly. They also made the dot trajectorys waaaaaaaayyyyyy to hard on themselves. I have been toying with the idea of making a true Droid2Mod alo the Nexusmod LW with customizable dots, trajectory, color and wallpaper. BUt thats getting way ahead of things. *sigh* someday.
Click to expand...
Click to collapse
yeah I am thinking we need to chat - hit me up at [email protected] - ill give you my gtalk I got ideas and also was looking into that too...

yourfriendwayned said:
yeah I am thinking we need to chat - hit me up at [email protected] - ill give you my gtalk I got ideas and also was looking into that too...
Click to expand...
Click to collapse
Sounds good! I have been banging my head against the wall trying to get the damn eye sit lower on the screen and no luck but I think Im getting close. Check out this excerpt from one of the smali files.
# static fields
.field static final ACCEL:Z = false
.field private static final BACKGROUND_TEXTURE_INDEX:I = 0x0
.field private static final BG_HEIGHT:I = 0x356
.field private static final BG_WIDTH:I = 0x3c0
.field static final DECAY_TIME:I = 0x7d0
.field private static final DOT_TEXTURE_INDEX:I = 0x1
.field static final END_BRIGHTNESS:F = 0.5f
.field private static final EYE_FPS:I = 0xa
.field private static final EYE_FRAME_DELAY:I = 0x64
.field private static final EYE_HEIGHT:I = 0x80 Tryed changing to 40, nothing.
.field private static final EYE_TEXTURE_INDEX:I = 0x2
.field private static final EYE_TILE_COUNT:I = 0x13
.field private static final EYE_TILE_HEIGHT:I = 0x80 Tryed chaning to 40, nothing.
.field private static final EYE_TILE_WIDTH:I = 0x100
.field private static final EYE_WIDTH:I = 0x100
.field private static final EYE_X:I = 0x160
.field private static final EYE_Y:I = 0x208 Tryed chaning to 104, nothing
.field private static final FRAME_RATE:I = 0x1e
.field private static final NUM_TEXTURES:I = 0x3
.field static final PULSE_COUNT:I = 0x5 Succesfully modified pulse count!
.field static final PULSE_SPEED:I = 0x12c Succesfully modified pulse speed!
.field static final START_BRIGHTNESS:F = 1.0f
.field static final TILE_GRID_COLS:I = 0x2
Click to expand...
Click to collapse
Ill hit you up with the full decompiled classes.dex. Let me know what you think.

Looks better than the original
Sent from my DROIDX using Tapatalk

LegionTHEFecalExcretion said:
Sounds good! I have been banging my head against the wall trying to get the damn eye sit lower on the screen and no luck but I think Im getting close. Check out this excerpt from one of the smali files.
Ill hit you up with the full decompiled classes.dex. Let me know what you think.
Click to expand...
Click to collapse
it gets fun with little progression lol

sp1kez said:
Looks better than the original
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
thaNK YOU

Can you make this a regular wallpaper, help save on battery
Sent from my DROIDX using XDA App

Keep making wallpapers Im loving these, a droid2mod would be amazing

yourfriend,
would you mind renaming the activity so i can load on my droid 2? right now it conflicts the preloaded one.

Outstanding! Great work Dev! Perfect wallpaper for my Droid X

nemesis000000 said:
yourfriend,
would you mind renaming the activity so i can load on my droid 2? right now it conflicts the preloaded one.
Click to expand...
Click to collapse
can someone help me with this?
really like this droid eye more for my droid2 but cant load it because it has the same name as the pre installed one.

nemesis000000 said:
can someone help me with this?
really like this droid eye more for my droid2 but cant load it because it has the same name as the pre installed one.
Click to expand...
Click to collapse
sure just remind me at [email protected] please and ill do it...

Related

[MOD][TUTORIAL] 5x5 Rosie workspace & launcher

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE: After some recent experimentation with another user who is trying to implement this, I came to the realization that in order to change the workspace grid numbers, all that needs to be changed is the cell size. The cellWidth and cellHeight are irrelevant.
TUTORIAL
NOTE: This tutorial uses the Rosie.apk from the latest ZenEXP ROM for it's example. This ROM is for the Hero, which is 320x480. I will take a look at other launchers, just post here which launcher you are using. Also, this will mess up your widget sizes. I plan on posting the widgets I use to this post that will work on a 5x5 workspace grid.
First off, you need to download the awesome APKTOOL by Brut.
http://forum.xda-developers.com/showthread.php?t=640592
Make sure you follow his directions on how to get it up and running and load the frameworks files for your particular ROM (Very important).
Find the launcher APK you want to modify, in this case, we'll be modifying the Rosie.apk from the latest ZenEXP ROM. Run the APKTOOL as follows from a command prompt:
Code:
<path>\apktool d -t <framework file name> Rosie.apk
Browse to <path>\Rosie\res\layout-port and open workspace_screen.xml (note that everything is decoded for you!). Change the following, keeping in mind that this example uses a 320x480 screen resolution:
Code:
launcher:cellWidth="64.0dip" [I](320px / 64px = 5 cells)[/I]
launcher:cellHeight="82.2dip" [I](411px / 82.2px = 5 cells)[/I]
[I](NOTE: 480px - 25px status bar - 44px launcher bar = 411px)[/I]
launcher:longAxisEndPadding="44.0dip" [I](Used to be 55, this will add 11px to the workspace screen)[/I]
launcher:shortAxisCells="5" [I](Make sure this corresponds with your pixels above)[/I]
launcher:longAxisCells="5" [I](Make sure this corresponds with your pixels above)[/I]
Browse to <path>\Rosie\res\values, open dimens.xml and change the following:
Code:
<dimen name="cell_width">64.0dip</dimen>
<dimen name="cell_height">82.2dip</dimen>
[I](Make sure this corresponds to the numbers used previously)[/I]
Browse to <path>\Rosie\res\values-normal, open dimens.xml and change the following:
Code:
<dimen name="workspace_cellWidth">64.0dip</dimen>
<dimen name="workspace_cellHeight">82.2dip</dimen>
<dimen name="workspace_longAxisEndPadding">44.0dip</dimen>
<dimen name="launcher_control_height">44.0dip</dimen>
[I](Make sure this corresponds to the numbers used previously)[/I]
To expand the number of apps in the launcher drawer, change the following in the same file:
<dimen name="launcher_aagv_column_width">64.0px</dimen>
<dimen name="application_boxed_tv_layout_height">82.2px</dimen>
<dimen name="application_boxed_tv_layout_width">64.0px</dimen>
<dimen name="application_shortcut_layout_height">82.2px</dimen>
<dimen name="application_shortcut_layout_width">64.0px</dimen>
NOTE: There are a lot of padding code lines that can be changed to make the icons larger.
Browse to <path>\Rosie\res\values-normal, open integers.xml and change the following:
Code:
<integer name="folder_grid_columns">5</integer>
<integer name="workspace_screen_cl_short_axis_cells">5</integer>
<integer name="workspace_screen_cl_long_axis_cells">5</integer>
<integer name="workspace_shortAxisCells">5</integer>
<integer name="workspace_longAxisCells">5</integer>
<integer name="allprogram_grid_columns">5</integer>
[I](Make sure this corresponds to the numbers used previously)[/I]
Browse to <path>\Rosie\res\values-port, open integers.xml and change the following:
Code:
<integer name="folder_grid_columns">5</integer>
That's it! Open a command prompt and package it back up and make sure you sign the finished apk:
Code:
<path>\apktool build Rosie
I'm going to start digging through the stock launcher and launcher2 to see if the same thing can be done. As mentioned at the top, this will modify your widget sizing. An example of how to change the HTC agenda widget cell size is below:
Run APKTOOL on your chosen widget. Browse to <path>\htccalendarwidgets\smali\com\htc\htccalendarwidgets, open MyWidgetView.smali, search for "spanx" and change the following:
Code:
.method public getSpanX()I
.locals 1
.prologue
.line 140
const/4 v0, 0x5 [I]<------ 5 CELLS WIDE[/I]
return v0
.end method
.method public getSpanY()I
.locals 1
.prologue
.line 144
const/4 v0, 0x5 [I]<------ 5 CELLS TALL[/I]
return v0
.end method
Go here for an update.zip with the modded Rosie.apk file, if you want to mess around with it.
To resize non-HTC widgets, decompile the apk per the instructions above and locate the xml file in <path>\res\xml that contains the following (or something similar):
Code:
<appwidget-provider android:minWidth="320.0dip" android:minHeight="64.0dip"
Edit the dip sizes per your new cell size. The example above is the equivelant of a 4x1 widget. If that doesn't work and your widget is taking up too much space, then lessen the dip sizes until it does work. This is because the xml file is calling for the minWidth and minHeight.
I'd like to thank Brut for the awesome apktool and Britoso for some smali editing.
Very nice.
This looks awesome. Have you seen any problems with the correct program opening or any other issues?
Re: [MOD] 4x5 workspace & 5 column launcher
This looks awesome. Have you seen any problems with the correct program opening or any other issues?
Click to expand...
Click to collapse
No problems at all. I can delete stuff too. I'm going to test it as is tonight. Only issue is some widgets need to be modded a bit.
-------------------------------------
Sent via the XDA Tapatalk App
this **** is awesome!
it looks alot like the Sense 2.5 for WinMo.
SoCalSpecialist said:
this **** is awesome!
it looks alot like the Sense 2.5 for WinMo.
Click to expand...
Click to collapse
A little MaxManila, huh? I'm trying a 5x6 layout right now. It's gettin' crazy up in here!
That's awesome! I really like it.
signals23 said:
A little MaxManila, huh? I'm trying a 5x6 layout right now. It's gettin' crazy up in here!
Click to expand...
Click to collapse
ahahhaha dope!
bring it..we're all ready for it!
I tried a 5x6 workspace last night, but I think that went a little too far. I think I'll try a 5x5 one next.
I'm still working on a tutorial and will post here when it's done.
BTW, which ROM's and Launchers are people using so I can look at the xml's?
Updated the OP with a Rosie.apk tutorial. Let me know which Launchers you guys are using and I'll take a look at them.
keeping an eye on this one. looks interesting!
signals23 said:
I tried a 5x6 workspace last night, but I think that went a little too far. I think I'll try a 5x5 one next.
I'm still working on a tutorial and will post here when it's done.
BTW, which ROM's and Launchers are people using so I can look at the xml's?
Click to expand...
Click to collapse
I personally love the Helix Launcher... modding that home replacement to go 5x5 would be great!
TheSeanTeam said:
I personally love the Helix Launcher... modding that home replacement to go 5x5 would be great!
Click to expand...
Click to collapse
Looks like he built it off of Launcher2, it should be pretty easy. I'll ask for his permission first.
I love the 4x5 workspace...awesome work! Do you think this can be done in either damagecontrol 2.0.8 or fresh 2.1.2?
jstamm said:
I love the 4x5 workspace...awesome work! Do you think this can be done in either damagecontrol 2.0.8 or fresh 2.1.2?
Click to expand...
Click to collapse
I'll go pull the launchers from both, it should be the same. I'll post if successful.
Damage Control
signals23 said:
I'll go pull the launchers from both, it should be the same. I'll post if successful.
Click to expand...
Click to collapse
I am running the latest DamageControl rom (2.9.01) and most of the items are not where you indicate in your tutorial.
If you could have a look it would be appreciated.
Master K said:
I am running the latest DamageControl rom (2.9.01) and most of the items are not where you indicate in your tutorial.
If you could have a look it would be appreciated.
Click to expand...
Click to collapse
OK. I'll poke around after I get some work done.
signals23 said:
OK. I'll poke around after I get some work done.
Click to expand...
Click to collapse
@Master K
Took a quick look at DC 2.9.01. Looks like they pushed all of the info to the values folders and left the xml's as placeholders. This is really the way it should've been since the dimens.xml and integers.xml files override the layout xml's anyway. Regardless, check out the dimens.xml and integers.xml in the following folders, everything should correspond then:
values-normal
values-normal-port
values-normal-port-mdpi
values-port
Let me know how that goes. I'm not running DC, so I can't test it right now.
signals23 said:
Let me know how that goes. I'm not running DC, so I can't test it right now.
Click to expand...
Click to collapse
Well I thought I did it all correctly but when I pushed over the new Rosie.apk it would not launch. Just a black screen on reboot and then other things FC'ed. So I put back the original Rosie and everything was fine.
If someone with more experience editing inside these APK's gets this to work let me know.
Thanks!
Master K said:
Well I thought I did it all correctly but when I pushed over the new Rosie.apk it would not launch. Just a black screen on reboot and then other things FC'ed. So I put back the original Rosie and everything was fine.
If someone with more experience editing inside these APK's gets this to work let me know.
Thanks!
Click to expand...
Click to collapse
I'll edit it tonight and will post the apk for you to test.
Out of curiosity, did you setup the frameworks in apktool correctly?

HTC Dialer smart dial highlight color

Well, here we go again. What I want is to change the color of the green highlight when typing in the dialer. You know, the green highlight over the contacts. I have been looking through all xml's and smali files in HtcDialer.apk, but didn't find anything obvious.
Anyone?
tristan202 said:
Well, here we go again. What I want is to change the color of the green highlight when typing in the dialer. You know, the green highlight over the contacts. I have been looking through all xml's and smali files in HtcDialer.apk, but didn't find anything obvious.
Anyone?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
JsChiSurf said:
Click to expand...
Click to collapse
You are just plain nasty.
I think its text selection xml in com.HTC.resources.aol. right?
alexthearmo said:
I think its text selection xml in com.HTC.resources.aol. right?
Click to expand...
Click to collapse
Strike 1 .
Hint: You don't have to leave the HtcDialer.apk...
Im not at my comp so I can't dig thru the aol. Wanna just tell us so I can do it later? Pretty please?
alexthearmo said:
Im not at my comp so I can't dig thru the aol. Wanna just tell us so I can do it later? Pretty please?
Click to expand...
Click to collapse
No. 10char booyah!
I'd really like to know the secret there. Just point me in the right direction. Like the name of a smali or such.
No secrets, it was pretty simple, and right under your nose the whole time, just not obvious given the naming in the XML.
If you look at 'res\values\colors.xml' in HtcDialer.apk, you will see:
color_search_highlight_white
color_search_highlight_black
__search_highlight_white
__search_highlight_black
While "search" and "highlight" seem correct, as soon as you see "black" and "white", you'd likely think that can't be it, the color I'm looking for is green-ish.
However, if you look at the RGB values set, for ALL of these entities, they're the SAME!
#ff7fb118
Well, certainly, black and white can't have the same RGB value, and I could tell by looking at the value set, just by the numbers, that it is a darker color, that is neither white or black.
So, I plugged the values into the color picker in Photoshop, and lo-and-behold, it was "green-ish". So I changed them, in the above example, to red, and it worked.
So there you have it. Just change these values referenced above to the color you want, and you are off to the races.
JsChiSurf said:
No secrets, it was pretty simple, and right under your nose the whole time, just not obvious given the naming in the XML.
If you look at 'res\values\colors.xml' in HtcDialer.apk, you will see:
color_search_highlight_white
color_search_highlight_black
__search_highlight_white
__search_highlight_black
While "search" and "highlight" seem correct, as soon as you see "black" and "white", you'd likely think that can't be it, the color I'm looking for is green-ish.
However, if you look at the RGB values set, for ALL of these entities, they're the SAME!
#ff7fb118
Well, certainly, black and white can't have the same RGB value, and I could tell by looking at the value set, just by the numbers, that it is a darker color.
So, I plugged the values into the color picker in Photoshop, and lo-and-behold, it was "green-ish". So I changed them, in the above example, to red, and it worked.
So there you have it. Just change these values referenced above to the color you want, and you are off to the races.
Click to expand...
Click to collapse
THANK YOU!!! I'd have never have found that. I looked and looked...you are just way more logical and experienced than I...and you dug a little deeper. For that I am indebted! I am now your indentured servant.
alexthearmo said:
THANK YOU!!! I'd have never have found that. I looked and looked...you are just way more logical and experienced than I...and you dug a little deeper. For that I am indebted! I am now your indentured servant.
Click to expand...
Click to collapse
my dialer apk doesn't have that same structure.....hmm what am i not doing right?
I've got no colors.xml in mine. apktool threw some error when decompiling, but I didn't take notice of it.
EDIT: APK Manager took care of it. Now I got it fully decompiled. Thanks again JsChiSurf.
tristan202 said:
I've got no colors.xml in mine. apktool threw some error when decompiling, but I didn't take notice of it.
EDIT: APK Manager took care of it. Now I got it fully decompiled. Thanks again JsChiSurf.
Click to expand...
Click to collapse
I was getting the same error. May I ask where you found/got APK Manager?
ccapasso said:
I was getting the same error. May I ask where you found/got APK Manager?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=6707033
Or you can just open up the arsc file in HxD and search for the color code that JsChiSurf found, and replace it with the color code you want. That's what I plan on doing. No need to decompile...at least...i think not.
Or you can just open up the arsc file in HxD and search for the color code that JsChiSurf found, and replace it with the color code you want. That's what I plan on doing. No need to decompile...at least...i think not.
Click to expand...
Click to collapse
Nicely done grasshopper.
-------------------------------------
Sent via the XDA Tapatalk App
JsChiSurf said:
Nicely done grasshopper.
Click to expand...
Click to collapse
I'm learning from my master.
alexthearmo said:
http://forum.xda-developers.com/showthread.php?p=6707033
Or you can just open up the arsc file in HxD and search for the color code that JsChiSurf found, and replace it with the color code you want. That's what I plan on doing. No need to decompile...at least...i think not.
Click to expand...
Click to collapse
Looks like apk manager worked as I found the string.
I did try and find the color code in resources.arsc but didn't see anything there. Was probably doing something wrong, but still curious what.
ccapasso said:
Looks like apk manager worked as I found the string.
I did try and find the color code in resources.arsc but didn't see anything there. Was probably doing something wrong, but still curious what.
Click to expand...
Click to collapse
When searching for code in xml files you need to switch the order of your code. Don't just flip the code... but swap the order of the pairs. Like this:
Was: A1 B1 C1 D1
search for: D1 C1 B1 D1

[Mod] ADW Launcher/launcher Pro with transparent icon text (label) background

Note: The adw part has been abandoned because the new ADW launcher supports themes and I have released a ADW theme for this. ADW EX even has a setting for this.
What is this:
I got tired of creating morphs to make the icon-text (label) background transparent (so many versions, painful morphing on froyo), so heres a patched apk.
Launcher Pro: method and download here
Whats changed:
Its the same as the stock except that BubbleTextView.smali has one line commented.
To Install:
1) Backup settings and desktop in ADWsettings
2) uninstall any existing version. (using settings->applications or adb uninstall org.adw.launcher)
3) then push the apk to /system/app/
After installing restore settings and add back your widgets.
Code:
adb remount
adb push org.adw.launcher.apk /system/app/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
All credit to AnderWeb for this launcher. Official site.
Downloads:
[0.9.0 apk]
smali
Hmm, cool. Did the same for launcher-pro. Any idea wht controls the icon text color ?
Daneshm90 said:
Hmm, cool. Did the same for launcher-pro. Any idea wht controls the icon text color ?
Click to expand...
Click to collapse
havent looked for that yet. the src is here
What is the mod doing? I can't really tell. =X
JCopernicus said:
What is the mod doing? I can't really tell. =X
Click to expand...
Click to collapse
Its removing the black background u normally have behind icon text.
dude, there's an option for this... take a look
deimdos said:
dude, there's an option for this... take a look
Click to expand...
Click to collapse
dude there isnt. This mod removes the background behind icon text, not the image u get when u select/highlight an icon.
deimdos said:
dude, there's an option for this... take a look
Click to expand...
Click to collapse
Umm, no its not... Only the option to hide the text completely, not the background.
Daneshm90 said:
Hmm, cool. Did the same for launcher-pro. Any idea wht controls the icon text color ?
Click to expand...
Click to collapse
I dont think it sets a color hence it gets a default white (could be wrong)
see Line 807 in Launcher.java. method createShortcut()
Code:
View createShortcut(int layoutResId, ViewGroup parent, ApplicationInfo info) {
TextView favorite = (TextView) mInflater.inflate(layoutResId, parent, false);
if (!info.filtered) {
info.icon = Utilities.createIconThumbnail(info.icon, this);
info.filtered = true;
}
favorite.setCompoundDrawablesWithIntrinsicBounds(null, info.icon, null, null);
if(!uiHideLabels)favorite.setText(info.title);
[COLOR="Blue"] //britoso: try adding "if(!uiHideLabels) favorite.setTextColor(ColorStateList.valueOf(0xdddddd));"[/COLOR]
favorite.setTag(info);
favorite.setOnClickListener(this);
return favorite;
}
Daneshm90 said:
Its removing the black background u normally have behind icon text.
Click to expand...
Click to collapse
Ah okay, I don't use labels and I always have a pretty dark background. hehe
britoso said:
I dont think it sets a color hence it gets a default white (could be wrong)
see Line 807 in Launcher.java. method createShortcut()
Code:
View createShortcut(int layoutResId, ViewGroup parent, ApplicationInfo info) {
TextView favorite = (TextView) mInflater.inflate(layoutResId, parent, false);
if (!info.filtered) {
info.icon = Utilities.createIconThumbnail(info.icon, this);
info.filtered = true;
}
favorite.setCompoundDrawablesWithIntrinsicBounds(null, info.icon, null, null);
if(!uiHideLabels)favorite.setText(info.title);
[COLOR="Blue"] //britoso: try adding "if(!uiHideLabels) favorite.setTextColor(ColorStateList.valueOf(0xdddddd));"[/COLOR]
favorite.setTag(info);
favorite.setOnClickListener(this);
return favorite;
}
Click to expand...
Click to collapse
Awesome, it turns out its styles.xml that controls the color. bright_text_dark_focused.xml controls the text color of the icons in the drawer.
Also dont know about adw, but for launcher pro, u can just edit colors.xml to remove the icon text background, dont even have to touch the smali files.
Heres wht it looks like.
Very cool, should send tweet/pm over to wysie, see if he can roll it into the rest of the color modifications
Daneshm90 said:
Awesome, it turns out its styles.xml that controls the color. bright_text_dark_focused.xml controls the text color of the icons in the drawer.
Also dont know about adw, but for launcher pro, u can just edit colors.xml to remove the icon text background, dont even have to touch the smali files.
Heres wht it looks like.
Click to expand...
Click to collapse
It is set in an xml too but it didnt work when I tried it months ago.
JCopernicus said:
Very cool, should send tweet/pm over to wysie, see if he can roll it into the rest of the color modifications
Click to expand...
Click to collapse
Well its launcher dependant, so prolly he'll ignore me
Unless he does it for their stock launcher which is adw.
britoso said:
It is set in an xml too but it didnt work when I tried it months ago.
Click to expand...
Click to collapse
Hmm wierd, i guess its launcher dependant.
Daneshm90 said:
Awesome, it turns out its styles.xml that controls the color. bright_text_dark_focused.xml controls the text color of the icons in the drawer.
Also dont know about adw, but for launcher pro, u can just edit colors.xml to remove the icon text background, dont even have to touch the smali files.
Heres wht it looks like.
Click to expand...
Click to collapse
do mind sharing your edited color.xml(bright_text_dark_focused?) for launcher=pro?
icegad said:
do mind sharing your edited color.xml(bright_text_dark_focused?) for launcher=pro?
Click to expand...
Click to collapse
Sure here try this, its the whole apk, resigned ofcourse so u gotta uninstall ur current version.
Link
Heres the bold version, the desktop icon text are bold.
Link
Daneshm90 said:
Sure here try this, its the whole apk, resigned ofcourse so u gotta uninstall ur current version.
Link
Heres the bold version, the desktop icon text are bold.
Link
Click to expand...
Click to collapse
thx.. work fine...what .xml did you edit exactly ..so i can copy to future launcher pro versions
edit do you have a white bold? for dark wallpapers
Awesome, it turns out its styles.xml that controls the color. bright_text_dark_focused.xml controls the text color of the icons in the drawer.
Colors.xml to remove the icon text background.
To add bold, just add this to styles.xml
<item name="android:textStyle">bold</item>
App bg
I love this launcher

[HTC Sense] DIY Theming Projects

I started this project to get an appreciation for all the work that goes into a theme. Mission accomplished.
I decided that this thread would be better suited for themers who are looking to make their themes more complete but don't have the time to go searching through decompiled apks looking for values. I hope this helps. Need me to be more specific, just post and I'll update the thread as I can.
Thanks to:
Myn -- Letting me contribute to his project, and ending my ROM flashing addiction.
JsChiSurf -- Continuing to answer my questions, this guy does absolutely amazing work.
Rujeluss22 -- Pointing me in the right direction when I first started
Manup456 -- The man whose theme I've loved since I first saw it and made me want to theme.
GIMPSTA -- Author of HTC_IME_Mod online kitchen, thank you for showing me what I was missing.
HtcDialer -- for clarity, when I speak of the dialer I am talking about the keypad that you see when you open the phone application. In order to completely change the look and feel of the keypad you must make changes to (3) different apk's: HtcDialer.apk, Phone.apk, and com.htc.resources.apk.
HtcDialer.apk filepath: /res/values/styles.xml and the incall screen dialer keypad is in Phone.apk filepath: /res/values-hdpi/styles.xml.
Inside the xml you are looking for (3) blocks of code.
Code:
<style name="text_style_dialer_button_number">
<style name="text_style_dialer_button_alphabet">
<style name="text_style_dialer_button_zero_number">
In these blocks of code you will be looking for lines like:
Code:
<item name="android:textColor">#ff00cc00</item>
<item name="android:shadowColor">#00000000</item>
(Note: if you are editing a completely stock dialer it may have @color[some stuff] instead of #[AARRGGBB] )
This should help you get a grasp of where all the icons are located.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Some more pictures of Warm 2.2 dialer:
HTC_IME -- This is by far the more difficult of the two projects that I have taken on. I have always loved the HTC_IME_mod and now hopefully you themers out there can do your magic on the original apk.
Some pictures:
The PNG editing in this application was by far the easiest part. All of the icons for this are in drawable-hdpi. All of the keys that we are concerned with are saphire_somename.
I had originally thought that the colors would be controlled by /res/values/styles.xml. This is not the case. Thanks to GIMPSTA, all you need to edit is:
HTC_IME/com/htc/android/htcime/ezsip/KeyboardView.smali
HTC_IME/com/htc/android/htcime/ezsip/Port20KeySIPView.smali
look for: Primary Color -->
Code:
const/high16 v6, -0x100
replace with: const v6, 0xAARRGGBB
Alt Color -->
Code:
const v6, -0x888889
replace with: const v6, 0xAARRGGBB
Tertiary Color -->
Code:
const/4 v6, -0x1
Make sure to comment out any line that is invoking a shadow layer.
So
Code:
invoke-virtual {v10, v6, v7, v8, v9}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
would become
Code:
#invoke-virtual {v10, v6, v7, v8, v9}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
If you have any questions feel free to PM me. I hope this helps you themers out there with your todo lists.
Up next:
MMS.apk
Htc_Contacts
[Reserved for HTC_IME]
Thx - I succesfully edited the dialer and htcframework - do you know which values i need to edit for the incall screen dialer? Maybe values are only different since I`m on DHD - but they should be basically the same.
My best gues are these entries:
<style name="TextAppearance.DialerLine1" parent="@android:style/TextAppearance.Widget.Button">
<item name="android:textSize">32.0sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">@color/dialer_button_text</item>
</style>
<style name="TextAppearance.DialerLine2" parent="@android:style/TextAppearance.Widget.Button">
<item name="android:textSize">18.0sp</item>
<item name="android:textColor">@color/dialer_button_text</item>
Edit - unfortunatly HTC changed a lot with the latest Sense version, so this does not work on DHD...
he_stheone64 said:
Edit - unfortunatly HTC changed a lot with the latest Sense version, so this does not work on DHD...
Click to expand...
Click to collapse
Values for HtcDialer.apk for DHD are located in /values-hdpi/styles.xml
-CMYLXGO
DJZager said:
[Reserved for HTC_IME]
Click to expand...
Click to collapse
Could u provide line numbers for the applicable lines of code in smali to designate exactly where u mean? ...at least for Stock APKs?
PS. I dont mean the ". Line #", but the actual line # the given code can be found.
I'm looking at KeyboardView.smali ....and sh*t is it daunting! Don't see "const/high16 ,v6 -0x100" (plaese don't tell me they change Luke m10's, lol!
Edit: well atleast I finally remembered that Linux provides a search option ...making things a bit easier, lol
K, I just used my search function to check every instance of;
"const/high16"
to find;
"const/high16 v6, -0x100"
...and i assure u it does not exist in either 'KeyboardView.smali' or 'Port20KeySIPView.smali' in my copy of HTC_IME.apk. Neither does 'const ,v6'. The closest I've found was;
"const/high16 v0, 0x100".
It is a 'Trace' version tho. Could that be it?
.....I'm running Sense 3.0 with SynergyROM on my ThunderBolt.
CleveRuse said:
K, I just used my search function to check every instance of;
"const/high16"
to find;
"const/high16 v6, -0x100"
...and i assure u it does not exist in either 'KeyboardView.smali' or 'Port20KeySIPView.smali' in my copy of HTC_IME.apk. Neither does 'const ,v6'. The closest I've found was;
"const/high16 v0, 0x100".
It is a 'Trace' version tho. Could that be it?
.....I'm running Sense 3.0 with SynergyROM on my ThunderBolt.
Click to expand...
Click to collapse
That's exactly why.
tommytomatoe said:
That's exactly why.
Click to expand...
Click to collapse
LOL ....Thnx
tommytomatoe said:
That's exactly why.
Click to expand...
Click to collapse
...wait, so then how am I supposed to know wut I'm doing, LOL? It's all gibberish in there!
Sent from my ADR6400L using XDA App
Could you post what lines do the overscroll please? I'm do tiered of green
Sent from my PC36100 using XDA App

[APP][2.2+] Flashlight V1.1.3

Hi guys,
Flashlight is one of my first Android apps and I feel that it has reached the point where I can share it with you guys for testing and feedback. The changelog and planned features are in the second post and screenshots are in the third post.
Description
Flashlight is a simple app that allows you to use your phone as a flashlight. Flashlight has various and useful features as listed below.
Features
Flashlight solid mode (regular flashlight)
Flashlight flashing mode
Adjust flashing mode rate
Flashlight background service (keep the flashlight on even when you exit the app)
Flashlight auto-off (automatically turn off the flashlight after a set amount of time)
Choose an app theme: Holo Light, Holo Light With Dark Action Bar or Holo Dark
Compatibility
In theory, this app should be compatible with any Android device that runs Android 2.2 or higher. Due to the fact that every Android device has different hardware and the fact that this app interacts with the hardware, this app may not work properly on all devices. Please refer to the lists below for more information. If your device doesn't appear on either of these lists please post on this thread feedback as to whether the app works with your device. Please keep in mind that these compatibility lists are based on user reports and may not be fully accurate.
Tested Compatible Devices
LG Google Nexus 4 (E960)
Tested Incompatible Devices
None.
How To Install
Download the latest attached FlashlightVx.x.x.apk to your device.
Install.
Disclaimer
I am not responsible for any damage this app may cause.
Feedback and compatibility reports are welcome, enjoy!
Changelog
V1.1.3 (27/09/13)
* Set Holo Light With Dark Action Bar as the default theme.
* In the App Theme preference make sure Holo Light With Dark Action Bar is selected as the default theme if the user has not made a selection.
.
V1.1.2 (02/09/13)
* Fix a FC on the first time settings is opened.
.
V1.1.1 (02/09/13)
* Make sure the app sets the theme on launch without making the switch visible to the user.
.
V1.1.0 (02/09/13)
* Change the app icon color to yellow.
* Add an app theme option in settings. Three themes: Holo Light, Holo Light With Dark Action Bar and Holo Dark.
* UI Tweaks.
.
V1.0.1 (26/08/13)
* Fix a bug that rarely caused a FC when turning the flashlight off from the notification action while flashing mode is running.
.
V1.0.0 (26/08/13)
* Initial release.
.
Planned Features
Widget
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reserved.
Great torch app. Works even on screen locked.
About design.. Is too simple, I expect some more in future
Mirko ddd said:
Great torch app. Works even on screen locked.
About design.. Is too simple, I expect some more in future
Click to expand...
Click to collapse
In my opinion simplicity is beautiful but I'm willing to consider suggestions...
Net.silb said:
Any suggestions for the design are welcome...
Click to expand...
Click to collapse
My very first advice is to choose a color palette, one you feel right for this kind of apps.
I.e. black-grey-yellow and make the toggle an image (your logo is good enough).
Just to make people more attracted. Your app is efficient, greatly efficient but is not "sexy" IMHO.
Mirko ddd said:
My very first advice is to choose a color palette, one you feel right for this kind of apps.
I.e. black-grey-yellow and make the toggle an image (your logo is good enough).
Just to make people more attracted. Your app is efficient, greatly efficient but is not "sexy" IMHO.
Click to expand...
Click to collapse
Alright, gave it a little thought and I know what I'm gonna do... thanks.
Net.silb said:
Alright, gave it a little thought and I know what I'm gonna do... thanks.
Click to expand...
Click to collapse
hi, why would the app required permission to take photos and videos?
also, it works on Xperia Z (running AOSP)
leongzxc said:
hi, why would the app required permission to take photos and videos?
also, it works on Xperia Z (running AOSP)
Click to expand...
Click to collapse
Permission required to use flashlight correctly. No one will take pics secretly
@Net.silb
i was looking at your code to redesign the appand give u a mockup, but translating smali to java i got this (on initListeners)
Code:
this.cbFlashingMode.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener()
{
public void onCheckedChanged(CompoundButton cb, boolean pb)
{
if (Flashlight.this.cbFlashingMode.isChecked())
{
Flashlight.this.setEnabledFlashingModeSettings(true);
Flashlight.this.editor.putBoolean("FLASHING_MODE", true);
}
while (true)
{
Flashlight.this.editor.commit();
if (Flashlight.this.tbToggleFlashlight.isChecked())
Flashlight.this.startFlashlightService();
[COLOR="Red"] return;[/COLOR]
[B] Flashlight.this.setEnabledFlashingModeSettings(false);
Flashlight.this.editor.putBoolean("FLASHING_MODE", false);
[/B] }
}
});
well that "return void" (third subclass) make the bolded text unreachable, so I guess I translated bad, any help?
Mirko ddd said:
@Net.silb
i was looking at your code to redesign the appand give u a mockup, but translating smali to java i got this (on initListeners)
Code:
this.cbFlashingMode.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener()
{
public void onCheckedChanged(CompoundButton cb, boolean pb)
{
if (Flashlight.this.cbFlashingMode.isChecked())
{
Flashlight.this.setEnabledFlashingModeSettings(true);
Flashlight.this.editor.putBoolean("FLASHING_MODE", true);
}
while (true)
{
Flashlight.this.editor.commit();
if (Flashlight.this.tbToggleFlashlight.isChecked())
Flashlight.this.startFlashlightService();
[COLOR="Red"] return;[/COLOR]
[B] Flashlight.this.setEnabledFlashingModeSettings(false);
Flashlight.this.editor.putBoolean("FLASHING_MODE", false);
[/B] }
}
});
well that "return void" (third subclass) make the bolded text unreachable, so I guess I translated bad, any help?
Click to expand...
Click to collapse
I'm pretty sure something went wrong on your end... I'm not next to my computer so I can't be sure but I'm almost certain that's not the code...
I don't mind open sourcing the app but I'm really a beginer at all this so if u could help me out with open sourcing it properly that would be great!
Also since I see your a recognized developer I would love if you could give me some feedback on my code.
Net.silb said:
I'm pretty sure something went wrong on your end... I'm not next to my computer so I can't be sure but I'm almost certain that's not the code...
I don't mind open sourcing the app but I'm really a beginer at all this so if u could help me out with open sourcing it properly that would be great!
Also since I see your a recognized developer I would love if you could give me some feedback on my code.
Click to expand...
Click to collapse
I just gave a very quick view but as u can see my translation is not perfect, so I can't feedback the code. Actually I rebuilt the app with the only problem on toggling flash mode (it works but not instantly like yours).
The app is one of the best (maybe the best) torch apps I ever seen.
Haven't checked how timeout feature works, but all the rest seems good.
If u want I can take a look at your code privately , or help u publish it on github, or just keep distance and just redesign the app.
Mirko ddd said:
I just gave a very quick view but as u can see my translation is not perfect, so I can't feedback the code. Actually I rebuilt the app with the only problem on toggling flash mode (it works but not instantly like yours).
The app is one of the best (maybe the best) torch apps I ever seen.
Haven't checked how timeout feature works, but all the rest seems good.
If u want I can take a look at your code privately , or help u publish it on github, or just keep distance and just redesign the app.
Click to expand...
Click to collapse
For now I think its best to keep it private and maybe open source it later on...
PM me and I'll happily send it to you.
Net.silb said:
For now I think its best to keep it private and maybe open source it later on...
PM me and I'll happily send it to you.
Click to expand...
Click to collapse
Done
Mirko ddd said:
Done
Click to expand...
Click to collapse
sent
Net.silb said:
sent
Click to expand...
Click to collapse
Got it. Asap I'll post the progress (or do u prefer via email?)
Mirko ddd said:
Got it. Asap I'll post the progress (or do u prefer via email?)
Click to expand...
Click to collapse
Whichever way you prefer...
I like the simple look, but I agree with Mirko that the toggle should be an image like your logo.
Id suggest making it a dark theme, and having your logo "light up" when its on.
OFF:
ON:
wafflestyx said:
I like the simple look, but I agree with Mirko that the toggle should be an image like your logo.
Id suggest making it a dark theme, and having your logo "light up" when its on.
OFF:
ON:
Click to expand...
Click to collapse
more or less it s the main idea (when on maybe would be better blue, to fit theme).
i sent a very initial redesign, but quite incomplete.
the main question now is: we wanna keep "android settings-like look" or , always being holo, plan a layout more attractive?
If we wanna follow android settings like theme i guess yours is a great (congrats!) theme, else we can play with all the android patterns around
yep yep its just a torch, but hey, let s be creative if not people will bore xD

Categories

Resources