Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sobot_android
Sobot_module_Dev
Commits
ba120197
Commit
ba120197
authored
Jul 24, 2024
by
zhengnw@sobot.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widget 1.2.8 属性添加sobot标识,避免和客户出现重名问题
parent
f59ad090
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
sobot-widget-publish-mavencentral.gradle
sobot_widget/sobot-widget-publish-mavencentral.gradle
+1
-1
CalendarLayout.java
...java/com/sobot/widget/ui/calenderview/CalendarLayout.java
+4
-4
CalendarViewDelegate.java
...om/sobot/widget/ui/calenderview/CalendarViewDelegate.java
+0
-0
attrs.xml
sobot_widget/src/main/res/values/attrs.xml
+0
-0
No files found.
sobot_widget/sobot-widget-publish-mavencentral.gradle
View file @
ba120197
...
@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
...
@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext
{
ext
{
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_GROUP_ID
=
"com.sobot.library"
//项目包名
PUBLISH_ARTIFACT_ID
=
'widget_x'
//项目名
PUBLISH_ARTIFACT_ID
=
'widget_x'
//项目名
PUBLISH_VERSION
=
'1.2.
7
'
//版本号
PUBLISH_VERSION
=
'1.2.
8
'
//版本号
}
}
...
...
sobot_widget/src/main/java/com/sobot/widget/ui/calenderview/CalendarLayout.java
View file @
ba120197
...
@@ -169,10 +169,10 @@ public class CalendarLayout extends LinearLayout {
...
@@ -169,10 +169,10 @@ public class CalendarLayout extends LinearLayout {
super
(
context
,
attrs
);
super
(
context
,
attrs
);
setOrientation
(
LinearLayout
.
VERTICAL
);
setOrientation
(
LinearLayout
.
VERTICAL
);
TypedArray
array
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Sobot_CalendarLayout
);
TypedArray
array
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
Sobot_CalendarLayout
);
mContentViewId
=
array
.
getResourceId
(
R
.
styleable
.
Sobot_CalendarLayout_calendar_content_view_id
,
0
);
mContentViewId
=
array
.
getResourceId
(
R
.
styleable
.
Sobot_CalendarLayout_
sobot_
calendar_content_view_id
,
0
);
mDefaultStatus
=
array
.
getInt
(
R
.
styleable
.
Sobot_CalendarLayout_default_status
,
STATUS_EXPAND
);
mDefaultStatus
=
array
.
getInt
(
R
.
styleable
.
Sobot_CalendarLayout_
sobot_
default_status
,
STATUS_EXPAND
);
mCalendarShowMode
=
array
.
getInt
(
R
.
styleable
.
Sobot_CalendarLayout_calendar_show_mode
,
CALENDAR_SHOW_MODE_BOTH_MONTH_WEEK_VIEW
);
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_gesture_mode
,
GESTURE_MODE_DEFAULT
);
mGestureMode
=
array
.
getInt
(
R
.
styleable
.
Sobot_CalendarLayout_
sobot_
gesture_mode
,
GESTURE_MODE_DEFAULT
);
array
.
recycle
();
array
.
recycle
();
mVelocityTracker
=
VelocityTracker
.
obtain
();
mVelocityTracker
=
VelocityTracker
.
obtain
();
final
ViewConfiguration
configuration
=
ViewConfiguration
.
get
(
context
);
final
ViewConfiguration
configuration
=
ViewConfiguration
.
get
(
context
);
...
...
sobot_widget/src/main/java/com/sobot/widget/ui/calenderview/CalendarViewDelegate.java
View file @
ba120197
This diff is collapsed.
Click to expand it.
sobot_widget/src/main/res/values/attrs.xml
View file @
ba120197
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment