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
84db658a
Commit
84db658a
authored
Dec 04, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f0d30d64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
src/main/java/com/common/activity/ReviewHookActivity.java
+15
-10
src/main/res/layout/activity_review_hook.xml
+1
-3
No files found.
src/main/java/com/common/activity/ReviewHookActivity.java
View file @
84db658a
...
...
@@ -216,7 +216,8 @@ public class ReviewHookActivity extends BaseActivity {
if
(
BuildConfig
.
HIBERNATION
)
{
mTopBar
.
setAlpha
(
1
);
}
else
{
mTopBar
.
setAlpha
(
slideOffset
);
mTopBar
.
setAlpha
(
1
);
// mTopBar.setAlpha(slideOffset);
}
}
...
...
@@ -247,18 +248,22 @@ public class ReviewHookActivity extends BaseActivity {
mDrawer
.
openDrawer
(
Gravity
.
LEFT
);
}
return
;
}
else
if
(
i
==
R
.
id
.
activity_review_helpCenter_btn
)
{
HelpCenterActivity
.
start
(
ReviewHookActivity
.
this
);
return
;
}
else
if
(
i
==
R
.
id
.
activity_review_hotline_btn
)
{
DialogFactory
.
showMessageDialog
(
ReviewHookActivity
.
this
,
LibConfig
.
HOTLINE
);
}
else
if
(
i
==
R
.
id
.
activity_review_policy_btn
)
{
String
agreement
=
AgreementPolicyActivity
.
getLocalPolicy
();
WebActivity
.
start
(
ReviewHookActivity
.
this
,
getString
(
R
.
string
.
login_statement_title
),
agreement
);
}
else
{
}
else
{
startLogin
();
return
;
}
// else if (i == R.id.activity_review_helpCenter_btn) {
// HelpCenterActivity.start(ReviewHookActivity.this);
// return;
// } else if (i == R.id.activity_review_hotline_btn) {
// DialogFactory.showMessageDialog(ReviewHookActivity.this, LibConfig.HOTLINE);
// } else if (i == R.id.activity_review_policy_btn) {
// String agreement = AgreementPolicyActivity.getLocalPolicy();
// WebActivity.start(ReviewHookActivity.this, getString(R.string.login_statement_title), agreement);
// } else {
// startLogin();
// return;
// }
}
},
R
.
id
.
activity_review_menu_btn
,
R
.
id
.
activity_review_certify_btn
,
...
...
src/main/res/layout/activity_review_hook.xml
View file @
84db658a
...
...
@@ -83,8 +83,7 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"190dp"
android:background=
"@drawable/banner02"
android:layout_height=
"65dp"
android:clickable=
"false"
android:longClickable=
"false"
/>
...
...
@@ -111,7 +110,6 @@
android:id=
"@+id/activity_review_topbar"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:alpha=
"0"
android:background=
"@drawable/app_bar_bg"
/>
...
...
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