Exemplo n.º 1
0
 internal StateListDrawable(android.graphics.drawable.StateListDrawable.StateListState
                            state, android.content.res.Resources res)
 {
     android.graphics.drawable.StateListDrawable.StateListState @as = new android.graphics.drawable.StateListDrawable
                                                                      .StateListState(state, this, res);
     mStateListState = @as;
     setConstantState(@as);
     onStateChange(getState());
 }
Exemplo n.º 2
0
 internal StateListState(android.graphics.drawable.StateListDrawable.StateListState
                         orig, android.graphics.drawable.StateListDrawable owner, android.content.res.Resources
                         res) : base(orig, owner, res)
 {
     if (orig != null)
     {
         mStateSets = orig.mStateSets;
     }
     else
     {
         mStateSets = new int[getChildren().Length][];
     }
 }
Exemplo n.º 3
0
		internal StateListDrawable(android.graphics.drawable.StateListDrawable.StateListState
			 state, android.content.res.Resources res)
		{
			android.graphics.drawable.StateListDrawable.StateListState @as = new android.graphics.drawable.StateListDrawable
				.StateListState(state, this, res);
			mStateListState = @as;
			setConstantState(@as);
			onStateChange(getState());
		}