android: Remove striping on ActionBar

Change-Id: I7b675e7cf5b28558be57e293547531a9369c3462
Reviewed-on: https://gerrit.libreoffice.org/14947
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
This commit is contained in:
Jack Leigh
2015-03-19 14:42:36 +00:00
committed by Miklos Vajna
parent befa877c27
commit 3bab59b406

View File

@@ -122,15 +122,6 @@ public class LibreOfficeUIActivity extends Activity implements ActionBar.OnNavig
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
actionBar.setListNavigationCallbacks(list, this);
//make striped actionbar
BitmapDrawable bg = (BitmapDrawable)getResources().getDrawable(R.drawable.bg_striped);
bg.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
actionBar.setBackgroundDrawable(bg);
BitmapDrawable bgSplit = (BitmapDrawable)getResources().getDrawable(R.drawable.bg_striped_split_img);
bgSplit.setTileModeXY(Shader.TileMode.REPEAT, Shader.TileMode.REPEAT);
actionBar.setSplitBackgroundDrawable(bgSplit);
if( viewMode == GRID_VIEW){
// code to make a grid view
setContentView(R.layout.file_grid);