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
d2a33b71
Commit
d2a33b71
authored
Apr 18, 2022
by
onuma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bizのレビューで指摘内容をCheckにも反映した
parent
77894f98
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
18 deletions
+10
-18
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/ABVEnvironment.java
+1
-1
ABVJE_UI_Android/res/layout/ac_login.xml
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/util/Initializer.java
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
+7
-15
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/common/ABVEnvironment.java
View file @
d2a33b71
...
...
@@ -64,7 +64,7 @@ public class ABVEnvironment {
public
boolean
operationGroupMasterClearFlg
;
// 利用規約に同意するのテキストがあるURL
public
String
agree
_to_terms_of_use_u
rl
=
""
;
public
String
agree
ToTermsOfUseU
rl
=
""
;
// プライバシーポリシーURL
public
String
privacyPolicyUrl
;
...
...
ABVJE_UI_Android/res/layout/ac_login.xml
View file @
d2a33b71
...
...
@@ -103,7 +103,7 @@
</LinearLayout>
<Button
android:id=
"@+id/btn_login
_off
"
android:id=
"@+id/btn_login"
android:layout_width=
"match_parent"
android:layout_height=
"46dp"
android:layout_gravity=
"center"
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/util/Initializer.java
View file @
d2a33b71
...
...
@@ -144,7 +144,7 @@ public class Initializer {
env
.
setInitialized
(
true
);
// 利用規約に同意するの詳細があるURL
env
.
agree
_to_terms_of_use_u
rl
=
s
(
R
.
string
.
agree_to_terms_of_use_url
);
env
.
agree
ToTermsOfUseU
rl
=
s
(
R
.
string
.
agree_to_terms_of_use_url
);
// Helperクラス初期化
ActivityHandlingHelper
.
getInstance
().
init
(
context
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/LoginActivity.java
View file @
d2a33b71
...
...
@@ -97,10 +97,8 @@ public class LoginActivity extends ABVLoginActivity {
private
InputMethodManager
imm
;
private
Button
btnLoginOff
;
private
Button
btnDetail
;
private
CheckBox
chexBoxAgree
;
private
static
String
termsOfUseUrl
=
ABVEnvironment
.
getInstance
().
agree
_to_terms_of_use_u
rl
;
private
static
String
termsOfUseUrl
=
ABVEnvironment
.
getInstance
().
agree
ToTermsOfUseU
rl
;
@Override
public
void
onCreate
(
Bundle
savedInstanceState
)
{
...
...
@@ -158,9 +156,8 @@ public class LoginActivity extends ABVLoginActivity {
// ログインボタン
btnLoginOff
=
findViewById
(
R
.
id
.
btn_login_off
);
btnLoginOff
.
setVisibility
(
View
.
VISIBLE
);
btnLoginOff
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
final
Button
btnLogin
=
findViewById
(
R
.
id
.
btn_login
);
btnLogin
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
tryLogin
();
...
...
@@ -171,17 +168,12 @@ public class LoginActivity extends ABVLoginActivity {
chexBoxAgree
=
findViewById
(
R
.
id
.
check_box_agree
);
// 初期化(状態は保存しておく。ログアウトした後に使う)
boolean
agree
=
PreferenceUtil
.
getUserPref
(
LoginActivity
.
this
,
AppDefType
.
PrefName
.
AGREE_STATUS
,
false
);
if
(
agree
)
{
chexBoxAgree
.
setChecked
(
true
);
}
chexBoxAgree
.
setChecked
(
agree
);
chexBoxAgree
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
if
(
chexBoxAgree
.
isChecked
())
{
PreferenceUtil
.
putUserPref
(
LoginActivity
.
this
,
AppDefType
.
PrefName
.
AGREE_STATUS
,
true
);
}
else
{
PreferenceUtil
.
putUserPref
(
LoginActivity
.
this
,
AppDefType
.
PrefName
.
AGREE_STATUS
,
false
);
}
PreferenceUtil
.
put
(
LoginActivity
.
this
,
AppDefType
.
PrefName
.
AGREE_STATUS
,
chexBoxAgree
.
isChecked
());
}
});
...
...
@@ -232,7 +224,7 @@ public class LoginActivity extends ABVLoginActivity {
}
// 詳細ボタン
btnDetail
=
findViewById
(
R
.
id
.
detail
);
final
Button
btnDetail
=
findViewById
(
R
.
id
.
detail
);
btnDetail
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
...
...
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