All Projects → yuqirong → Flexiblesearchbar

yuqirong / Flexiblesearchbar

Licence: apache-2.0
可以伸缩的搜索栏,模仿华为应用市场

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Flexiblesearchbar

Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+736.72%)
Mutual labels:  custom-view
Flareview
Create Animatic flares around your uiview's. Visit http://stanlyhardy.github.io/FlareView for more info
Stars: ✭ 136 (-23.16%)
Mutual labels:  custom-view
Android Animations
DIfferent animation samples on Android
Stars: ✭ 152 (-14.12%)
Mutual labels:  custom-view
Springfabmenu
A menu of FloatingActionButton items, designed to be anchored on an AppBarLayout.
Stars: ✭ 116 (-34.46%)
Mutual labels:  custom-view
Custom Work For Brackets
<involuntarily lost source code> ____ Adds toolbar it include buttons show/hide with tabs of active documents on the top of the editor.
Stars: ✭ 126 (-28.81%)
Mutual labels:  custom-view
Ezchat
基于网易云信 IM SDK for Android,界面仿造QQ和微信,打造的一款简单的即时通讯 APP,目前可实现好友添加,个人资料修改,基础聊天功能(包括文字,表情,语音,视频,图片和位置信息发送接收功能),Based on Netease cloud letter IM SDK for Android, the interface mimics QQ and WeChat, to create a simple instant messaging APP, which can be realized by adding friends, modifying personal information, basic chatting functions (including text, emoticons, voice, video, Location information send and receive function).
Stars: ✭ 140 (-20.9%)
Mutual labels:  custom-view
Reel Search Android
Reel Search for Android is a UI/UX design for autocomplete action. It is a beautiful minimalistic addition to any use case.
Stars: ✭ 110 (-37.85%)
Mutual labels:  custom-view
Circularseekbar
Custom circular SeekBar (Circle, Semi-circle, and Ellipse) for Android
Stars: ✭ 166 (-6.21%)
Mutual labels:  custom-view
Multiplestatusview
一个支持多种状态的自定义View,可以方便的切换到:加载中视图、错误视图、空数据视图、网络异常视图、内容视图。
Stars: ✭ 1,676 (+846.89%)
Mutual labels:  custom-view
Androidcustomview
一个简单的投票排名对比图
Stars: ✭ 150 (-15.25%)
Mutual labels:  custom-view
Zjywidget
🎨 一组实用炫酷自定义View的集合(包括源码及demo)包括常见的支付、扫描、解锁动画、炫酷转盘式菜单等效果。A collection of Android cool custom views
Stars: ✭ 121 (-31.64%)
Mutual labels:  custom-view
Ios.blog.swiftui search bar in navigation bar
🔍 SwiftUI search bar in the navigation bar.
Stars: ✭ 124 (-29.94%)
Mutual labels:  searchbar
Imageframe
高效省内存播放序列帧动画控件
Stars: ✭ 147 (-16.95%)
Mutual labels:  custom-view
Vusikview
Android library to make notes drop animation for music players
Stars: ✭ 115 (-35.03%)
Mutual labels:  custom-view
Material
A UI/UX framework for creating beautiful applications.
Stars: ✭ 11,870 (+6606.21%)
Mutual labels:  searchbar
Wheelview
Android滚动选择控件
Stars: ✭ 1,470 (+730.51%)
Mutual labels:  custom-view
Abexpandableview
Expandable, collapsible, filterable and single/multi selectable table view.
Stars: ✭ 138 (-22.03%)
Mutual labels:  searchbar
Materialsearchbar
Material Design Search Bar for Android
Stars: ✭ 2,008 (+1034.46%)
Mutual labels:  searchbar
Modernsearchbar
The famous iOS search bar with auto completion feature implemented.
Stars: ✭ 167 (-5.65%)
Mutual labels:  searchbar
Swipelayout
A library what allows you to execute a swipe for the android platform
Stars: ✭ 150 (-15.25%)
Mutual labels:  custom-view

FlexibleSearchBar

Introduction

可以伸缩的搜索栏,模仿 华为应用市场

Screenshot

screenshot

Blog

《可以伸缩的搜索栏,模仿华为应用市场》

Usage

  1. 在布局中加入 SearchBarView

    <com.yuqirong.searchbar.SearchBarView
        android:id="@+id/searchbarview"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_margin="8dp"
        app:search_bar_hint_text="@string/string_search_text" />
    
  2. 在代码中使用它,startOpen() 为打开搜索栏;反之,startClose() 为关闭搜索栏:

    SearchBarView searchbarview = (SearchBarView) findViewById(R.id.searchbarview);
    searchbarview.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {
            // enter search activity
        }
    });
    
    searchbarview.startOpen(); // 打开搜索栏
    ...
    searchbarview.startClose(); // 关闭搜索栏
    

Custom Attributes

属性名 格式 描述
search_bar_color color|reference 搜索栏背景色
search_bar_position enum 搜索栏的位置(左或右)
search_bar_status enum 搜索栏的状态(打开或关闭)
search_bar_duration integer 搜索栏打开或关闭的动画时间
search_bar_hint_text string|reference 搜索栏的提示文本
search_bar_hint_text_color color|reference 提示文本的颜色
search_bar_hint_text_size dimension|reference 提示文本的字体大小
search_bar_icon reference 搜索栏的图标

Contact Me

License

Copyright (c) 2017 yuqirong 

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 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].