Skip to content

Commit

Permalink
fix design issue since splash screen was added
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Development committed Aug 29, 2016
1 parent d62ce1f commit 362c2cd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
Expand All @@ -55,6 +56,7 @@
import android.support.v7.widget.AppCompatSpinner;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
Expand Down Expand Up @@ -153,6 +155,12 @@ public void onClick(View v) {
}
});
}

TypedValue typedValue = new TypedValue();
Resources.Theme theme = getTheme();
theme.resolveAttribute(R.attr.rssItemListBackground, typedValue, true);
int color = typedValue.data;
getWindow().getDecorView().setBackgroundColor(color);
}

@Override
Expand Down

0 comments on commit 362c2cd

Please sign in to comment.