Is creating a non-rectangular keyboard possible? - android

I want to create a custom Android keyboard that is in a arc like shape, but I don't know if it is at all possible or how to do it. So I'd appreciate being pointed in the right direction

Yes, its possible to create a non-rectangular keyboard. Check the android softkeyboard implementation and change the layouts to what you want. AFAIK, its using a custom view which handles the buttons addition/removal, you need to change this to achieve this.

Related

Android Custom Keyboard Layout as a Vector Asset

I am attempting to create a custom keyboard where a vector image is the keyboard itself. Rather than having a custom xml file in the directory res/xml and defining a Keyboard tag, I want to have solely the image as the keyboard. I wanted to know if this is even possible to do because all of the examples I have seen thus far regarding how to create a custom keyboard is just defining an xml file for the layout of the keys and placing it inside of a KeyboardView. Any help would be appreciated!
No, it's not possible. To create a cusotm keyboard you need KeyboardView and Keyboard classes.
Also, I don't understand why would you need it. Do you want a background/theme for your keyboard? If yes, you can do it like this : mKeyboardView.setBackground(drawable/color) Also, there are other ways to set theme(including key border/background/color etc) for a keyboard, but since you are only concern to learn if it's possible to create a custom keyboard via vector asset. So, the answer is no.

Android change look of custom keyboard

I have successfully made a very basic custom keyboard for Android based off of this tutorial. The problem is, this keyboard looks very odd and outdated for Android lollipop:
Image of the current keyboard:
I have been looking at other keyboards such as the default OS keyboard and this one:
And they look much better for Android.
How can I modify the color scheme and style of my keyboard to look better?
It is also worth noting I am making a keyboard that is very similar to the second example (it will just have a few extra buttons).
If you want a lot of control and be able to do things dynamically, I suggest you ditch the xml layout and KeyboardView class and make your own custom keyboard view

GridLayout for implementing a keyboard

I need to implement a (soft)keyboard for an Android application.
Is GridLayout the correct View widget to contain all the keys?
Or is there other widget more suited for this specific requirement?
I think you just need a KeyboardView, it's very easy, you don't need to make all the keys or use specific layouts.
here a tutorial: http://www.fampennings.nl/maarten/android/09keyboard/index.htm
And here you will see a implementation that I made:
Soft keyboard's POPUP layout

Android Custom Activity

http://tinypic.com/r/2v85soh/5
Hi!,
Do you see that bottom arrow pointing up? I want to allow users in Android to be able to drag it and use buttons from there!
Regards,
Michael
Android has a SlidingDrawer UI component that can be used for this sort of thing: http://developer.android.com/reference/android/widget/SlidingDrawer.html
Android has a SlidingDrawer widget, but it's deprecated. I would look online for open source libraries/projects that have implemented this kind of functionality. Perhaps something like this: AndroidSlideUpPanel

Android Dropdown List (iPhone style)

Could anyone tell me either what this widget is or how it could be recreated? I'm having to port over a iPhone app, and my boss wants me to make it look as similar as possible, but while using android controls. Here is a picture of it in Android:
http://cdn3.staztic.com/screenshots/android-swim-32-2.jpg
Thanks!
It is not a standard thing, but for this purpose, there is a: QuickAction dialog.
this can be done with a PopupWindow (it can also be shown as dropdown) where the background is a custom nine-patch file and the content is a listview (or any other view that fits your needs).
I'm sure that GreenDroid Library can do this but I don't know the name of the class to use

Categories

Resources