protected GradientDrawable.Orientation getDropShadowOrientation() {
// Gets the orientation for the static and sliding drawer. The overlay drawer provides its own implementation.
switch (getPosition()) {
case TOP:
return GradientDrawable.Orientation.BOTTOM_TOP;
case RIGHT:
return GradientDrawable.Orientation.LEFT_RIGHT;
case BOTTOM:
return GradientDrawable.Orientation.TOP_BOTTOM;
default:
return GradientDrawable.Orientation.RIGHT_LEFT;
}
}
MenuDrawer.java 文件源码
java
阅读 34
收藏 0
点赞 0
评论 0
项目:ultrasonic
作者:
评论列表
文章目录