Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Draggable panel top fragment width does not scale to match parent in landscape mode #99

Open
prabhumallappa opened this issue Aug 31, 2016 · 6 comments

Comments

@prabhumallappa
Copy link

Hi ,

I am using draggable panel with videoView on top fragment and some listview on bottom fragment.
everything works perfect in portrait mode. But in landscape mode top fragment width is not occupying full screen.

I have attached both screenshots for your reference. Please help me to fix this issue.

portriat
landscape

@pedrovgs
Copy link
Owner

Hi @prabhumallappa the landscape mode is not supported. The portrait gap you have between the top view and the bottom view has to be related to the bottom view margin or padding, please review it and tell me if that's your error or the problem is related to the library implementation.

@prabhumallappa
Copy link
Author

prabhumallappa commented Aug 31, 2016

Hi @pedrovgs , I know about the portrait gap. My issue is to support the library in landscape mode. When I rotate the device to landscape mode, the top fragment width is not taking full screen. This happens if I use draggable panel. But if I use draggable view from your library, the top view width takes full screen but the top view resizes and hence it does not look good .

So if I use draggable panel , the top fragment does not takes full screen width.

Also, I have seen one more different scenario, If I launch the app, and rotate the device to landscape without minimize the draggable panel, then the top fragment is taking full screen width .

Please help me to support draggable panel in landscape mode.

@DawinderGill
Copy link

Hi @pedrovgs

I am also facing same issue. Please tell me if you found any solution.
Thanks

@prabhumallappa
Copy link
Author

No I didn't get any solution.

On Sep 15, 2016 9:27 PM, "DawinderGill" [email protected] wrote:

Hi @pedrovgs https://github.com/pedrovgs

I am also facing same issue. Please tell me if you found any solution.
Thanks


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#99 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOtMnXKaQUtzlsTAuV0efnx-CMSoFikqks5qqWr6gaJpZM4JxRPd
.

@DawinderGill
Copy link

No problem i future if you got any please tell. For the timing i am going to next activity to make videoview landscape but by this we are not able to play buffered video in portrait mode. We can just seek video and prepare it again. ;(

@cuong95nddev
Copy link

Have any solution for this problem?
Thank

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants