[android-developers] Re: Confused by @Override
"The alternative would be to copy the code from that class and create your own, making those fields protected or providing methods to mutate them."
That's what I've started to conclude myself and attempted to do so, but ran into the problem of accessing `com.android.internal.R`. Which means that I'll have to provide a replacement for each value, e.g.
com.android.internal.R.styleable.KeyboardView_keyBackground
com.android.internal.R.styleable.KeyboardView_verticalCorrection
com.android.internal.R.styleable.KeyboardView_keyPreviewLayout
com.android.internal.R.styleable.KeyboardView_keyPreviewOffset
com.android.internal.R.styleable.KeyboardView_keyPreviewHeight
com.android.internal.R.styleable.KeyboardView_keyTextSize
com.android.internal.R.styleable.KeyboardView_keyTextColor
com.android.internal.R.styleable.KeyboardView_labelTextSize
com.android.internal.R.styleable.KeyboardView_popupLayout
com.android.internal.R.styleable.KeyboardView_shadowColor
com.android.internal.R.styleable.KeyboardView_shadowRadius
and more. Deeper and deeper. And I just want to change the background image of the spacebar.
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home