Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A AndroidSlidingUpPanel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 267
    • Issues 267
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Umano: News Read To You
  • AndroidSlidingUpPanel
  • Issues
  • #313
Closed
Open
Issue created Nov 25, 2014 by Administrator@rootContributor

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!

Assignee
Assign to
Time tracking