Which versions of Android support native action and share sheets? - android

I'm making improvements to an application and I'd like to use the native Android bottom sheet, allowing users to select an option as well as the native Android sharesheet for sharing content.
I have a small userbase that is on Android 9 and an even smaller userbase that is on Android 8. I'd like to measure the impact on these users, though can not find any documentation of which Android versions support these native UI elements.
Images for reference: Bottom sheet + Share sheet

I'd like to use the native Android bottom sheet
That is not "native", insofar as it is not part of the Android SDK. You can get a bottom sheet from the Material Components for Android, which is the official implementation of some of the advanced UI elements from the site that you linked to. It works back to API Level 14 (Android 4.0).
as well as the native Android sharesheet for sharing content
ACTION_SEND works back to Android 1.0. What the visual presentation will be is up to the device manufacturer; you and I do not get a vote.

Related

Image keyboard support in React Native

Android documentation states that:
With Android 7.1 (API level 25), the Android SDK includes the Commit Content API, which provides a universal way for IMEs to send images and other rich content directly to a text editor in an app.
However, when I use the React Native's TextInput component and select a GIF from Android's keyboard, I receive the following message (see screenshot):
This text field does not support GIF insertion from the keyboard.
How can I add support for this functionality to a React Native app? Ideally I'd like a component that provides a callback to handle the URI received by commitContent().
There's a pull request that adds support from 3 months ago. I'm not clear why it isn't merged at this point...
https://github.com/facebook/react-native/pull/26088

Bottom tabs in the Android 4 or later as in iPad application

I am developing an android application which is the iPhone version for Android devices and this iPhone application has the bottom tabs.
These types of tabs are present in the many iPhone applications.
For example:
I want to know the best way to implement these types of tabs in the bottom in android.
I am developing this application for the android 4.0 or later where tab activity does not work.
My Problems:
1) As Android latest versions do not support to the tab activity, then what will be the solution? (Deprecated things are not good way to use)
Follow Android design guidelines Pure Android

swipejs looks alike Android native view component

I'm building an Android app natively and my client requested me to add a sliding bannar used to be on mobile websites with JQuery Mobile and http://swipejs.com/.
Is there any native equivalent Views (or component?) that display images and slide them?
You can use ViewPager - finger-oriented view container. It was introduced in API level 11 but also available through Support Library. Also you may look to ImageSwitcher

Android ICS Skin for our applications

Is there a easy way to have our application look like ICS or JB?
Mainly the slider and the radio button. They look old when displayed in green.
Any hint about this?
There's a nice package available on github called HoloEverywhere.
One thing though, do not try pass it off as a ICS/JB Application, just because it "looks" like the user interface one would expect to see in a native ICS/JB Android set up.
Best that can be done with the project, is to target the latest SDK to guarantee your wide-market of Android usage, including GB.
Aim high, not low ;)
The best way is to use the Android Library 'Actionbar Sherlock'. This Library uses all native ICS Themes, etc for older devices.
ActionBarSherlock is an extension of the compatibility library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API.

Tablet-friendly interface and compatibility in Android development

I want to develop a new Android app. Design guidelines for Droid 3.0+ encourage the use of fragments to create a UI that better utilizes tablets' screen space. Also, from Droid 3.0+ I have read that a menu bar should exist on every activity that has a menu instead of using the plain old menu key
These features are supported by SDK 11+, but I want to support SDK 8 as minimum SDK in order to achieve best market share (see here).
How can I achieve both of my objectives?
You have two possibilities:
Google provide support library for developing apps with using fragments and action bars with support of old android versions.
There is great tool Action Bar Sherlock.

Categories

Resources