am c81a0751: Merge "Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"" into jb-dev
* commit 'c81a075196a6e0feed452b689ef523e156701f95': Revert "Adding getters/setters for StackView xml attrs. (Bug 6104219)"
This commit is contained in:
@@ -28253,10 +28253,6 @@ package android.widget {
|
|||||||
ctor public StackView(android.content.Context);
|
ctor public StackView(android.content.Context);
|
||||||
ctor public StackView(android.content.Context, android.util.AttributeSet);
|
ctor public StackView(android.content.Context, android.util.AttributeSet);
|
||||||
ctor public StackView(android.content.Context, android.util.AttributeSet, int);
|
ctor public StackView(android.content.Context, android.util.AttributeSet, int);
|
||||||
method public int getClickColor();
|
|
||||||
method public int getOutlineColor();
|
|
||||||
method public void setClickColor(int);
|
|
||||||
method public void setOutlineColor(int);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Switch extends android.widget.CompoundButton {
|
public class Switch extends android.widget.CompoundButton {
|
||||||
|
|||||||
@@ -219,46 +219,6 @@ public class StackView extends AdapterViewAnimator {
|
|||||||
mFramePadding = (int) Math.ceil(density * FRAME_PADDING);
|
mFramePadding = (int) Math.ceil(density * FRAME_PADDING);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the color of the outlines of items in this StackView.
|
|
||||||
*
|
|
||||||
* @param color the color of the StackView item outlines.
|
|
||||||
* @attr ref android.R.styleable#StackView_resOutColor
|
|
||||||
*/
|
|
||||||
@android.view.RemotableViewMethod
|
|
||||||
public void setOutlineColor(int color) {
|
|
||||||
mResOutColor = color;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the color of the outlines of items in this StackView.
|
|
||||||
*
|
|
||||||
* @attr ref android.R.styleable#StackView_resOutColor
|
|
||||||
*/
|
|
||||||
public int getOutlineColor() {
|
|
||||||
return mResOutColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the color for the click feedback on items in this StackView.
|
|
||||||
*
|
|
||||||
* @param color the color of the StackView item click feedback.
|
|
||||||
* @attr ref android.R.styleable#StackView_clickColor
|
|
||||||
*/
|
|
||||||
@android.view.RemotableViewMethod
|
|
||||||
public void setClickColor(int color) {
|
|
||||||
mClickColor = color;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the color of the click feedback on items in this StackView.
|
|
||||||
*
|
|
||||||
* @attr ref android.R.styleable#StackView_clickColor
|
|
||||||
*/
|
|
||||||
public int getClickColor() {
|
|
||||||
return mClickColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Animate the views between different relative indexes within the {@link AdapterViewAnimator}
|
* Animate the views between different relative indexes within the {@link AdapterViewAnimator}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user