修改主页轮播点的位置以及大小,修改引导页的启动模式

This commit is contained in:
khy
2016-07-19 16:02:52 +08:00
parent b0e401bbbd
commit 18330df2f0
4 changed files with 14 additions and 14 deletions

View File

@ -97,7 +97,7 @@ public class SplashScreenActivity extends BaseActivity {
from = getIntent().getStringExtra("from");
if (sp.getBoolean("isFirstLaunch", true)
if (sp.getBoolean("isNewsFirstLaunch", true)
|| sp.getInt("actionbar_height", 0) != 0) {
setTheme(R.style.AppTheme_Guide);
} else {
@ -116,7 +116,7 @@ public class SplashScreenActivity extends BaseActivity {
setContentView(R.layout.activity_splash);
if (sp.getBoolean("isFirstLaunch", true)) {
if (sp.getBoolean("isNewsFirstLaunch", true)) {
findViewById(R.id.splash_ll_normal).setVisibility(View.GONE);
ViewPager splash_viewPager = (ViewPager) findViewById(R.id.splash_viewPager);
@ -171,7 +171,7 @@ public class SplashScreenActivity extends BaseActivity {
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) {
if (sp.getBoolean("isFirstLaunch", true)) {
if (sp.getBoolean("isNewsFirstLaunch", true)) {
Intent intent = new Intent(SplashScreenActivity.this,
MainActivity.class);
startActivity(intent);
@ -664,7 +664,7 @@ public class SplashScreenActivity extends BaseActivity {
concernManager.updateByConcern(concernEntity);
}
}
if (!sp.getBoolean("isFirstLaunch", true)) {
if (!sp.getBoolean("isNewsFirstLaunch", true)) {
int height = sp.getInt("actionbar_height", 0);
if (height == 0) {