Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
7ea9e804
Commit
7ea9e804
authored
Feb 28, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
プロジェクトPDFのみ、作業追加、更新ができるように修正
parent
479d019d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
+16
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
+12
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ProjectTaskLayout.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ZoomRelativeLayout.java
+3
-1
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
View file @
7ea9e804
...
...
@@ -1819,7 +1819,18 @@ public class ContentViewActivity extends ABVContentViewActivity {
}
Logger
.
d
(
TAG
,
"[singleTapMotion]:isOnClick=false"
);
if
(!
mPageScrollView
.
isZooming
())
{
if
(
mPageScrollView
.
isZooming
())
{
if
(!
isProjectPdf
)
{
ZoomRelativeLayout
zoomRelativeLayout
=
mShowPageLayout
.
get
(
mCurrentPageNumber
);
if
(
zoomRelativeLayout
==
null
)
{
Logger
.
e
(
TAG
,
"zoomRelativeLayout is null"
);
return
;
}
// 拡大中は拡大率を表示
int
scale
=
(
int
)
(
mShowPageLayout
.
get
(
mCurrentPageNumber
).
getScaleFactor
()
*
100
f
);
Toast
.
makeText
(
getApplicationContext
(),
String
.
format
(
"%d%%"
,
scale
),
Toast
.
LENGTH_SHORT
).
show
();
}
}
else
{
TranslateAnimation
toolBarAnimation
;
if
(
mToolBar
.
getVisibility
()
==
View
.
GONE
)
{
setToolbarVisable
(
true
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ProjectTaskLayout.java
View file @
7ea9e804
...
...
@@ -156,7 +156,7 @@ public class ProjectTaskLayout extends RelativeLayout {
final
Uri
uri
=
Uri
.
parse
(
url
);
if
(
url
.
contains
(
ABookKeys
.
ABOOK_CHECK_API
))
{
((
ContentViewActivity
)
context
).
commonShouldOverrideUrlLoading
(
uri
,
currentTaskDto
);
((
ContentViewActivity
)
context
).
commonShouldOverrideUrlLoading
(
uri
,
currentTaskDto
);
}
return
true
;
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/ZoomRelativeLayout.java
View file @
7ea9e804
...
...
@@ -184,7 +184,9 @@ public class ZoomRelativeLayout extends RelativeLayout {
@Override
protected
void
dispatchDraw
(
Canvas
canvas
)
{
canvas
.
save
(
Canvas
.
MATRIX_SAVE_FLAG
);
// canvas.concat(imgMatrix);
if
(!
isProjectPdf
)
{
canvas
.
concat
(
imgMatrix
);
}
super
.
dispatchDraw
(
canvas
);
canvas
.
restore
();
}
...
...
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