Allow transparent panel background in non-overlay mode.
Created by: yura-f
I create panel:
sLayout = (SlidingUpPanelLayout)findViewById(R.id.sliding_layout);
mainScreen = new MainScreen(sLayout.getContext());
keyboardLayout = new KeyboardLayout(sLayout.getContext());
sLayout.addView(mainScreen);
sLayout.addView(keyboardLayout);
My MainScreen params:
javaLayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT
MainScreen to contains ListView with params:
javaLayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT
KeyboardLayout not setBackgroundColor, BUT it have black background!
a) I set background color for sLayout then KeyboardLayout change background too. b) I set overlay: sLayout.setOverlayed(true); - background keyboardLayout transparent - it's good, but not quite)
If overlay = true, then MainScreen(ListView) comes under KeyboardLayout If overlay = false, then MainScreen(ListView) stretched to KeyboardLayout
I want to MainScreen(ListView) stretched to KeyboardLayout and KeyboardLayout backgroung will transparent.
How to do this?
Thank you!