Android layout view id name issue
<p>I recently faced an issue when i named a view as <code>android:id="@+id/TextView1"</code> and the code </p>

<pre><code>TextView tv1 = (TextView) findViewById(R.id.TextView1);
</code></pre>

<p>was returning wrong view even though there were no warnings given for the naming convention.
When i changed the name to text_view_1 it worked.</p>

<p>I know the usual naming convention is all small case like <code>android:id="@+id/text_view_1"</code> or camel case like <code>android:id="@+id/textView1"</code></p>

<p>Is there any documented resource which explains the issue or any answer for it?
Also i want to know what m stands for in the variable name which i often see in open source code. e.g.</p>

<pre><code>TextView mTextView;
</code></pre>

<p>Its a noob question but i couldn't find a answer anywhere.</p>
