alidiepuit / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Custom layout: Size of buttons #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My selfmade layout changed the size of the buttons. Some of them are now
very narrow.
Is there a way to keep the size?

Original issue reported on code.google.com by miji2b...@googlemail.com on 26 Apr 2010 at 9:06

GoogleCodeExporter commented 9 years ago
The size is auto calculated by Android depending of the text of the buttons. 
Keep the
size is difficult as it really depends of the contents of your button (if you 
have a
very long word for example). You can try different layout by inserting spaces 
between
two groups of letters, that should "wrap" the text in the next line.

I'll have a look to see if the size can be constrained.

Original comment by nguillau...@gmail.com on 26 Apr 2010 at 10:13

GoogleCodeExporter commented 9 years ago
Is the button size only text related or could a icon with a particular width 
(how
large?) solve it too?

Original comment by miji2b...@googlemail.com on 26 Apr 2010 at 12:27

GoogleCodeExporter commented 9 years ago
Hm, don't really know about the icon, I never tried to use a big one.

Original comment by nguillau...@gmail.com on 1 May 2010 at 3:10