I'm testing my new mobile website in Android devices.
But in emulator default Browser, I can't scroll down, right or left the page. There is no scrollbars, and arrow keys don't work, too. Here is a screenshot from my emulator window (I opened stackoverflow in browser)
I treat my mouse like a touch.
I left click the mouse button at the bottom of the emulator and drag the mouse to the top.
I have noticed that you need to click the mouse left button at the edge of the screen for couple of seconds to activate the scroll. Once activated you use the mouse like a touch.
If you are not able to locate the scroll bar then go back and come back again on your page. While the page is loading, the scroll bar will be highlighted for a brief period of time. You can then click at the location as I have explained above in first paragraph.
Related
An interesting problem that I have been unable to debug using developer mode in chrome or remote debugging.
The problem appears on smartphones with a screen size that cuts off the responsive menu at the bottom (and hence requires you to scroll down in the menu to get to "Sprache" for example), as in the following screenshot:
To get the bug to appear:
Navigate to https://www.a1.digital
Launch menu on small screen size or in chrome dev tools device
toolbar
Scroll down (important)
Click on a menu item, for example Sprache
You will instead be taken to the menu item above or below it, in the case of Sprache you will be taken to Login
If you open the responsive menu but do not scroll it, then all menu items work correctly. But as soon as you scroll down the menu items appear displaced.
Tested on Android Chrome, Android Firefox and Android Microsoft Edge, but displays in all three tested browsers.
Here is a video showing first how I load the menu, scroll down and click on Sprache, but it loads the menu item above it which is Login.
Then I navigate back to the home page and load the menu again. This time I do not scroll and I click on Marketplace which loads it correctly.
https://youtu.be/ke-33uzD8h0
Ok, so I think I found a solution (not sure if it's the best solution though). But first, the problem:
When you click on the navigation, the class locked is added to your .navbar-collapse.collapse. This happens JUST before the click is registered. .locked adds overflow: hidden to your navigation, which makes it unscrollable. Now if you already scrolled, it will "jump back" to the top edge and register the click on whichever navigation entry is under the mouse at that point. You can actually see this happen just before the page changes. The solution I found for this is the following CSS:
.navbar-collapse.collapse.collapse {
overflow-x: hidden !important;
overflow-y: auto !important;
}
We use .collapse twice, so it doesn't get overridden. This keeps the scrolling active and should help your case. But this may have other consequences, so test it well. Add a comment if you have questions or other problems with this.
So what I wanna do is make app that will display information and allow you to launch other apps from that main screen but I want that screen to appear when I swipe from corner (right bottom ..) from any app and any screen like swipe pad app or swipe drawer type of apps.. Any ideas? :)
You can do it by service.
this will make your button show on top of everything so you can hide it and show a small line or something or even a transparent icon and when user touches it it will do what ever you want.
I'm trying to make an extra effect to menu that will come down from the top of the screen
I want to make it enter the screen while swiping it from the top and if the user left it, it should continue to the end
this is the figure that demonstrate what I want to do:
I tried to do it with animation but the animation will not go on while swiping and it will go to the end without touching
any other ideas to move the view down with finger ?
Check this out for a sliding Drawer http://developer.android.com/reference/android/widget/SlidingDrawer.html
it sound like you kind of want the same thing as the pulldown menu at the top of all android phones except you want it customized, the link will show you that.
OK
It works for me now
I used SlidingTray.java class from this API
API Website
btw : this api open source
I was wondering if you had a way to fix the scrolling glitch with Logcat on Eclipse. Whenever I try to scroll up, the screen moves up for a sec and then goes back to the bottom.
It is really annoying and I can't get to some of my errors because of it.
You should use the Scroll Lock button.
Also, consider using the corresponding LogCat filters in order to only display the messages you are interested in.
I've experienced this as a error. Unselecting the scroll lock button will not work 99% of the time. As soon as you try to scroll the window (with mouse wheel or clicking the scroll bar up/down arrows) the scroll lock, turns back on.
Solution:
I've found a workaround, after unselecting the scroll lock, then click on a message and then press the page up key on your keyboard once and this will release the lock completely. You can now scroll with the mouse wheel and scroll bar arrows. This works for me on Windows 7.
I am using AutoCompleteTextView (ACTV) in my app.
The ACTV is vertically positioned around 100px from the top.
When user clicks on it, software keyboard opens and the suggestions dropdown appears below the ACTV.
Now I am getting to the bug - when user taps on some suggestion from the dropdown, the dropdown jumps above the ACTV!
So if I want to select a suggestion, I have to tap on the screen twice - firstly when the dropdown is below and then after it jumps to the top (by "jumps" I mean it immediately disappears under my finger and opens above).
Any idea how to circumvent this bug?