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
833c99f1
Commit
833c99f1
authored
Mar 22, 2021
by
onuma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
作業報告(追加・変更)画面では、IO帳票アイコンを非表示にした。
parent
1b821011
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
+1
-3
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ParentWebViewActivity.java
+4
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
View file @
833c99f1
...
...
@@ -122,6 +122,8 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
protected
Button
operationHomeButton
;
protected
ImageButton
taskListButton
;
protected
ImageButton
helpButton
;
// 簡易帳票印刷ボタン
protected
ImageButton
printButton
;
protected
boolean
isPageFinished
;
protected
Double
latitude
;
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
View file @
833c99f1
...
...
@@ -86,8 +86,6 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
private
ImageButton
reloadButton
;
private
ImageButton
downloadButton
;
// 簡易帳票印刷ボタン
private
ImageButton
printButton
;
private
int
objectLogId
;
private
WebView
webView
;
...
...
@@ -382,7 +380,6 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
}
});
printButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_print
);
printButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
...
...
@@ -741,6 +738,7 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
/**
* 簡易帳票印刷ボタン活性制御
* 簡易帳票区分が1のデータが存在する場合表示、それ以外非表示
* これとは別に、ヘルプボタンが非表示になる時に必ず非表示になる。
*/
private
void
printButtonActivityControl
()
{
OperationDto
operation
=
mOperationDao
.
getOperation
(
mOperationId
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ParentWebViewActivity.java
View file @
833c99f1
...
...
@@ -82,6 +82,7 @@ public class ParentWebViewActivity extends ABVCheckContentViewActivity {
btnWebBack
=
(
Button
)
findViewById
(
R
.
id
.
btnWebBack
);
btnWebForward
=
(
Button
)
findViewById
(
R
.
id
.
btnWebForward
);
m_progress
=
(
ProgressBar
)
findViewById
(
R
.
id
.
refresh_prog
);
printButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_print
);
btnLinkOriginalBack
=
(
Button
)
findViewById
(
R
.
id
.
btn_link_original_back
);
...
...
@@ -134,8 +135,11 @@ public class ParentWebViewActivity extends ABVCheckContentViewActivity {
protected
void
commonConfigureHeader
()
{
if
(
mStatusCode
==
Constant
.
XWalkWebViewDisplayStatus
.
InitView
)
{
//フォームが非表示時のみヘルプボタン表示
helpButton
.
setVisibility
(
View
.
VISIBLE
);
printButton
.
setVisibility
(
View
.
VISIBLE
);
}
else
{
helpButton
.
setVisibility
(
View
.
INVISIBLE
);
printButton
.
setVisibility
(
View
.
INVISIBLE
);
// ヘルプボタンを表示しない時、IO帳票ボタンも表示しない。
}
if
(
Constant
.
XWalkWebViewDisplayStatus
.
TaskView
==
mStatusCode
)
{
...
...
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