FORUMS

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

124 posts
Thanks Meter: 477
 
By Gyebro, Senior Member on 24th September 2012, 07:13 AM
Post Reply Email Thread
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 21 Users Say Thank You to Gyebro For This Useful Post: [ View ] Gift Gyebro Ad-Free
24th September 2012, 07:53 AM |#2  
Junior Member
Thanks Meter: 4
 
More
What other notifications work on this launcher besides the unread sms one ? Overal nice work mate.
24th September 2012, 08:06 AM |#3  
Gyebro's Avatar
OP Senior Member
Thanks Meter: 477
 
More
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
24th September 2012, 08:44 AM |#4  
nmeuret's Avatar
Senior Member
Flag Montpellier
Thanks Meter: 1,122
 
More
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 !?
24th September 2012, 08:55 AM |#5  
Junior Member
Thanks Meter: 4
 
More
I've noticed if you add a weather widget such as Beautiful widgets 4x1 weather. The icons and the overal layout becomes small.
24th September 2012, 10:20 PM |#6  
Gyebro's Avatar
OP Senior Member
Thanks Meter: 477
 
More
Thumbs up
Quote:
Originally Posted by nmeuret

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

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.
25th September 2012, 06:10 AM |#7  
Junior Member
Thanks Meter: 4
 
More
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 :/
25th September 2012, 12:13 PM |#8  
Senior Member
Thanks Meter: 39
 
More
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...
25th September 2012, 07:17 PM |#9  
Gyebro's Avatar
OP Senior Member
Thanks Meter: 477
 
More
Quote:
Originally Posted by sab3r

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)
25th September 2012, 08:21 PM |#10  
supersa95's Avatar
Junior Member
Thanks Meter: 0
 
More
great launcher...work on simplisti V

can you upload a 4x4 version?
26th September 2012, 09:55 PM |#11  
Gyebro's Avatar
OP Senior Member
Thanks Meter: 477
 
More
Quote:
Originally Posted by supersa95

great launcher...work on simplisti V

can you upload a 4x4 version?

Hello, 4x4 version can be found in the original thread: [APP][ICS only] [X/HDPI/qHD] >> LG UI 3.0 << [JUN29]
Post Reply Subscribe to Thread

Tags
howto, luncher, optimus ui

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

Advanced Search
Display Modes