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:
@@ -122,15 +122,6 @@ public class LibreOfficeUIActivity extends Activity implements ActionBar.OnNavig
|
|||||||
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
|
actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
|
||||||
actionBar.setListNavigationCallbacks(list, this);
|
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){
|
if( viewMode == GRID_VIEW){
|
||||||
// code to make a grid view
|
// code to make a grid view
|
||||||
setContentView(R.layout.file_grid);
|
setContentView(R.layout.file_grid);
|
||||||
|
Reference in New Issue
Block a user