Can we set the location of android keyboad? if yes how? - android

I am new in Android. I am creating a calling app, where I am using android keyboard. but at the bottom I want "Dial" Button which should show even after the keyboard is appear. Currently I created a screen where all working is fine but when keyboard appears the "Dial" button is get hidden. This is the scenario, please suggest me, Can we set the location of android keyboard or What else I can do.? Please suggest me how can I do this.
Thanks in advance.
The Wireframe for screen is like below image

I guess this link Might solve your problem.
Android_Dialer

Related

Android app - Show another activity in small window when pressing the button

I'm new developer in android ...and programming with intellij .
How i can show another activty when i pressing the button and close it when i release my finger of button ?
Similar to samsung keyboard that when we pressing the key show the larger version of that above it ?
I'm really need to know it .. thanks for your helps .
Though this is not a proper answer of your question but this may help you because it helped me.
You can use a popup window or something like this instead of activity.
Android PopupWindow with Tooltip Arrow
If you do then follow this.
"Press and hold" button on Android needs to change states (custom XML selector) using onTouchListener
Thanks

Android - how to know if user click on Home Screen

Is there a way to know if some user is clicked on the Home Screen of Android device. Something like homeScreen.onclicklistener
I tried to create a widgets and to listen for clicks, but this is not possible task, because there is no way to create widgets programmatically(auto adding), or maybe I don't know how to do it. I know this way is wrong but I had to tried.
Thanks in advance.
Screenshot from the Home Screen.

Change Position of native keyboard

In my application i am using Tab activities to switch from one activity to another.
I want to know that is there any way to change our native android keyboard position? Because i want to display native keyboard above Tab that i have used in my application ?
Thus user can easily navigate while typing.
I have searched a lot but i didn't get any success yet. Any help would be appreciated.
Thanks.
I want to know that is there any way to change our native android keyboard position?
No.
Because i want to display native keyboard above Tab that i have used in my application ?
Do not use bottom tab bars.
Use this attribute into your activity. This will show your tabs upside the keyboard.
android:windowSoftInputMode="stateAlwaysHidden|adjustResize"

Android Wheel concept

I am developing an application in android. I have an Activity where I have a couple of buttons. Among them when I click on one button, I want to get dropdown like iPhone default picker.
To achieve that, I am using Android wheel concept. I have implemented like this, when I click on the button, it is calling another activity where my required custom layout is shown. Problem is custom layout should come from bottom of the screen in the same activity where the button I am clicking exists.
I have attached a screenshot. I want to achieve as shown in the screenshot (missing).
Please help me providing the required solution. Pardon me if there any mistakes in my question. This is the first time to ask a question.
Since the lack of a screenshot that helps to understand your issue, this is more some kind of guess: Are you known to the concept of Spinners in Android? They provide a dropdown mechanism and are easily implemented.

Virtual keyboard appears on tilt

I have a strange situation here. In my android app, I have a layout with various edit text and drop down list. My problem is that if I am using virtual keyboard.if for some time I hide the keyboard because I don't want it currently to appear and tilt the device, that is I change from landscape to portrait or vice versa, then again my keyboard appears, although I have minimized it earlier. No matter what i try I had not reached to any solution till now. Since I don't know where exactly my problem is, I am not pasting any code. I can do so if required. Please suggest me something.
My Try: I thought problem is focus on first edit box while tilt so tried
android:descendantFocusability="beforeDescendants"
android:focusableInTouchMode="true"
but focus was there and keyboard reappears. So, I am left with even no guess to solve this. So please help!!!
Any help will appreciated. Thanks in advance.
Do I understand you right, it’s just appears when you change orientation?
Why not use the appropriate listener? Like OrientationListener?
Save the status of your keyboard on your activity and read it out on the listener and then set the softkeyboard.
After digging so much I found the solution. in the manifest file I used android:windowSoftInputMode="adjustNothing|stateUnchanged"
This retain the state of keyboard and gives me exactly what I wanted. Apart from that there where few screen where I was getting keyboard like just after login screen, then for that I called hide keyboard method. *Thanks to all for all help. *

Categories

Resources