Ok, that is what I tried but it did not solve the problem!
If I do it (objPanel = mbase) the Panel View deals only with the properties Color and Background
Background = current Drawable state like ColorDrawable or GradientDrawable or BitmapDrawable
Color = Background Color if Background state is ColorDrawable
What I need to handle by code are all the values of the Background properties of the different Background states, in Detail:
Background = ColorDrawable, Properties: Color/Bordercolor/Borderwidth/radius?
Background = GradientDrawable, Properties: Orientation/First color/Second color?
Background = BitmapDrawable, Properties: ImageFile/Gravity?
Any Idea how to get access? If not I hope erel knew it?