5,606,722 Members 37,674 Now Online
XDA Developers Android and Mobile Development Forum

[UPDATED][APP-MOD][+HOWTO] LG Optimus UI3 with 5x4 homescreen

Tip us?
 
Gyebro
Old
(Last edited by Gyebro; 20th March 2013 at 03:35 PM.) Reason: added jb compatible version
#1  
Gyebro's Avatar
Senior Member - OP
Thanks Meter 407
Posts: 100
Join Date: May 2012
Lightbulb [UPDATED][APP-MOD][+HOWTO] LG Optimus UI3 with 5x4 homescreen

Hello XDA!

New: JB compatible version here: [App][4.2+][JB] LG ui 3 [hdpi,xhdpi]

Here is a modified version of the LG UI 3 by Impact7
For those, who needs more space than 4x4 : )

*** LG Optimus UI3 with 5x4 homescreen ***
Updated, increased cell height, widgets should now have more space.
Removed Yahoo logo from weather widget


Features
5x4 homescreen grid (instead of the original 4x4)
Slightly modified weather widget
Google search bar and "add to homescreen" button removed from the top
Fixed unread messages count, now works with samsung messaging
And of course all the features that the launcher offers originally (amazing screen scroll effects, fast and smooth, LG themes - see original thread, today display on calendar icon, and much more...)

Screenshots

As you can see, no less than 20 cells are available to you now : )

Installation
Copy the apks to system/app/
Set permissions to rw-r--r--
Reboot

Download
LGHome3.apk (v1.1)
Weatherwidget.apk (No yahoo logo)

Old version download links

LGHome3.apk
Weatherwidget.apk
Get themes from the original thread posted by Impact7

*****


*** HOWTO: Change home screen grid ***

LG was a bit tricky, so after decompiling the LGHome3.apk you won't find the cell count variables in integers.xml (or somewhere in an xml, you'd expect)
Instead, in the LauncherModel.smali, find the updateWorkspaceLayoutCells function and change from:

Code:
.method static updateWorkspaceLayoutCells(II)V
    .locals 0
    sput p0, Lcom/lge/launcher2/LauncherModel;->mCellCountX:I
    sput p1, Lcom/lge/launcher2/LauncherModel;->mCellCountY:I
    return-void
.end method
to
Code:
.method static updateWorkspaceLayoutCells(II)V
    .locals 0
    sput p0, Lcom/lge/launcher2/LauncherModel;->mCellCountX:I
    const/4 p1, 0x5
    sput p1, Lcom/lge/launcher2/LauncherModel;->mCellCountY:I
    return-void
.end method
As you can see, you only need to assign a new value to p1 (3rd line, in this case I set it to 5).

After this step, go to res/values-hdpi or values-xhdpi, and edit cell size in homescreen and in edit mode, and icon text size:
Code:
    <dimen name="workspace_cell_width">80.0dip</dimen>
    <dimen name="workspace_cell_height">80.0dip</dimen>
    <dimen name="app_icon_padding_top">4.0dip</dimen>
    <dimen name="app_icon_textsize">11.0dip</dimen>
    <dimen name="lg_editmode_CellWidth">76.0dip</dimen>
    <dimen name="lg_editmode_CellHeight">76.0dip</dimen>
And in the values/styles.xml edit the workspace icon styles (edit bottom paddings to have enough space for the text label)
Code:
    <style name="WorkspaceIcon.Portrait" parent="@style/WorkspaceIcon">
        <item name="android:paddingLeft">4.0dip</item>
        <item name="android:paddingTop">@dimen/app_icon_padding_top</item>
        <item name="android:paddingRight">4.0dip</item>
        <item name="android:paddingBottom">0.0dip</item>
        <item name="android:drawablePadding">1.0dip</item>
    </style>
After fine tuning the values in xmls, recompile and sign the apk, and you are done!

*****
The Following 20 Users Say Thank You to Gyebro For This Useful Post: [ Click to Expand ]
 
reedemerr
Old
#2  
Junior Member
Thanks Meter 4
Posts: 11
Join Date: Jan 2012
What other notifications work on this launcher besides the unread sms one ? Overal nice work mate.
 
Gyebro
Old
#3  
Gyebro's Avatar
Senior Member - OP
Thanks Meter 407
Posts: 100
Join Date: May 2012
There is 3 built in counter: missed calls, unread messages and unread e-mails. However the email count was not tested yet.

Sent from my GT-I9100 using xda app-developers app
 
nmeuret
Old
#4  
nmeuret's Avatar
Senior Member
Thanks Meter 677
Posts: 1,078
Join Date: Aug 2010
Location: 75013
Just installed on Wanam 12.5 (LPX), launcher works fine but unfortunatly the weather widget layout is buggy :



Maybe in french the text is longer !?



Phone : S4 I9505
Android Stock : 4.4.2 - ROM : PhoeniX ROM v8.0 XXUFNC9 - Kernel: KT-SGS4 (Hydra profile & script)
Android AOSB : 4.4.2 - ROM : AOSB 1.3.2 - Kernel: AOSB
Modem: XXUFNC9
 
reedemerr
Old
#5  
Junior Member
Thanks Meter 4
Posts: 11
Join Date: Jan 2012
I've noticed if you add a weather widget such as Beautiful widgets 4x1 weather. The icons and the overal layout becomes small.
 
Gyebro
Old
#6  
Gyebro's Avatar
Senior Member - OP
Thanks Meter 407
Posts: 100
Join Date: May 2012
Quote:
Originally Posted by nmeuret View Post
Just installed on Wanam 12.5 (LPX), launcher works fine but unfortunatly the weather widget layout is buggy :

Maybe in french the text is longer !?
Oh I see, I've removed the Yahoo logo, and now the "weather condition" string does not interfere with the clock digits. Updated downloads and screenshot in first post.

Quote:
Originally Posted by reedemerr View Post
I've noticed if you add a weather widget such as Beautiful widgets 4x1 weather. The icons and the overal layout becomes small.
I've noticed this too, and increased the cell size in the launcher -> Now it should be better! See first post.
 
reedemerr
Old
#7  
Junior Member
Thanks Meter 4
Posts: 11
Join Date: Jan 2012
Sadly the same problem persists with beautiful widgets. I think it doesnt like the custom widgets cuz stock google search bar is being displayed normaly. I'm using clock widget ics from market, it also becomes small when you add it to homescreen but that's not a problem, because it can be resized. Can't do the same thing with beautiful widgets :/
 
sab3r
Old
#8  
Senior Member
Thanks Meter 33
Posts: 182
Join Date: Mar 2011
damn it fc on thunderbolt rom :/ no idea why I pushed it to system/app with root explorer made permission rw-r--r-- and restarted phone...
 
Gyebro
Old
#9  
Gyebro's Avatar
Senior Member - OP
Thanks Meter 407
Posts: 100
Join Date: May 2012
Quote:
Originally Posted by sab3r View Post
damn it fc on thunderbolt rom :/ no idea why I pushed it to system/app with root explorer made permission rw-r--r-- and restarted phone...
Which one you are using: GingerBread or IceCream? (Because the launcher requires ICS)
 
supersa95
Old
#10  
supersa95's Avatar
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Jul 2012
great launcher...work on simplisti V

can you upload a 4x4 version?

Tags
howto, luncher, optimus ui
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes