All Projects → fevziomurtekin → searchview

fevziomurtekin / searchview

Licence: MIT license
🔍 A beautiful searchview with animations.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to searchview

Material Singleinputform
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
Stars: ✭ 202 (+1583.33%)
Mutual labels:  edittext
EmojiConverter
Android Library for EditText
Stars: ✭ 35 (+191.67%)
Mutual labels:  edittext
TextViewPlus
an android library for setting custom font in xml layout
Stars: ✭ 27 (+125%)
Mutual labels:  edittext
ShapeView
打造万能shape,再也不用写很多xml了,可以当做TextView,Button,EditText等多种控件,方便实用
Stars: ✭ 34 (+183.33%)
Mutual labels:  edittext
SuperShapeView
A smart custom view support shapes for ImageView, TextView ,EditView ,instead of shape.xml.(自定义形状控件,支持TextView,EditText)
Stars: ✭ 60 (+400%)
Mutual labels:  edittext
tty-editor
Opens a file or text in the user's preferred editor
Stars: ✭ 26 (+116.67%)
Mutual labels:  edittext
Richtexteditor
Rich text editor lib for android. (Img support) - 富文本编辑器(支持图片)
Stars: ✭ 172 (+1333.33%)
Mutual labels:  edittext
Searchable-RecyclerView-Demo
An example app using a SearchView to filter items in a RecyclerView while taking full advantage of item animations!
Stars: ✭ 722 (+5916.67%)
Mutual labels:  searchview
CurrencyEditText
A simple EditText input designed to input decimal and currency values.
Stars: ✭ 18 (+50%)
Mutual labels:  edittext
Hyena
鬣狗快速开发库(2018年6月停止维护)
Stars: ✭ 21 (+75%)
Mutual labels:  edittext
CodeEditText
验证码,密码输入框。支持密码、明文展示。背景支持边框、填充、下划线展示。支持自定义背景和文本样式
Stars: ✭ 25 (+108.33%)
Mutual labels:  edittext
QuestionnaireView
A simple view to be able to display question and various field (Radio, EditText, checkbox ) for answers
Stars: ✭ 34 (+183.33%)
Mutual labels:  edittext
MTextField
A new Material Design text field that comes in a box, based on [Google Material Design guidelines]
Stars: ✭ 32 (+166.67%)
Mutual labels:  edittext
AutoFormatEditText
Android Library for auto-formatting money on EditText
Stars: ✭ 53 (+341.67%)
Mutual labels:  edittext
SheenValidator
Android library to make form validation easier
Stars: ✭ 29 (+141.67%)
Mutual labels:  edittext
Lineheightedittext
Fix edittext lineHeight and cursor length when set lineSpacingExtra or lineSpacingMultiplier
Stars: ✭ 191 (+1491.67%)
Mutual labels:  edittext
BankCardNumFormat
一个可以根据银行卡卡号自动识别是哪个开户行并格式化输入的edittext控件
Stars: ✭ 35 (+191.67%)
Mutual labels:  edittext
RealmSearchView
SearchView with result list powered by Realm
Stars: ✭ 23 (+91.67%)
Mutual labels:  searchview
passport
A Kotlin-based Android view validation library with a simple DSL.
Stars: ✭ 31 (+158.33%)
Mutual labels:  edittext
BooksApp
Book selling application with MVVM (Model, View, ViewModel), LiveData, DataBinding, Retrofit, Room Database, Navigation Component(NavGraph, BottomNav), ViewPager2 in TabLayout, SearchView, Vertical Adapter(BestSellers) and Horizontal Adapter(All Books) with ConcatAdapter for Main Screen, Firebase Auth, SearchView in Adapter, Picasso, Lottie, Ani…
Stars: ✭ 53 (+341.67%)
Mutual labels:  searchview

Android Arsenal

SearchView

A beautiful searchview with animations.

Screens

SearchView Animation.

Usage

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}
  
  .....

  dependencies {
	        implementation 'com.github.fevziomurtekin:SearchView:0.1.1'
	  }
	}


Include layout. `

`<com.fevziomurtekin.searchview.SearchView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/search"
      />


Include in the activity

public class MainActivity extends AppCompatActivity implements TextWatcher {

  @Override
  protected void onCreate(@Nullable Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      searchView      = new SearchView(getApplicationContext());
      searchView      . setSearchView_hint("Search");
      searchView      . setSearchView_textSize(14f);
      searchView      . setSearchView_animationTime(250);
      searchView      . setSearchView_textColor(getResources().getColor(R.color.borderColor));
      searchView      . setResult_textSize(14f);
      searchView      . setResult_textColor(getResources().getColor(R.color.borderColor));
  }
}

Attributes

Attribute Description
searchhint Default text, "Search. "
animationtime The size of the animation time is int (by default 250 )
searchtextcolor The color in int of the title text color (R.color.textcolor => #3F51B5)
resulttextcolor The color in int of the title text color (R.color.textcolor => #3F51B5)
searchsize The size in sp of the search text size (by default 14sp)
resultsize The size in sp of the result text size (by default 14sp)

License

	MIT License

	Copyright (c) 2018 Fevzi Ömür Tekin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].