From b9b2cd586c147ba9b08bbd809e7137ba3b6dacff Mon Sep 17 00:00:00 2001 From: Renard Date: Thu, 7 Apr 2016 18:58:48 -0300 Subject: test --- .../baiparser/ViewerActivity.java | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java') diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java index b113c2a..4501c0f 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java @@ -40,26 +40,6 @@ public class ViewerActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - -// SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(this); -// int themeId = Integer.valueOf(settings.getString("setting_theme", "1")), currentThemeId = R.style.AppTheme; -// switch (themeId) { -// case 1: -// currentThemeId = R.style.AppTheme_NoActionBar; -// break; -// case 2: -// currentThemeId = R.style.AppTheme_Dark; -// break; -// case 3: -// currentThemeId = R.style.AppTheme_HeadLine; -// break; -// case 4: -// currentThemeId = R.style.AppTheme_Black; -// break; -// } -// setTheme(currentThemeId); - - if (savedInstanceState != null){ bi = savedInstanceState.getParcelable("boardItem"); } @@ -70,8 +50,6 @@ public class ViewerActivity extends AppCompatActivity { imageView = (SubsamplingScaleImageView)findViewById(R.id.imageView); gifView = (GifImageView) findViewById(R.id.gifView); setTitle(bi.getFile()); -// imageView.setOnClickListener(new View.OnClickListener() { -// new TaskDownloadFile().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); downloadFile(); this.getSupportActionBar().setDisplayHomeAsUpEnabled(true); } -- cgit v1.2.1-18-gbd029