title: Protected fields not visible to subclasses
body: <p>I'm writing a custom view that directly extends <code>android.view.View</code>. If I try to access fields <code>mScrollX</code> or <code>mScrollY</code>, I see an error that the field "cannot be resolved or is not a field." The <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/view/View.java;h=65904972d39662613c67f549a26a0213b77747cc;hb=refs/heads/gingerbread-release" rel="noreferrer">source code for android.view.View</a> has mScrollX, mScrollY, and similar variables declared <code>protected</code>. How is it that my direct subclass cannot access protected fields of its parent class? (Classes like <a href="http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/widget/ScrollView.java;h=2ad67baa4d423b227123b019e6da44101018269c;hb=refs/heads/gingerbread-release" rel="noreferrer">ScrollView</a> apparently can.)</p>
  
  <p>P.S. I realize that I can call <code>getScrollX()</code>, but I want to update these fields; calling <code>setScroll()</code> has side effects that I don't want.</p>