In my droid application I have many views that have a TextView label that sits above a Button. My problem is that when a user is using TalkBack, they 'flick' the screen either right or left to navigate the screen.
For example, I need the focus to switch from the TextView label to the button underneath it when the user flicks to the right. Instead, it is navigating to the next element to the right of there label.
I have tried using "android:nextFocusDown="#+id/myButton", but this does not seem to work.
Any help is appreciated. Thank You!
Related
On the phone, the top left back button is always announced first by Talkback however this doesn't seem to be the case on the tablet. Does anyone know what is the default first focus on the tablet as it looks like it might be different?
Adding a call to Modifier.focusRequester and focusable on the back button doesn't do anything.
The screen is Compose view within fragment container.
I have an activity with BottomNavigation. If the user needs to click on the submit button soft keyboard hides it. Then he again needs to press the back button to see the submit button. In this case, I used windowSoftInputMode='adjustResize' so that the screen gets resized automatically and the user can scroll up and click on the submit button.
But, I have BottomNavigation too, windowSoftInputMode='adjustResize' makes BottomNavigation float above the soft keyboard. Can anyone suggest a better solution? Any help will be appreciated. Thanks
Thats tricky issue... You have two options in here:
Keep 'adjustResize' and hide BottomNavigation view when keyboard pops up (e.g. simply setVisiblity?)
Change to e.g. 'adjustPan' (or any other) preventing keyboard resizing app and add bottom padding with height of keyboard for whole content container. BottomNavigation will stay hidden under keyboard, but padding will allow scrolling to Submit button
In both cases you need to detect open/close keyboard, in second case you will also need keyboard height measuring. IN HERE and HERE you have big SO topics about this case, check out answers and comments, and pick proper resolution for your purposes
I want to implement a side drawer widget. I don't know if I am using the right words or not. A small icon will be placed on the left/right side of the screen, if it is swiped, it should open an activity. If I close it, it should remain on the side of the screen until application is closed from the inside. I have seen this in an application and I am posting screen shot too.
Notice the image hint on the left side. Its always there even if we press home button:
I searched for it but didn't find anything. I guess it's because I am not searching with the correct words maybe? It would be great if I knew the name of this widget.
I have a news app.It is supposed to launch by swiping on the screen(homescreen or while in any other activity like switchr app).I learned to code swiping patterns but in my case I have to do exactly in the following way(swiping bottom right to top left)..Kindly have a look over following pictorial representation
1.Firstly app should launch by swiping bottom right to top left on the screen
2.next,show the user with list of scrollable arc menu buttons embedded in it like second image
3.when a user clicks on particular button it has to show a brief description about the content like third image
my problems:
creating arc like scrollable menu on bottom right side of the screen(I googled sia ahmed's solution over here ,it helped me a bit)
creating that parachute like structure(image 3) when user clicks particular bubble like button in arc menu..
please guide me
For the menu check out arcmenu by daCapricorn on github. Also see this question.
The balloon bit is trickier. I know of a balloon hint code for android but i haven't seen it in action.
Hope this helps!
Although I am pretty sure this is doable, I just wanted to double check with you all.
I need to hide certain UI elements(like checkbox, lables etc) on the screen when User taps on the edittext field, just before Keypad comes up and take up half the screen. Same should be visible once Keypad is removed from the screen. I am thinking of using View.GONEon those UI elements, but I am not sure how to get them back once the Keypad is removed from the screen.
I want you help in knowing if this is possible, if so how can revert it when Keypad is no more on the screen.
Thanks,
SKU