New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
a121232
Old
#1  
Senior Member - OP
Thanks Meter 66
Posts: 332
Join Date: Mar 2012
Location: Haiphong
Default [Q] How to resize app, etc... from HDPI/MDPI to LDPI?

How to resize app, etc... from HDPI/MDPI to LDPI?
I try porting JOYOS but it is MDPI. So the launcher is very laggy.
 
gmp009
Old
#2  
gmp009's Avatar
Senior Member
Thanks Meter 338
Posts: 952
Join Date: Mar 2011
Location: Hyderabad
Quote:
Originally Posted by a121232 View Post
How to resize app, etc... from HDPI/MDPI to LDPI?
I try porting JOYOS but it is MDPI. So the launcher is very laggy.
Just resize the png files.
 
adib_17
Old
#3  
adib_17's Avatar
Senior Member
Thanks Meter 85
Posts: 161
Join Date: Dec 2011
Location: Rasht
Quote:
Originally Posted by a121232 View Post
How to resize app, etc... from HDPI/MDPI to LDPI?
I try porting JOYOS but it is MDPI. So the launcher is very laggy.
resize the .png or .9.png not enough ...
must be edit layout i think
 
thy_assimilations
Old
#4  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: May 2012
Post Try android drawable converter

Quote:
Originally Posted by a121232 View Post
How to resize app, etc... from HDPI/MDPI to LDPI?
I try porting JOYOS but it is MDPI. So the launcher is very laggy.
For converting drawables you can use android-drawable-converter.
Sorry,cant post link due to noob limitation

P.S. This is my 1st post in the forum
The Following User Says Thank You to thy_assimilations For This Useful Post: [ Click to Expand ]
 
a121232
Old
#5  
Senior Member - OP
Thanks Meter 66
Posts: 332
Join Date: Mar 2012
Location: Haiphong
Quote:
Originally Posted by gmp009 View Post
Just resize the png files.
But what is the size of ldpi? For the icon?
 
R.A.G.E
Old
#6  
R.A.G.E's Avatar
Senior Member
Thanks Meter 207
Posts: 990
Join Date: Mar 2012
Location: Ho Chi Minh
Quote:
Originally Posted by a121232 View Post
But what is the size of ldpi? For the icon?
ldpi icons should be at 36×36, mdpi at 48×48 and hdpi at 72×72.
 
Gspin96
Old
#7  
Gspin96's Avatar
Member
Thanks Meter 21
Posts: 44
Join Date: Dec 2011
Location: Rome
I'm also trying to resize JOYLauncher for ldpi.
I know resizing pngs won't do much, as the icon scaling depends on the xmls in the decompiled apk, so i started editing xmls in /res/layout and /res/values, with no success. The sizes of the icons remain the same. Where should i put my hands on?
 
yackovsky
Old
#8  
yackovsky's Avatar
Senior Member
Thanks Meter 2707
Posts: 3,287
Join Date: Jan 2012
Location: Galway

 
DONATE TO ME
Most of it is in smali and xml so it ain't easy (especially smali)


all my stuffs (icons, wl themes, wallpapers...)

If you like my work, you can always buy me a beer/tea by donating.
It's always much appreciated
The Following User Says Thank You to yackovsky For This Useful Post: [ Click to Expand ]
 
Gspin96
Old
#9  
Gspin96's Avatar
Member
Thanks Meter 21
Posts: 44
Join Date: Dec 2011
Location: Rome
D'oh, I hate smali.
Thank you anyway


XDA PORTAL POSTS

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more

Get the Android 4.2.2 Status Bar on Your Gingerbread-Based Samsung

There are still quite a few of folks who run Gingerbread on their … more

Responses From Ubuntu Pouring Into Ubuntu Touch Q&A Thread

Ubuntu has become the most successful *nix distribution for a number of reasons, … more