[MOD][HOWTO]TW Launcher with different grid sizes

Search This thread

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
Thanks again for the mod...
Is there a way to change the color of the font? Or make it bold?
Did you have to quote the ENTIRE first post to say thank you? Please edit your quotes to something sane... some of us are reading on a phone and making us have to scroll pages of duplicate info is annoying. For that, I'll answer your exact question in the briefest possible way: perhaps


Sent from my SAMSUNG-SGH-I317 using Tapatalk 2
 
  • Like
Reactions: ImYourMacDaddy

GQJ

Senior Member
Jul 24, 2012
72
18
Did you have to quote the ENTIRE first post to say thank you? Please edit your quotes to something sane... some of us are reading on a phone and making us have to scroll pages of duplicate info is annoying. For that, I'll answer your exact question in the briefest possible way: perhaps


Sent from my SAMSUNG-SGH-I317 using Tapatalk 2

You are right, I made a mistake in copying the entire post. And did not consider that people were reading on the phone.

I did not mean to offend you.

I do appreciate your response to my inquiry, and if you have any further ideas about how that would be done, I would still like to learn about that.

If not, I understand.
 

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
I do appreciate your response to my inquiry, and if you have any further ideas about how that would be done, I would still like to learn about that.
Unfortunately, your question wasn't specific enough to answer. Are you referring to the font of the icon labels on the home screen, or something else? If the homescreen, a hint to the answer can be found in the original post, near the bottom of the code block that alters the styles.xml file...

Please keep in mind that I'm trying to get other people into the frame of mind for development, not to figure everything out for others. (That's not any type of attack - it's a generic statement.) My hope is that if I point people in the right (or left) direction, that they'll take things one step further... and share whatever they figure out.

The next person will take it to the next level, and so on. Eventually, instead of having just a few people here on XDA doing 95% of the development, I hope to get more people contributing and eventually have 20-30% of the community doing development of some kind or another.

I know its ambitious, and there's only a very tiny percentage of the community even using a NoteII. However, each single person that does one thing and shares is another person towards that goal.

Take care
Gary
 

GQJ

Senior Member
Jul 24, 2012
72
18
Unfortunately, your question wasn't specific enough to answer. Are you referring to the font of the icon labels on the home screen, or something else? If the homescreen, a hint to the answer can be found in the original post, near the bottom of the code block that alters the styles.xml file...

Please keep in mind that I'm trying to get other people into the frame of mind for development, not to figure everything out for others. (That's not any type of attack - it's a generic statement.) My hope is that if I point people in the right (or left) direction, that they'll take things one step further... and share whatever they figure out.

The next person will take it to the next level, and so on. Eventually, instead of having just a few people here on XDA doing 95% of the development, I hope to get more people contributing and eventually have 20-30% of the community doing development of some kind or another.

I know its ambitious, and there's only a very tiny percentage of the community even using a NoteII. However, each single person that does one thing and shares is another person towards that goal.

Take care
Gary

I was speaking about the font in general. Not knowing to differentiate between the home screen and the app drawer. I did not see an option to change the font color, unlike changing some of the other options indicated in your post, and the post you borrowed the information from. Plus, the options on the original guide show "menuAppsGrid" and "home" before it indicates what values need to be changed. Which I did not see in your post.

Personally, I don't know the first thing about .xml, so I would not necessarily want to offer any opinions just yet. Obviously that is not your job to answer every minute question I or anyone else has, and If I found something I thought I could indeed share, I would.

Clearly I could go and learn about xml, but my initial goal was to just follow the instructions, provide feedback, and maybe a screenshot if necessary, then take it to the next level if I could get into it. I appreciate that there are tutorials out there.

To answer your question about wanting to learn, or just being content with being handed the .apks, it is a little bit of both. It would be nice to understand how to adjust the figures on the .xml for the home screen, and understand the what the words mean. And provide input about what happened when I adjusted the figures as described in the two posts. But I'm pretty sure I do not want to build a ROM, or other complex tasks that I do not even know how to describe. I could become interested, or maybe not.
 

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
Again, you quoted the entire message. Please edit it down to what is relevant to the reply. When someone quotes an entire post (and I'm reading from my phone), I generally skip their post completely. Then, when I'm back on my PC, I don't see their post in my list of new messages.

I was speaking about the font in general. ... I did not see an option to change the font color, unlike changing some of the other options indicated in your post...
Yes, take a look in the one file I mentioned in my previous reply. That's where I changed the font size for the 5 columns, so there might be something in there for changing it to bold or perhaps the color. I don't know off the top of my head what can and can't be changed from there, so would have to go through the same steps as you would to figure it out.
 

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
Gary, would this work with the T-mobile Note 2 or just the AT&T version?
If you follow the steps, it should work for any Note2.

The attached samples will probably work with a TMO firmware, but might introduce breakage somewhere if there are differences in the firmware versions. (For example, does TMO have multi-window? If so, that might get broken using the AT&T apk's.)

Gary
 

padlad

Senior Member
Jan 23, 2005
1,239
663
Many, many thanks for this 'how to'! I have successfully applied the mod to have a 6x7 grid size, plus, with a little bit more tinkering, a 6 icon dock for my international Note 2. Nice one ;)
 
  • Like
Reactions: GR8CDNPumpkin

Khar00f

Senior Member
Aug 22, 2010
86
12
Montreal
Good day folks, I seem to be having a small issue.

I just flashed Stock LK7 Rom on my i317m, looked everywhere for "res/values/bools.xml" and for the life of me I can't find it anywhere

Actually I don't have a RES folder at all, went from the root of the phone and looked in every folder (almost) no RES folder

Tried using ES File Explorer and did a search for "bools.xml" starting from the ROOT and it came up blank.

- Extracted SecLauncher2.apk from the system/app folder there is a RES folder there, but no VALUES folder within and no bools.xml anywhere in the SecLauncher2.apk file.

Can someone tell me if it's a ROM thing where things got renamed and moved around or am I doing something wrong?

Thank you for The How-to
Rodi
 

garyd9

Inactive Recognized Developer
Sep 13, 2006
2,643
2,732
53
Pittsburgh, PA
I just flashed Stock LK7 Rom on my i317m, looked everywhere for "res/values/bools.xml" and for the life of me I can't find it anywhere
I'll try very hard to restrain myself here. Please go read the original post for this thread again. Follow the links provided... If you still don't get it, please read it again and again and again until you do. It's not difficult if you follow the instructions.
 

Woody

Retired Admin - Vacationing in Nanda Parbat
Nov 18, 2010
8,842
16,519
Immersed in Dark Matter
No you cannot make a request. I suggest you re-read this thread and see how "request" get dealt with (I did). This is a HOW-TO thread, not a please make this for me thread. If you want something made, ask for it somewhere else. If you want to learn how to make these yourself, then stick around.

THIS IS A HOWTO. This isn't a "download the attached file and donate to me" thread. This is a thread intended to help people to learn how to modify their own devices. If all you want is something pre-made to install on your phone, there are several good customized firmwares (ROMs) available in this subforum. The attached files are so people can download a working example to compare to their own work. Please keep this in mind when replying to the thread.
 

initial_k

Senior Member
Feb 25, 2011
171
23
If you follow the steps, it should work for any Note2.

The attached samples will probably work with a TMO firmware, but might introduce breakage somewhere if there are differences in the firmware versions. (For example, does TMO have multi-window? If so, that might get broken using the AT&T apk's.)

Gary

Gary, you're right. After updating to the T-mobile rom with multiview, the samples no longer work. Touchwiz crashed constantly.
 

thunderx2000

Senior Member
Dec 24, 2008
89
4
Please spend the time to read the thread. Even just read the entire original post. This thread is a "how to" and the instructions apply fine to the newer firmware files.

Sent from my SAMSUNG-SGH-I317 using Tapatalk 2

Yeah I did that. I read the whole post. I even tried to do it myself based of the how to guide in the link you posted. I went step by step, but guess what. It doesn't work, at all. I even tried the on of the files you posted, they didn't work either. For none of the stock ROMs.
 

Rene_ajax

Senior Member
Jun 17, 2012
1,048
153
26
Amsterdam
I changed grid to 5 vertical, and 4 horizontal. But only my layout is weird. It doesnt match with your given ones, I think because Galaxy s2 has other values. Look! Help!:(
 

Attachments

  • Screenshot_2013-02-18-17-52-16.jpg
    Screenshot_2013-02-18-17-52-16.jpg
    32.7 KB · Views: 290

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    I was going to re-post the apk's I pulled together for modifying the samsung touchwiz launcher to have an extra row of icon space on the home screens and an extra column as well. However, there's a better solution:

    THIS IS A HOWTO. This isn't a "download the attached file and donate to me" thread. This is a thread intended to help people to learn how to modify their own devices. If all you want is something pre-made to install on your phone, there are several good customized firmwares (ROMs) available in this subforum. The attached files are so people can download a working example to compare to their own work. Please keep this in mind when replying to the thread.

    First, a link to another thread that explains how to modify the launcher. These instructions are for a galaxy S III, but they work just fine for the Note II:

    http://xdaforums.com/showthread.php?p=27433971

    That's not my thread and 99.9% of any credit for this should be given to the person who posted the that thread and the people from whom that person learned from.

    Now, I found I didn't like these directions as-is. First, I thought the icon labels got too truncated when using this with 5 columns. Second, I really didn't like how this mod moved the little "page" indicator dots below the docked icons. (The photo's on this thread don't show that, but if you follow the directions, they are moved.)

    So, I spent a few hours playing with sizes and such to get things to look a bit better (from my perspective.) That's how I came up with the apk's I posted a week or so ago.

    Below, I'll dump my notes on the measurements that I kept so I could reproduce the changes I did (for the next firmware update.) They don't make much sense on their own, but if you combine them with the above linked thread, they make perfect sense. Keep in mind that these are my notes and not even an attempt as a tutorial.

    Now, these notes are YOUR notes as well. Please use them, change them to suite your own desires, or ignore them.

    There's only one thing better than downloading a custom firmware for your phone: Customizing that firmware yourself.

    Code:
    SecLauncher2... modifying the grid sizes
    
    To enable scrolling on any of these:
    
    	res/values/bools.xml:  change fixedWallpaperOffset to "false" (to turn on scrolling)
    
    The rest of the files to edit are all in "res/values-sw359dp-xhdpi"
    
    
    For 4x5 (extra vertical row):
    
    	integers.xml:
    
        <integer name="home_cellCountX">4</integer>
        <integer name="home_cellCountY">5</integer>
    
    	dimens.xml
    
        <dimen name="app_icon_size">44.0dip</dimen>
    
        <dimen name="home_cellWidth_port">80.0dip</dimen>
        <dimen name="home_cellHeight_port">90.0dip</dimen>
        <dimen name="home_cellGapX_port">10.0dip</dimen>
        <dimen name="home_cellGapY_port">2.0dip</dimen>
    
        <dimen name="home_pageMarginPlusPaddingTop">12.0dip</dimen>
    
        <dimen name="home_pageIndicatorTop">484.0dip</dimen>
        <dimen name="home_pageIndicatorTopShrunken">484.0dip</dimen>
    
    
    For 5x4 (extra horiz column):
    
    	use the 4x5 and 5x5 to figure it out.
    
    
    for 5x5 (both extra row and extra column):
    
    	integers.xml
    
        <integer name="home_cellCountX">5</integer>
        <integer name="home_cellCountY">5</integer>
    
    	dimens.xml
    
        <dimen name="app_icon_size">44.0dip</dimen>
    
        <dimen name="home_cellWidth_port">68.0dip</dimen>
        <dimen name="home_cellHeight_port">90.0dip</dimen>
        <dimen name="home_cellGapX_port">4.0dip</dimen>
        <dimen name="home_cellGapY_port">2.0dip</dimen>
    
        <dimen name="home_pageMarginPlusPaddingTop">12.0dip</dimen>
    
        <dimen name="home_pageIndicatorTop">484.0dip</dimen>
        <dimen name="home_pageIndicatorTopShrunken">484.0dip</dimen>
    
    
    	styles.xml  (this is needed for 5 columns or the icon labels get truncated - the change is only the textSize)
    
        <style name="HomeIcon" parent="@style/BaseHomeIcon">
            <item name="android:textSize">12.0dip</item>
    As a bonus, I'll also upload some apk files that already have these changes in place. My primary intention for uploading them is to serve as an example, but they are fully functional on a stock i317 firmware.

    If you want to use them as-is, do a backup first. Then figure out which you want based on the name. (4x5 is 4 columns and 5 rows IN ADDITION to the dock row. if "scroll" is in the name, the wallpaper will scroll, else it won't.) Then rename the file to "SecLauncher2.apk", and use something like root explorer (that allows you to write to the /system/app partition) and overwrite the existing file by the same name. After you do that, your home launcher will get a little nutty for a second or three, and then it'll work fine. (If it doesn't, restore the backup.)

    (If you download one of these files with IE, the file extension might get changed from "apk" to "zip" If so, just change it back to .apk.)

    Take care
    Gary
    3
    I do appreciate your response to my inquiry, and if you have any further ideas about how that would be done, I would still like to learn about that.
    Unfortunately, your question wasn't specific enough to answer. Are you referring to the font of the icon labels on the home screen, or something else? If the homescreen, a hint to the answer can be found in the original post, near the bottom of the code block that alters the styles.xml file...

    Please keep in mind that I'm trying to get other people into the frame of mind for development, not to figure everything out for others. (That's not any type of attack - it's a generic statement.) My hope is that if I point people in the right (or left) direction, that they'll take things one step further... and share whatever they figure out.

    The next person will take it to the next level, and so on. Eventually, instead of having just a few people here on XDA doing 95% of the development, I hope to get more people contributing and eventually have 20-30% of the community doing development of some kind or another.

    I know its ambitious, and there's only a very tiny percentage of the community even using a NoteII. However, each single person that does one thing and shares is another person towards that goal.

    Take care
    Gary
    3
    No you cannot make a request. I suggest you re-read this thread and see how "request" get dealt with (I did). This is a HOW-TO thread, not a please make this for me thread. If you want something made, ask for it somewhere else. If you want to learn how to make these yourself, then stick around.

    THIS IS A HOWTO. This isn't a "download the attached file and donate to me" thread. This is a thread intended to help people to learn how to modify their own devices. If all you want is something pre-made to install on your phone, there are several good customized firmwares (ROMs) available in this subforum. The attached files are so people can download a working example to compare to their own work. Please keep this in mind when replying to the thread.
    3
    Could you share yours please and post it here? Big thanks!

    Sent from my AT&T Galaxy Note II /w wireless charging.

    You can get it from THIS POST have fun!

    *Update* Updated to 6x7 grid size with up to 7 icons in the dock, get it from THIS POST have more fun! ;)
    2
    I used the 4x5 scroll apk. It worked great. . I was worried about it resetting all my folders and widgets, but they just bumped up. The 4x4 twcalendar is a little cut off on top and bottom, but not enough to effect me. My music and google search widgets dissapeared but I reset them and all is good. Since the Music widget is re-sizable is here a way to make all widgets re sizable with the tw launcher?