Commit ba120197 by zhengnw@sobot.com

widget 1.2.8 属性添加sobot标识,避免和客户出现重名问题

parent f59ad090
......@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'widget_x' //项目名
PUBLISH_VERSION = '1.2.7' //版本号
PUBLISH_VERSION = '1.2.8' //版本号
}
......
......@@ -169,10 +169,10 @@ public class CalendarLayout extends LinearLayout {
super(context, attrs);
setOrientation(LinearLayout.VERTICAL);
TypedArray array = context.obtainStyledAttributes(attrs, R.styleable.Sobot_CalendarLayout);
mContentViewId = array.getResourceId(R.styleable.Sobot_CalendarLayout_calendar_content_view_id, 0);
mDefaultStatus = array.getInt(R.styleable.Sobot_CalendarLayout_default_status, STATUS_EXPAND);
mCalendarShowMode = array.getInt(R.styleable.Sobot_CalendarLayout_calendar_show_mode, CALENDAR_SHOW_MODE_BOTH_MONTH_WEEK_VIEW);
mGestureMode = array.getInt(R.styleable.Sobot_CalendarLayout_gesture_mode, GESTURE_MODE_DEFAULT);
mContentViewId = array.getResourceId(R.styleable.Sobot_CalendarLayout_sobot_calendar_content_view_id, 0);
mDefaultStatus = array.getInt(R.styleable.Sobot_CalendarLayout_sobot_default_status, STATUS_EXPAND);
mCalendarShowMode = array.getInt(R.styleable.Sobot_CalendarLayout_sobot_calendar_show_mode, CALENDAR_SHOW_MODE_BOTH_MONTH_WEEK_VIEW);
mGestureMode = array.getInt(R.styleable.Sobot_CalendarLayout_sobot_gesture_mode, GESTURE_MODE_DEFAULT);
array.recycle();
mVelocityTracker = VelocityTracker.obtain();
final ViewConfiguration configuration = ViewConfiguration.get(context);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment