aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java
diff options
context:
space:
mode:
authorLibravatar Renard 2016-04-07 18:58:48 -0300
committerLibravatar Renard 2016-04-07 18:58:48 -0300
commitb9b2cd586c147ba9b08bbd809e7137ba3b6dacff (patch)
tree27604522330c9d7d88c61c946cf602f4b49ea5aa /app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java
parentb80e7f3fd96d76d05734f3ba4221f1d7af97a57f (diff)
downloadBaiApp-b9b2cd586c147ba9b08bbd809e7137ba3b6dacff.tar.gz
BaiApp-b9b2cd586c147ba9b08bbd809e7137ba3b6dacff.tar.xz
BaiApp-b9b2cd586c147ba9b08bbd809e7137ba3b6dacff.zip
test
Diffstat (limited to 'app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java')
-rw-r--r--app/src/main/java/org/bienvenidoainternet/baiparser/ViewerActivity.java22
1 files changed, 0 insertions, 22 deletions
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);
}