Comments (7)
Which scroll view are you refering to? "Match" and "Don't match"?
from regex.
The scroll view inside the dialog that appears right after install
from regex.
The one with "ReGeX /ˈrɛːɡɛx/ is an android game, with a simple objective: [...]"?
from regex.
Yes, it's him!
from regex.
I'm afraid that's the native behaviour of a scroll view element, so there isn't much I can do about it. As far as I see, as soon as a scroll element looses focus, it goes back to the top, and element (I believe) always loose and regain focus when rotated.
One possible solution I could think of spontaneously would be to memorize the position and reset it every time the activity is reloaded.
But other than some slight visual pleasure in not having to scroll down a bit after rotating a device in an (more or less) irrelevant dialog, I don't think the code or the effort in writing/maintaining this would be worth it.
So, spontaneously I'd close this issue, but I'm just going to ask if you have some specific argument for having to fix this?
from regex.
I am exploring GUI failures for research purposes. As stated by Android guidelines after an orientation change, apps should preserve their state and functional parity. Thanks to your contribution, it is emerging that there are some limitations in the Android framework and high coding effort are required in certain situations (i.e. retain a scroll position)
from regex.
Ah, ok, I'm glad that I could help.
But just regarding the
high coding effort are required
it's not that it's a lot of effort to write it per se, but rather when thinking about issues, like #31, that bugs appear over time related to such "manual fixes". The code would probably be 20-30 lines max., so I just wanted to mention that for your research.
So all in all, I'll consider this "fixed" for now, unless anyone protests.
from regex.
Related Issues (20)
- "ReGeX wurde angehalten"[GER] ~"ReGeX was stopped/paused/..."[supposed English error] HOT 13
- Error requesting next task from server. HOT 10
- IndexOutOfBoundsException when opening the application HOT 7
- Game freezes after first launch HOT 4
- Random language generation needed HOT 4
- User input text loss on device rotation HOT 4
- Text changes state on device rotation HOT 4
- API Compatibility Issues HOT 1
- Conditional Regel working? HOT 3
- ReDB is offline HOT 2
- show solutions HOT 1
- Rewrite ReGeX in Kawa Scheme
- game mode suggestion: paragraph extraction HOT 2
- F-Droid 3 Years Old HOT 1
- Count wrong when losing focus HOT 1
- Scoring? HOT 4
- Highest level HOT 3
- Question: why not matched HOT 3
- extend score display time HOT 2
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 regex.