Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
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
sikang
lib_base
Commits
14cde42e
Commit
14cde42e
authored
Sep 06, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
143ac856
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/main/java/com/common/activity/AgreementPolicyActivity.java
+3
-0
src/main/res/layout/dialog_policy.xml
+1
-0
No files found.
src/main/java/com/common/activity/AgreementPolicyActivity.java
View file @
14cde42e
...
...
@@ -71,6 +71,8 @@ public class AgreementPolicyActivity extends BaseActivity {
WebActivity
.
start
(
context
,
context
.
getString
(
R
.
string
.
login_statement_title
),
agreement
);
}
else
if
(
v
.
getId
()
==
R
.
id
.
dialog_policy_ksp_tv
)
{
WebActivity
.
start
(
context
,
context
.
getString
(
R
.
string
.
koperasi_form
),
Gateway
.
getKSPUrl
());
}
else
if
(
v
.
getId
()
==
R
.
id
.
dialog_policy_agree_tv
)
{
viewHolder
.
getCheckBox
(
R
.
id
.
dialog_policy_checkbox
).
setChecked
(
true
);
}
else
if
(
v
.
getId
()
==
R
.
id
.
dialog_policy_cancel_btn
)
{
context
.
finish
();
}
else
if
(
v
.
getId
()
==
R
.
id
.
dialog_policy_sure_btn
)
{
...
...
@@ -86,6 +88,7 @@ public class AgreementPolicyActivity extends BaseActivity {
}
},
R
.
id
.
dialog_policy_agreement_tv
,
R
.
id
.
dialog_policy_ksp_tv
,
R
.
id
.
dialog_policy_agree_tv
,
R
.
id
.
dialog_policy_cancel_btn
,
R
.
id
.
dialog_policy_sure_btn
);
});
...
...
src/main/res/layout/dialog_policy.xml
View file @
14cde42e
...
...
@@ -61,6 +61,7 @@
android:layout_height=
"26dp"
/>
<TextView
android:id=
"@+id/dialog_policy_agree_tv"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
...
...
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