PickerUI alternatives and similar packages
Based on the "Other Widget" category.
Alternatively, view PickerUI alternatives based on common mentions on social networks and blogs.
-
AndroidSlidingUpPanel
This library provides a simple way to add a draggable sliding up panel (popularized by Google Music and Google Maps) to your Android application. Brought to you by Umano. -
BottomBar
(Deprecated) A custom view component that mimics the new Material Design Bottom Navigation pattern. -
ShortcutBadger
An Android library supports badge notification like iOS in Samsung, LG, Sony and HTC launchers. -
Litho (By Facebook)
A declarative framework for building efficient UIs on Android. -
SystemBarTint
[DEPRECATED] Apply background tinting to the Android system UI when using KitKat translucent modes -
DragSortListView
Android ListView with drag and drop reordering. -
TapTargetView
An implementation of tap targets from the Material Design guidelines for feature discovery. -
android-viewbadger
[DEPRECATED] A simple way to "badge" any given Android view at runtime without having to cater for it in layout -
android-stackblur
Android StackBlur is a library that can perform a blurry effect on a Bitmap based on a gradient or radius, and return the result. The library is based on the code of Mario Klingemann. -
android-iconify
Android integration of multiple icon providers such as FontAwesome, Entypo, Typicons,... -
AndroidViewHover
An elegant way to show your menu or messages. -
android-pdfview
[DEPRECATED] A fast PDF reader component for Android development -
DraggablePanel
Android library used to create an awesome Android UI based on a draggable element similar to the last YouTube graphic component. -
AndroidTreeView
AndroidTreeView. TreeView implementation for android -
android-pathview
Android view with both path from constructed path or from svg. -
aFileChooser
[DEPRECATED] Android library that provides a file explorer to let users select files on external storage. -
Swipecards
A Tinder-like Android library to create the swipe cards effect. You can swipe left or right to like or dislike the content. -
MaterialIntroScreen
Inspired by Heinrich Reimer Material Intro and developed with love from scratch -
TourGuide
TourGuide is an Android library that aims to provide an easy way to add pointers with animations over a desired Android View -
android-viewflow
A horizontal view scroller library for Android -
MultiSnapRecyclerView
Android library for multiple snapping of RecyclerView -
chromeview
Android WebView implementation that uses the latest Chromium code -
android-segmented-control
ios UISegmentedControl for android -
StickyGridHeaders
An Android Library that makes it easy to make grid views with sectioned data and headers that stick to the top. -
FloatingView
FloatingView can make the target view floating above the anchor view with cool animation -
HoloColorPicker
An Android Holo themed colorpicker designed by Marie Schweiz -
TileView
TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing. -
Android-SwipeToDismiss
Android swipe-to-dismiss mini-library and sample code -
StandOut
StandOut lets you easily create floating windows in your Android app. -
Bubbles for Android
Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your development. -
Flashbar
⚡️A highly customizable, powerful and easy-to-use alerting library for Android. -
FancyCoverFlow
A cool Open Source CoverFlow view for Android with several fancy effects. -
SwipeStack
A simple, customizable and easy to use swipeable view stack for Android. -
RippleView
View that imitates Ripple Effect on click which was introduced in Android L (for Android 2.3+) -
Android-ActionItemBadge
This library offers a simple method to add a small badge icon to your ActionBar-MenuItem -
android-sliding-layer-lib
Highly customizable SlidingLayer as you have seen in Wunderlist -
android-uitableview
Library and example project on how to use the UITableView component -
SortableTableView
An Android library containing a simple TableView and an advanced SortableTableView providing a lot of customisation possibilities to fit all needs. -
ScratchView
ScratchView repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of PickerUI or a related project?
README
PickerUI
Android library to display a list of items for pick one with blur effect (if you wish). Support for Android 3.0 and up. It supports portrait and landscape mode, saving the state.
[Example screenshot](art/screenshots_framed.png)
Try out the sample application on Google Play.
Demo
[Example gif](art/demo.gif)
Including in Your Project
Last version is 1.0.1
Just add the following statement in your build.gradle
compile 'com.github.davidpizarro:pickerui:VERSION'
You may also add the library as an Android Library to your project. All the library files live in library
.
Usage
To add the PickerUI to your layout add this to your xml
<com.dpizarro.uipicker.library.picker.PickerUI
android:id="@+id/picker_ui_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
You can add custom attributes in your xml to customize: background, colors, behaviors, elements, blur, blur effects...
<com.dpizarro.uipicker.library.picker.PickerUI
android:id="@+id/picker_ui_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
pickerui:backgroundColor="#4cffa5"
pickerui:linesCenterColor="#3941ff"
pickerui:autoDismiss="true"
pickerui:itemsClickables="true"
pickerui:entries="@array/months"
pickerui:textCenterColor="#000000"
pickerui:textNoCenterColor="#737373"
pickerui:blur="true"
pickerui:blur_downScaleFactor="@integer/blur_downscale_min"
pickerui:blur_FilterColor="#ff5e48"
pickerui:blur_radius="@integer/blur_radius_min"
pickerui:blur_use_renderscript="true"/>
Review attrs.xml file to know the list of shapes ready to be used in the library.
This configuration can be also provided programmatically. You can use PickerUI programatically, using the Builder class to set the settings and the desired functionalities of panel to make easy:
PickerUI mPickerUI = (PickerUI) findViewById(R.id.picker_ui_view);
List<String> options = Arrays.asList(getResources().getStringArray(R.array.months));
PickerUISettings pickerUISettings = new PickerUISettings.Builder()
.withItems(options)
.withBackgroundColor(getRandomColor())
.withAutoDismiss(true)
.withItemsClickables(false)
.withUseBlur(false)
.build();
mPickerUI.setSettings(pickerUISettings);
You can set/get values programatically:
mPickerUI.setItems(this, options);
mPickerUI.setColorTextCenter(R.color.background_picker);
mPickerUI.setColorTextNoCenter(R.color.background_picker);
mPickerUI.setBackgroundColorPanel(R.color.background_picker);
mPickerUI.setLinesColor(R.color.background_picker);
mPickerUI.setItemsClickables(false);
mPickerUI.setAutoDismiss(false);
mPickerUI.isPanelShown();
To slide (show/hide) PickerUI, you only have to use slide()
method, selecting none (by default, center) or some position.
mPickerUI.slide();
//or
mPickerUI.slide(8);
In order to receive the value selected in the picker, you will need to implement the onItemClickPickerUI
interface.
mPickerUI.setOnClickItemPickerUIListener(new PickerUI.PickerUIItemClickListener() {
@Override
public void onItemClickPickerUI(int which, int position, String valueResult) {
Toast.makeText(MainActivity.this, valueResult, Toast.LENGTH_SHORT).show();
}
});
Or browse the source code of the sample application for a complete example of use.
Blur effect
This library applies a blur effect when you slide the picker, but it is optional and optimized.
You can choose Java algorithm (slower) or RenderScript
(a quick and efficient solution to blur images). Available since API 11 (Honeycomb), RenderScript
allows to take advantage of the GPU acceleration and is targeted at high-performance 3D rendering and compute operations.
For the integration of the RenderScript
support library you just have to add two lines to your build.gradle
. You do not need to declare any dependencies. Depending on the gradle version you are running, the commands are slightly different:
1. Gradle version 0.14+ and newer
android {
defaultConfig {
renderscriptTargetApi 19
renderscriptSupportModeEnabled true
}
}
2. Older Gradle versions up to 0.13
android {
defaultConfig {
renderscriptTargetApi 19
renderscriptSupportMode true
}
}
Contribution
Pull requests are welcome!
I'd like to improve this library with your help! If you've fixed a bug or have a feature you've added, just create a pull request. Issues can be reported on the github issue tracker.
Who's using it
Does your app use AutoLabelUI? If you want to be featured on this list drop me a line.
Author
David Pizarro ([email protected])
License
Copyright 2015 David Pizarro
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*Note that all licence references and agreements mentioned in the PickerUI README section above
are relevant to that project's source code only.