From 3bab59b406294e70d025680a5f71acdba129b1ac Mon Sep 17 00:00:00 2001 From: Jack Leigh Date: Thu, 19 Mar 2015 14:42:36 +0000 Subject: [PATCH] android: Remove striping on ActionBar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7b675e7cf5b28558be57e293547531a9369c3462 Reviewed-on: https://gerrit.libreoffice.org/14947 Reviewed-by: Adolfo Jayme Barrientos Reviewed-by: Tomaž Vajngerl Tested-by: Tomaž Vajngerl --- .../java/org/libreoffice/ui/LibreOfficeUIActivity.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java index fee06b8f5c7d..6c3d0d173f91 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/ui/LibreOfficeUIActivity.java @@ -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);