Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 166

Agu
Lost but trying
Profile
Posts: 98
Reg: Mar 06, 2014
GRANADA
980
03/12/17 05:41 AM (7 years ago)

Menu with image: description text problem [edited with more information]

Hello, i´m working on android, not self hosted, android studio. I´m using Menu with image pluging and have a problem with desdcription text on large devices. On 4,7 inches screen size device both title and description text looks perfect, but on 5.5 inches screen description text is cut. Please, see images to understand better. I´m sorry, my english is not good. Any idea to fix it? I tryed changing parameters on Size of Rows and Fonts menu in control panel of Menu with image plugin: no changes. Had the same problems with menu simple, but solve it increasing: Row Height (number) to 100 on menu siple control panel. I try the same on menu with image control pannel with no changes. Maybe I can do it directly on app code? How can I do this (if you think it could fix the problem). Thanks. Agu. https://www.dropbox.com/s/i1eaii7r9i68xx0/IMG_20170312_130213.jpg?dl=0 https://www.dropbox.com/s/bpcakt5vqnj454c/IMG_20170312_130239.jpg?dl=0
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/13/17 03:38 PM (7 years ago)
Sadly, with Android as well as iOS, one size does not always 'fit all'. Subsequently a lot of design work is more about appearance than functionality at times. What you may want to consider, is a design for each major screen size you plan to support. https://developer.android.com/training/basics/supporting-devices/screens.html Take a look at that, and see what you're willing to do in order to alleviate this. Otherwise, shorten your sentences, use a smaller font, whatever it takes. Cheers! -- Smug
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/14/17 09:57 AM (7 years ago)
Buzztouch supports the notion of small devices and large devices. On iOS (at the moment) iPhones and iPods are small devices, iPads are large devices. Relatively straightforward. On Android, with the wide range of devices, it's a bit harder. Buzztouch still considers all devices as small or large, but in my experience, it isn't always obvious which devices falls into which category, as the screen density and resolution complicates things. The following link will explain this better than me. https://developer.android.com/guide/practices/screens_support.html I do what Smug suggested - I adjust the size of the fonts I use and keep the length of text as brief as possible. Alan
 
Agu
Lost but trying
Profile
Posts: 98
Reg: Mar 06, 2014
GRANADA
980
like
03/14/17 10:06 AM (7 years ago)
Thanks, will follow your advices Now i´m trying to play around with the xml parameters on wb_screen_menuimage_row.xml file and see if that does any good as ictguy advice me https://www.buzztouch.com/forum/thread.php?tid=0D44A2F50B859D4DD771EF2 Any idea about that?. I´m not sure how play with it. Agu.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/14/17 08:13 PM (7 years ago)
Because every situation is different, it's hard to say 'do this', because what works for me may not work for you. That being said, the best thing is to play around with it and see what happens. Can you break it? Of course! But either make a backup, or just use a new copy of the menu/cell xml file and try again. You may break it, but it's easy to fix, and you can't break it 'forever'. If you have an actual android device, use that; it's much faster than an emulator. But also create different devices in your emulator for testing once you feel a bit more confident in your ability; this will allow you to view your work in a variety of situations. Cheers! -- Smug
 

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.