Comments (1)
I did a fix for my case by adding:
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
// assign changes of size to the top component skipping the first redraw
if (oldh != 0)
setSplitterPosition(getSplitterPosition() + (h - oldh));
}
Basically, what i do is, in changes of size, assigning the new space to the top component. For a proper fix, you will need introducing a policy to distribute this new space between:
- assigning to the upper half (my case)
- assigning to the bottom half
- splitting te new space to maintain the percentage
Hope it helps other with the same issue
Thank again for the component.
from android-split-pane-layout.
Related Issues (20)
- Cant find SplitPaneLayout_paneSizeMin & SplitPaneLayout_splitterTouchSlop
- Child layouts aren't focusable when creating layout programmatically HOT 1
- SplitPaneLayout doesn't have default attributes when creating layout programmatically HOT 1
- Attributtes aren't saved on orientation changes if they are changed programmatically HOT 2
- splitterTouchSlop doesn't work if children is clickable HOT 1
- splitter position is incorrect based on its percentage if splitPaneLayout just occupy a portion of the screen HOT 1
- Splitter drawable is partially hidden when it is placed at borders HOT 1
- Precompiled library is obsolete in Maven Central
- https://www.hashcollision.org/hkn/java
- Kali Linux
- Muyiboysaka
- Thread 'Unlock bootloader' HOT 1
- Muyideen
- #KaliLinux [Errno 13]
- Coderþ9
- Download Now!
- 1534
- Download Now!
- Muyiboysaka
- This repository uses an automated workflow to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the workflow can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the workflow will automatically close the issue in 14 days. Thank you for your contributions.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-split-pane-layout.