Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 58

pimentazores
Aspiring developer
Profile
Posts: 47
Reg: Mar 26, 2013
Barcelona
8,020
05/01/14 12:06 PM (10 years ago)

Menu with Image

Hi guys, I'm having problems with the Menu with Image plugin for ANDROID. Trying to remake some apps now with the BT 3.0, the row's footer (second line) text is overlapping the row's image. And in case this text is large and splits in more then one row, it will also overlap the text from the first line of the row. This use to work great with BT V2.0... Any ideas? I am not self hosted. Thanks, Pedro
 
peterj
Apple Fan
Profile
Posts: 113
Reg: Jun 19, 2011
location unknow...
6,630
like
05/01/14 03:29 PM (10 years ago)
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
05/01/14 10:01 PM (10 years ago)
Did you download recently? I had a fix in for that problem. If you downloaded in the last few weeks, then I may need to tweak something in the layout. The layout is pretty complex because it has to handle so many scenarios.
 
pimentazores
Aspiring developer
Profile
Posts: 47
Reg: Mar 26, 2013
Barcelona
8,020
like
05/02/14 02:02 PM (10 years ago)
Hi Susan, Yes, I'm downloading it everyday since the problem started - including today. I've fixed one part - the 2nd line text is not overlapping the row's image anymore, just by adding this inside the layout (android:id="@+id/descriptionView"): android:layout_toRightOf="@+id/iconView" But it stills overlapping the first line of the row. Im trying different ideas (e.g. android:layout_below="@+id/titleView") but no success so far... Could it have something to do with the java code? Thanks Petej for the idea, it helped me knowing where to start looking for..
 
kingelessar
Lost but trying
Profile
Posts: 155
Reg: Mar 10, 2014
UK
6,500
like
05/03/14 08:06 AM (10 years ago)
I just had the same problem in android. The "menu image advanced" plugin should solve it for you. I now use "menu with image" in ios and "menu image advanced" in android. The latter doesn't allow you to choose between 3 different image sizes but it does display row descriptions ok.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
05/03/14 02:49 PM (10 years ago)
I'll try to take a look at the Menu with Image within the next few days. The Menu Image Advanced has a better approach to images because they are handled the XML.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
05/03/14 06:22 PM (10 years ago)
I think I found what is wrong. On around line 775 of the .java file, check to see if this line is commented out: descriptionView.setLayoutParams(lp); Uncomment it, and see if that solves the problem. The idea to set it up in the xml may work, but in the java I changed it so that it converts the pixels to dp, which should have better performance across all devices.
 
pimentazores
Aspiring developer
Profile
Posts: 47
Reg: Mar 26, 2013
Barcelona
8,020
like
05/04/14 08:23 AM (10 years ago)
Yes Susan, it worked! Funny that I have tried this before, but probably I've messed with something else in the layout or something... Now I've just uncommented this line and it worked! Thank for all you help and support!
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
05/04/14 09:22 AM (10 years ago)
I will get it posted for everyone soon. I am adding a couple new features--a background color behind the header image, and the ability to set the opacity of the header image which will let users to make a iOS7 look.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
05/04/14 10:40 PM (10 years ago)
I updated the app tonight, and this problem should be resolved in the new version.
 

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.