Reduce some overdraw on lists.

This commit is contained in:
dosiecki 2014-11-05 15:38:11 -08:00
parent a86eb2e5b6
commit 8f9c28a873
2 changed files with 2 additions and 0 deletions

View file

@ -58,6 +58,7 @@ public abstract class ItemsList extends NbActivity implements StateChangedListen
requestWindowFeature(Window.FEATURE_PROGRESS);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
getWindow().setBackgroundDrawableResource(android.R.color.transparent);
setContentView(R.layout.activity_itemslist);
fragmentManager = getFragmentManager();

View file

@ -49,6 +49,7 @@ public class Main extends NbActivity implements StateChangedListener, SwipeRefre
requestWindowFeature(Window.FEATURE_PROGRESS);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
super.onCreate(savedInstanceState);
getWindow().setBackgroundDrawableResource(android.R.color.transparent);
setContentView(R.layout.activity_main);
getActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);