Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 66

Louie
Code is Art
Profile
Posts: 40
Reg: Dec 31, 2012
Toronto
400
03/18/13 09:01 AM (12 years ago)

Transparent empty space between rows

I am new at this, so your help is appreciated. How do I add a transparent empty space between rows? The current separator height is not enough. Already tried adjusting the “dividerHeight” in eclipse but it didn’t work. I am developing for both Android and ios using Buzztouch 2.0. Thanks
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
03/18/13 09:38 AM (12 years ago)
One hack that works is to add a row and link it to a screen that you later delete. Then go back into the menu and delete the row name. The result is an empty row that when clicked does nothing. This works on both platforms.
 
Louie
Code is Art
Profile
Posts: 40
Reg: Dec 31, 2012
Toronto
400
like
03/18/13 10:32 AM (12 years ago)
Thanks for your reply Crown Solutions, although I haven’t tried it yet but wouldn’t that give me a space of the same size as the other rows? I am just looking for half of that. And since I already defined a background color for the rows, would that space be transparent?
 
Crown Solutions
Aspiring developer
Profile
Posts: 463
Reg: Nov 11, 2011
MN
13,480
like
03/18/13 12:15 PM (12 years ago)
Yes, it will be the same size. You have to balance the size of the spaces, and the row height to get what you want. The background color will be the same for all, even the spaces, so it sounds like this might not work for you. You would have to modify the code in each of the projects (iOS & Android) to get what you are looking for.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.