• Stars
    star
    344
  • Rank 123,066 (Top 3 %)
  • Language
    Java
  • License
    Other
  • Created about 9 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

MaterialDialogSearchView is a custom implementation and replacement for a ToolBar SearchView in a material design.

Android Arsenal

Buy Me a Coffee at ko-fi.com

MaterialDialogSearchView

MaterialDialogSearchView is a custom implementation of a Toolbar SearchView in a material design. It is an alternate approach using Material dialogs as SearchView similar to the applications seen on nowadays with this type of SearchView's in the apps like Google play, Google card's,etc.

What made me to do this repo?

This repo is truely made on the inspiration of Google play's SearchView and StackOverflow question of mine http://stackoverflow.com/questions/30521615/implementing-google-play-and-maps-like-search-bar-android

How to use?

Regarding the usage, it is simple to go without using any third party libraries. The class files used in this repo is limited to

MainActivity.java

This is the main class and it comprises of Custom dialog and then several logics to filter out the users suggestion in EditText.

SearchAdapter.java

It is nothing but a adapter class extends BaseAdapter which in turn used to display the list items (i.e Country's Text and icon used in this repo) in a ListView.

Utils.java

It is an Utility class which is used to adjust the height of ListView based on the count of child items.

SharedPreference.java

SharedPrefernce class is used to store and retrieve recently searched values (i.e selected or clicked values from the suggestions list.)

Note:

    1. This is completely a custom implementation of mine.  Though this solution may be simple, but very effective implementing MaterialSearchView's and it will not affect any part of the coding cycle. You can use this view in activity, fragment or wherever you want. Happy coding! 
    2. Voice search will not work. It is just displayed for the UI purpose. EditText data will be cleared once if you click mic icon.

Licensing

About licensing it is free to go. You can do whatever you want with this code. I really appreciate all of your feedbacks and pull requests to improve this repo.

More Repositories

1

flutter-examples

An ultimate cheatbook of curated designs
935
star
2

AppIntroAnimation

AppIntroAnimation is a set of code snippets to make cool intro screen for your app with special Image Translation and Transformation animation effects. It is very easy to use and customize without adding third party library integrations.
Java
800
star
3

RecyclerViewTemplate

One Template which solves all frequently used RecyclerViews Code Snippets
FreeMarker
410
star
4

MaterialDialogBottomSheet

MaterialDialogBottomSheet is a custom dialog implementation to use BottomSheet MaterialView feature in pre Lollipop and latest versions of android.
Java
178
star
5

SeatBookingRecyclerView

Custom ReyclerView for bus seat booking
Java
168
star
6

URLLinkView

It is a custom view implementation in Android to showcase the title, image, description from the URL link.
Java
148
star
7

IconColorChanger

Changing Icons from one color to another color using IconColorChanger
Java
97
star
8

MaterialTabsTemplate

MaterialTabsTemplate is solely created to reduce the burden of writing same boiler plate codes for Tab creation in Android.
FreeMarker
91
star
9

MaterialPagerRecyclerGridView

It is a RecyclerView using GridLayoutManager with header layout as ViewPager.
Java
82
star
10

CustomSnackBar

Customize your Snackbar with an ease and make use of material design touch in your app
Java
63
star
11

VideoChatHeads

A custom chat head implementation for videos
Java
60
star
12

ShimmerContactsView

Loading contacts made simple with ShimmerContactsView
Java
59
star
13

MaterialCircleProgressBar

Material Circular progress bar loader similar to SwipeRefreshLayout
Java
53
star
14

MultiSelectRecyclerGalleryGridView

It is the sample gallery application customized according to the Albums and list of Images in the particular Album in a more optimized manner using Multi Select RecyclerGridView
Java
50
star
15

AndroidMVPAuthenticationBoilerPlate

Login/Signup app which handles boiler plate Validation logics using MVP design patterns with SQLite Database
Java
44
star
16

MaterialPercentDrawer

MaterialPercentDrawer is my own implementation to make use of recent Percent wise layouts like PercentRelativeLayout and PercentFrameLayout in Android.
Java
39
star
17

SpannableTextview

Spannable TextView to optimize the Android TextView effect.
Java
37
star
18

takeoffandroid.github.io

Mobile developer portfolio responsive website built using flutter web. ❀️
JavaScript
30
star
19

LoginAndroidStudioTemplate

This template generates code snippets for Login with Presenter, View, Model and Activity classes. Following are the different styles of login fields that are generated from this template.
FreeMarker
20
star
20

HeaderFooterRecyclerView

This repo is nothing but creating a separate header and footer layout for RecyclerView.
Java
20
star
21

flutter-clean-architecture

Dart
18
star
22

solid-principles-flutter

15
star
23

solid-principles-android

15
star
24

MultiSelectRecyclerView

MultiSelectRecyclerView is used to highlight the selected grid items in a RecyclerView
Java
11
star
25

Facebook-VideoChatHeads

Java
7
star
26

AndroidCleanDagger2Architecture

Tutorial is on my blog
Java
5
star
27

AuthenticationView

A new Flutter package project for login and signups.
Dart
3
star
28

AndroidStudioTemplates

3
star
29

FeedbackWidget

A new Flutter package project for feedback view.
Dart
3
star
30

MaterialTabWithRecyclerView

Java
2
star
31

FCMDemo

Sample FCM setup
Java
2
star
32

TicTacToeFlutter

A cpu and user playing tic tac toe application written in flutter
Dart
2
star
33

FABExpandCollapseAnimation

Java
2
star
34

GoogleSamples

Initial commit
Java
2
star
35

TakeoffSQLiteAndroid

Java
2
star
36

ThreeTenAdpSamples

1
star
37

GoogleBooksAPI

Java
1
star
38

RecycleCardView

The sample app of RecycleCardView and FloatingActionButton with Material colors
Java
1
star
39

GCMPushDemo

Java
1
star
40

proteus

Java
1
star