[android-developers] Re: help me understand: upper case characters in layout file names are disallowed

2010-11-23 Thread Leon Moreyn-Android Development
It a language structure concept. You just have to build around it. Its
kind of like saying why can i only pay with quarters into a vending
machine if I have two dimes and a nickel. The structure of the machine
is not designed to handle you dimes and nickels and this way the
machine can process faster with less distractions.

On Nov 21, 7:00 pm, Justin Collum jcol...@gmail.com wrote:
 I understand that these files map to R classes (generated). So I see
 why punctuation characters (most) are disallowed. But I can't for the
 life of me think of why main would be allowed but Main would not.
 Why not something like firstScreen?  Is there something about
 generated files that I'm missing? Do caps screw them up somehow? I'd
 like to make a view named defineNewList or something along those
 lines. Annoying to have to use underscores: define_new_list.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help me understand: upper case characters in layout file names are disallowed

2010-11-23 Thread Diego Torres Milano
This limitation surely comes from supporting some filesystems on some
operating systems which are case insensitive.
BTW, you can name your View defineNewList but you cannot name your
layout, which is a filename, Main.
Leon Moreyn-Android Development wrote:
 It a language structure concept. You just have to build around it. Its
 kind of like saying why can i only pay with quarters into a vending
 machine if I have two dimes and a nickel. The structure of the machine
 is not designed to handle you dimes and nickels and this way the
 machine can process faster with less distractions.

 On Nov 21, 7:00 pm, Justin Collum jcol...@gmail.com wrote:
  I understand that these files map to R classes (generated). So I see
  why punctuation characters (most) are disallowed. But I can't for the
  life of me think of why main would be allowed but Main would not.
  Why not something like firstScreen?  Is there something about
  generated files that I'm missing? Do caps screw them up somehow? I'd
  like to make a view named defineNewList or something along those
  lines. Annoying to have to use underscores: define_new_list.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en