android libs from github

This project is maintained bysnowdream



android libs from github

System requirements



If the lib is no longer being maintained,please do not add it here.


Table of contents


  1. roboguice Google Guice on Android, version 2.0
  2. AndroidAnnotations Fast Android Development. Easy maintainance.
  3. afinal Afinal是一个android的ioc,orm框架
  4. xUtils** android orm, bitmap, http, view inject...
  5. ThinkAndroid ThinkAndroid是一个免费的开源的、简易的、遵循Apache2开源协议发布的Android开发框架,其开发宗旨是简单、快速的进行 Android应用程序的开发
  6. KJFrameForAndroid KJFrameForAndroid 又叫KJLibrary,是一个android的orm 和 ioc 框架。
  7. dagger A fast dependency injector for Android and Java.
  8. droidparts DI, ORM, JSON, ...
  9. butterknife View "injection" library for Android.
  10. android-common Android common lib, include ImageCache, HttpCache, DropDownListView, DownloadManager, Utils and so on
  11. android-priority-jobqueue A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.
  12. SAF SAF(Simple Android Framework)是一个简单的android框架,它为开发Android app提供了基础性组件。
  13. AndroidBinding MVVM for Android
  14. RoboBinding A data-binding Presentation Model(MVVM) framework for the Android platform.
  15. androidkit android开发框架,可以帮助你大量提高android应用开发效率。
  16. transfuse Transfuse - A Dependency Injection and Integration framework for Google Android
  17. xCombine Android Plugin Framework
  18. LoonAndroid 整个框架式不同于androidannotations,Roboguice等ioc框架,这是一个类似spring的实现方式。在整应用的生命周期中找到切入点,然后对activity的生命周期进行拦截,然后插入自己的功能。
  19. UltimateAndroid UltimateAndroid is a framework to help developing Android apps in a fast way
  20. BeeFramework_Android 极简化的Android App开发框架和App内调试工具
  21. RoboMVVM MVVM framework for Android
  22. Android-Next A Android Commons Library, include task, cache, http, custom views, utils, and so on.


  1. EventBus Android optimized event bus that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.
  2. otto An enhanced Guava-based event bus with emphasis on Android support.
  3. Guava's event bus Guava's event bus utility, explained.
  4. RxJava RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
  5. RxAndroid RxJava bindings for Android
  6. tinybus A lightweight and simple event bus optimized for Android


  1. greenDAO greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
  2. ormlite ORMLite Android functionality used in conjunction with ormlite-core
  3. ActiveAndroid Active record style SQLite persistence for Android
  4. sugar Insanely easy way to work with Android Database.
  5. androrm An Object Relational Mapper for Android.
  6. orman lightweight and practical ORM for Java/Android. works with SQLite & MySQL.
  7. ormdroid ORMDroid is a simple ORM persistence framework for your Android applications.
  8. android-sqlite-asset-helper An Android helper class to manage database creation and version management using an application's raw asset files
  9. sprinkles Sprinkles is a boiler-plate-reduction-library for dealing with databases in android applications
  10. android-database-sqlcipher Android SQLite API based on SQLCipher
  11. couchbase-lite-android Lightweight, embedded, syncable NoSQL database engine for Android.
  12. SimpleNoSQL A simple NoSQL client for Android. Meant as a document store using key/value pairs and some rudimentary querying. Useful for avoiding the hassle of SQL code.
  13. SQLiteProvider Extended SQLite functionality for Android
  14. Android-AnnotatedSQL Android library for auto generating SQL schema and Content provider
  15. DBExecutor DBExecutor
  16. LitePal An Android library that allows developers to use SQLite database extremely easy.
  17. realm-java Realm is a mobile database: a replacement for SQLite & ORMs
  18. DBFlow A blazing fast, powerful, and very simple ORM android database library that writes database code for you.

Image Loading

  1. Android-Universal-Image-Loader Powerful and flexible library for loading, caching and displaying images on Android.
  2. picasso A powerful image downloading and caching library for Android
  3. ion Android Asynchronous Networking and Image Loading
  4. glide An image loading and caching library for Android focused on smooth scrolling
  5. ImageLoader Library for async image loading and caching on Android
  6. webimageloader Library to handle asynchronous image loading on Android.
  7. AndroidImageLoader Andorid library that loads images asynchronously into cache using a thread pool


  1. ListViewAnimations An Android library which allows developers to easily add animations to ListView items
  2. NineOldAndroids Android library for using the Honeycomb animation API on all versions of the platform back to 1.0!
  3. android-flip A component for flip animation on Android, which is similar to the effect in Flipboard iPhone/Android
  4. AndroidViewAnimations Cute view animation collection.
  5. AnimationEasingFunctions Android Animation Easing Functions. Let's make animation more real!
  6. ViewPagerTransforms Library containing common animations needed for transforming ViewPager scrolling for Android v13+.
  7. TransitionsBackport A backport of the new Transitions API for Android
  8. RecyclerViewItemAnimators This repo provides simple animators for the item views in the RecyclerView This code is cloned from DefaultItemAnimator provided by Google customizing the animations.
  9. ParallaxPagerTransformer A pager for Android with parallax effect
  10. android-page-curl Page Curl for Android
  11. android-cubic-bezier-interpolator An Android Library that helps you implement bezier animations in you application
  12. ActivityTransition An android project presenting some transitions you can use between activities
  13. EasyAndroidAnimations Easy Android Animations is an animation library that aims to make android animations easier, with 50+ builtin animations, it allows you to introduce many complex animation effects in your application with one or two lines of code.
  14. AndroidImageSlider An amazing and convenient Android image slider.
  15. transitions-everywhere Backport of Transitions API from Android 4.4. Compatible with Android 2.2+
  16. android-ripple-background A beautiful ripple animation for your app


  1. android-async-http An Asynchronous HTTP Library for Android
  2. okhttp An HTTP+SPDY client for Android and Java applications.
  3. retrofit Type-safe REST client for Android and Java by Square, Inc.
  4. AndroidAsync Asynchronous socket, http (client+server), websocket, and library for android. Based on nio, not threads.
  5. async-http-client Asynchronous Http and WebSocket Client library for Java
  6. http-request Java HTTP Request Library
  7. android-lite-http Arrow(LiteHttp) is a simple, intelligent and flexible HTTP client for Android.
  8. robospice Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules.
  9. volley volley
  10. enhanced-volley An enhanced version of the Volley Networking Toolkit for Android
  11. unirest-java Unirest in Java: Simplified, lightweight HTTP client library.



  1. MaterialDesignLibrary This is a library with components of Android L to you use in android 4.0
  2. MaterialEverywhere Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices.
  3. MaterialWidget Android L design widget in Android 4.0 ~ 4.4.
  4. MaterialTabs Custom Tabs with Material Design effects. It requires 14+ API and android support v7 (Toolbar)
  5. material-ripple Android L Ripple effect wrapper for Views
  6. RippleEffect Implementation of Ripple effect from Material Design for Android API 14+
  7. LDrawer Android drawer icon with material design animation
  8. material-design-icons Material Design icons by Google
  9. AndroidMaterialDesignToolbar Android Sample Project with Material Design and Toolbar.
  10. MaterialEditText EditText in Material Design
  11. material-menu Morphing Android menu, back, dismiss and check buttons
  12. material-dialogs Not even AppCompat uses Material theming for AlertDialogs on pre-Lollipop. This is a beautiful and easy solution.
  13. MaterialNavigationDrawer Navigation Drawer Activity with material design style and simplified methods
  14. MaterialDialog An Android library for conveniently building Material Design Dialog in Android version 2.2 ~ L.
  15. materialish-progress A material style progress wheel compatible with 2.3
  16. MaterialList An Android library aimed to get the beautiful CardViews that Google shows at its official design specifications
  17. android-floating-action-button Floating Action Button for Android based on Material Design specification
  18. Android-Material-circular-button Animated Material circular button
  19. material-drawer DrawerLayout implementation for Material design apps
  20. snackbar Snackbar Android Library
  21. Android-DialogFragments Various DialogFragments for Android.


  1. android-ui Android UI library. Requires API level 14+
  2. GreenDroid GreenDroid is a development library for the Android platform. It makes UI developments easier and consistent through your applications.
  3. FlatUI CengaLabs - Android FlatUI Kit
  4. EffectiveAndroidUI Sample project created to show some of the best Android practices to work in the Android UI Layer. The UI layer of this project has been implemented using MVP or MVVM (without binding engine) to show how this patterns works. This project is used during the talk "EffectiveAndroidUI".
  5. ParallaxEverywhere Parallax everywhere is a library with alternative android widgets with parallax effects.


  1. Shimmer-android An Android TextView with a shimmering effect
  2. Titanic Android experiment showing a sinking TextView
  3. emojicon A library to show emoji in TextView, EditText (like WhatsApp) for Android
  4. android-autofittextview A TextView that automatically resizes text to fit perfectly within its bounds.
  5. Android-RobotoTextView Implementation of a TextView and all its direct/indirect subclasses with native support for the Roboto fonts, includes the brand new Roboto Slab fonts.
  6. SizeAdjustingTextView This is based on an open source autosizing textview for Android.
  7. SecretTextView A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds.
  8. anytextview An extension of Android's TextView and EditText that let's you use the font of your choice
  9. android-formidable-validation Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Provides easy means to validate with dependencies.
  10. android-edittext-validator Android form edit text is an extension of EditText that brings data validation facilities to the edittext.
  11. chips-edittext-library Chips EditText, Token EditText, Bubble EditText, Spannable EditText and etc.. There are many names of this control. Here I develop easy to understand , modify and integrate Chips Edit Text widget for Android
  12. FloatingLabel FloatingLabel Allows you to create a blow kind of EditText.
  13. AndroidFloatLabel Float Label Edit Texts for Android
  14. AndroidFloatLabel Library project with a custom view that implements the Float Label pattern
  15. TokenAutoComplete Gmail style MultiAutoCompleteTextView for Android
  16. TextJustify-Android Android Text Full Jusiftication / Wrapping / Justify
  17. RoundedLetterView RoundedLetterView like the one in Android 5.0 Contacts app
  18. Android-SingleInputForm A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
  19. BabushkaText A simpler way to style your TextViews
  20. MatchView Include MatchTextView and will like it
  21. ExpandableTextView Android's TextView that can expand/collapse like the Google Play's app description
  22. AccountAutoCompleteEditText Simple extension for account suggestion and auto completion.


  1. PhotoView Implementation of ImageView for Android that supports zooming, by various touch gestures.
  2. android-smart-image-view Android ImageView replacement which allows image loading from URLs or contact address book, with caching
  3. TouchImageView Adds touch functionality to Android ImageView.
  4. CircleImageView A fast circular ImageView perfect for profile images.
  5. gesture-imageview This is a simple Android View class which provides basic pinch and zoom capability for images.
  6. android-shape-imageview Custom shaped android imageview components
  7. AndroidImageCrop How select and crop image on Android
  8. GifImageView Android ImageView that handles animated GIF images
  9. cropper Android widget for cropping and rotating an image.
  10. ImageViewZoom Android ImageView widget with zoom and pan capabilities
  11. CircularImageView Custom view for circular images in Android while maintaining the best draw performance
  12. CircularImageView Create circular image view in android
  13. android-crop Android library project for cropping images
  14. cropimage Replacement for deprecated official Android crop image function
  15. android-cropimageCropImage Activity from Gallery.apk packaged as a reusable Android library (4.0 and up).
  16. android-gpuimage Android filters based on OpenGL (idea from GPUImage for iOS)
  17. gif-movie-view Android View widget for displaying GIF animations.
  18. WaveDrawable Drawable animation inspired by Tinder.
  19. DrawerArrowDrawable Visual back-port of the rotating drawer-to-arrow drawable from Android L
  20. TextDrawable This light-weight library provides images with letter/text like the Gmail app. It extends the Drawable class thus can be used with existing/custom/network ImageView classes. Also included is a fluent interface for creating drawables and a customizable ColorGenerator.
  21. SelectableRoundedImageView Android ImageView that supports different radiuses on each corner. It also supports oval(and circle) shape and border. This would be especially useful for using inside CardView which should be rounded only top left and top right corners(Don't forget to call setPreventCornerOverlap(false) on your cardview).


  1. circular-progress-button Android Circular Progress Button
  2. android-process-button Android Buttons With Built-in Progress Meters.
  3. android-circlebutton Circle button widget for Android
  4. android-flat-button FButton - a flat button library for Android
  5. FloatingActionButton Android Google+ like floating action button
  6. ExpandableButtonMenu An Android library for an expandable button menu
  7. fancybuttons An Android library to easily create fancy buttons without the need of drawable files.
  8. Android-Bootstrap Bootstrap style buttons with Font Awesome
  9. SwitchButton SwitchButton

Progressbar/Progress View

  1. SmoothProgressBar A small Android library allowing you to have a smooth and customizable horizontal indeterminate ProgressBar
  2. NumberProgressBar A beautiful, slim Android ProgressBar.
  3. android-HoloCircularProgressBar Holo Circular ProgressBar
  4. android-square-progressbar An android library to display a progressbar that goes around an image.
  5. ProgressPieView Android library for showing progress in a highly customizable pie.
  6. GoogleProgressBar Android library to display progress like google does in some of his services.
  7. ProgressWheel A progress wheel for android, intended for use instead of the standard progress bar.
  8. RefreshActionItem Android - An action bar item which acts both as a refresh button and as a progress indicator
  9. CircleProgress CircleProgress, DonutProgress, ArcProgress
  10. WaveView A wave view of android,can be used as progress bar.


  1. SlidingMenu SlidingMenu is an Open Source Android library that allows developers to easily create applications with sliding menus like those made popular in the Google+, YouTube, and Facebook apps. Feel free to use it all you want in your Android apps provided that you cite this project and include the license in your app.
  2. android-menudrawer A slide-out menu implementation, which allows users to navigate between views in your app.
  3. ArcMenu An android custom view which looks like the menu in Path 2.0 (for iOS).
  4. RibbonMenu Navigation menu for Android (based off Google+ app)
  5. CircularFloatingActionMenu an animated circular menu for Android
  6. ActionsContentView ActionsContentView is an standalone library implements actions/content swiping view (AKA Side Navigation UI Pattern, AKA Facebook side menu). The library doesn't use any specific code introduced in new Android SDK versions. This allows develop an application with an action/content swiping view for every version of Android from 2.2 and up.
  7. Android-NewPopupMenu Android-NewPopupMenu is an android library to create popup menu with GoogleMusic app-like style.
  8. android-floating-action-menu Floating Action Menu for Android. Inspired by the Google Plus floating menu.
  9. Android-CircleMenu Menu with items on a rotating circle
  10. Android Wheel Menu Simple and easy to use circular menu widget for Android.
  11. android-satellite-menu Android Satellite Menu
  12. SideNavigation Implementation of "SIde Navigation" or "Fly-in app menu" pattern for Android (based on Google+ app)
  13. AndroidResideMenu The idea of ResideMenu is from Dribbble 1 and 2. It has come true and run in iOS devices. iOS ResideMenu This project is the RefsideMenu Android version. The visual effect is partly referred to iOS version of ResideMenu. And thanks to the authors for the above idea and contribution.
  14. GoogleNavigationDrawerMenu Android Library for a DrawerLayout similar to the one in Google Apps
  15. simple-side-drawer Simple library which enable you to add a drawer(slide-out) navigation to your android application
  16. BlurNavigationDrawer Android - Blur Navigation Drawer like Etsy app.
  17. ActionSheetForAndroid IOS UIActionSheet in Android
  18. BottomSheet One way to present a set of actions to a user is with bottom sheets, a sheet of paper that slides up from the bottom edge of the screen. Bottom sheets offer flexibility in the display of clear and simple actions that do not need explanation.


  1. QustomDialog a quick custom android dialog project
  2. Android-RateThisApp Android library to show "Rate this app" dialog
  3. AndroidSliderPreference Android library that allows applications to add dialog-based slider widgets to their settings
  4. L-Dialogs A small library replicating the new dialogs in android L.
  5. LicensesDialog LicensesDialog is an open source library to display licenses of third-party libraries in an Android app.
  6. android-styled-dialogs A simple library for styling Android dialogs in the Holo theme. It also removes boilerplate code for displaying simple dialogs.
  7. PostOffice This is a library for easily constructing Holo and Material Design Dialogs.
  8. sweet-alert-dialog Android版的SweetAlert,清新文艺,快意灵动的甜心弹框
  9. BlurDialogFragment Library project to display DialogFragment with a blur effect.


  1. pinned-section-listview Easy to use ListView with pinned sections for Android.
  2. PullToRefresh-ListView A generic, customizable, open source Android ListView implementation that has 'Pull to Refresh' functionality.
  3. FlabbyListView Android library to display a ListView whose cells are not rigid but flabby and react to ListView scroll.
  4. XListView-Android ListView supports pull refresh and pull up to load more feature.
  5. PinterestListView Pinterest style ListView for Android
  6. android-pulltorefresh-and-loadmore android custom listview,with interaction pattern load more and pull to refresh to load data dinamically
  7. PinnedHeaderListView A ListView with pinned section headers for Android
  8. ParallaxScroll Parallax ScrollView and ListView for Android
  9. Android-HorizontalListView HorizontalListView is an Android ListView widget which scrolls in a horizontal manner (in contrast with the SDK-provided ListView which scrolls vertically).
  10. LinearListView Android library that allows you to bind a LinearLayout with a ListAdapter.
  11. ParallaxListView A Android ListView Demo with a parallax effect header like Path.
  12. PagedHeadListView Android boosted ListView supporting paginated header with a new material page indicator.
  13. PullZoomView An Android custom ListView and ScrollView with pull to zoom-in.
  14. HeaderListView Android ListView with sticky headers
  15. ListviewFilter Awesome Listview filter functionality in Android.
  16. android-accordion-view Simple ListView based Android AccordionView
  17. DragNDropList An easy to use Drag & Drop List for Android. Direct replacement of the android ListView.
  18. QuickReturn Android ListView that implements the QuickReturn UI pattern. Written from scratch with focus on performance.
  19. Android-HorizontalListView HorizontalListView is an Android ListView widget which scrolls in a horizontal manner
  20. ZrcListView 一个顺滑又漂亮的Android下拉刷新与加载更多列表组件。
  21. android-swipelistview An Android List View implementation with support for drawable cells and many other swipe related features
  22. android-pulltorefresh This project aims to provide a reusable pull to refresh widget for Android.
  23. StickyListHeaders An android library for section headers that stick to the top
  24. LazyList Lazy load of images in Android
  25. FloatingGroupExpandableListView An open source Android library that provides a floating group view at the top of the ExpandableListView
  26. PullSeparateListView 到顶部或底部时拉动,item分离效果
  27. Android-SlideExpandableListView A better ExpandableListView, with animated expandable views for each list item
  28. HorizontalVariableListView Horizontal list view for Android which allows variable items widths
  29. ListBuddies Android library to achieve in an easy way, the behaviour of the home page in the Expedia app, with a pair of auto-scroll circular parallax ListViews.
  30. Android-Tiling-ScrollView A tiling scrollview to display large picture (similar to iOS "CATiledLayer")
  31. PullScrollView 1.仿照新浪微博Android客户端个人中心的ScrollView,下拉背景伸缩回弹效果。 2.ScrollView仿IOS回弹效果。
  32. StickyScrollViewItems A small android library for tagging views inside a ScrollView as "sticky" making them stick to the top of the scroll container until a new sticky view comes and takes it's place
  33. Discrollview Scroll + discover = DiscrollView
  34. SwipeMenuListView SwipeMenuListView
  35. Android-ObservableScrollView Android library to observe scroll events on scrollable views.


  1. two-way-gridview An Android GridView that can be configured to scroll horizontally or vertically
  2. AsymmetricGridView Android ListView that mimics a GridView with asymmetric items. Supports items with row span and column span
  3. AndroidCoolDragAndDropGridView An example of a gridview with various column span items and drag and drop support like Google keep has
  4. GridViewHeader Android GridView with addHeader( View view ) function
  5. DynamicGrid Drag and drop GridView for Android
  6. PagingGridView A Paging GridView with the same behavior as PagingListView.
  7. DraggableGridView A drag-and-drop scrolling grid view for Android
  8. AndroidStaggeredGrid An Android staggered grid view which supports multiple columns with rows of varying sizes.
  9. StaggeredGridView A modified version of Android's experimental StaggeredGridView. Includes own OnItemClickListener and OnItemLongClickListener, selector, and fixed position restore.
  10. android-GridViewWithHeaderAndFooter GridView with Header and Footer
  11. DynamicGrid Drag and drop GridView for Android


  1. Android-ViewPagerIndicator Paging indicator widgets compatible with the ViewPager from the Android Support Library and ActionBarSherlock. Originally based on Patrik Åkerfeldt's ViewFlow.
  2. ViewPagerExtensions A set of custom views for the ViewPager from the Android Support Package
  3. parallaxviewpager An easy-to-use ViewPager subclass with parallax background effect for Android apps.
  4. android-auto-scroll-view-pager Android auto scroll viewpager or viewpager in viewpager
  5. NumericPageIndicator Android - A ViewPager page indicator that displays the current page number and (optionally) the page count
  6. VerticalViewPager Vertical implementation of Android ViewPager
  7. InfiniteViewPager Augment Android's ViewPager with wrap-around functionality.
  8. ViewPager3D Extension of Android ViewPager with a 3D swipe effect
  9. LoopingViewPager An android ViewPager extension allowing infinite scrolling


  1. ActionBarSherlock Action bar implementation which uses the native action bar on Android 4.0+ and a custom implementation on pre-4.0 through a single API and theme.
  2. TabBarView An Android Library to help you create actionbar tabs like "Capitaine train" app by Cyril Mottier
  3. android-extendedactionbar An example of how to extend the ActionBar under the status bar from the theme
  4. FadingActionBar Android library implementing a fading effect for the action bar, similar to the one found in the Play Music app
  5. GlassActionBar Android - a library that adds a glass-like effect to the action bar.


  1. Android-CircularRevealFragment A demo about how to show and hide fragments using the new Android Lollipop circle reveal transitions. Minimum API level is 21



  1. Crouton Context sensitive notifications for Android
  2. SuperToasts A library that extends the Android toast framework.
  3. Android-AppMsg In-layout notifications. Based on Toast notifications and article by Cyril Mottier
  4. MessageBar An Android Toast replacement, similar to the one seen in the GMail app.
  5. SnackBar toast-like alert pattern for Android


  1. HoloCircleSeekBar A Circle SeekBar inspired by Android Holo ColorPicker designed by Marie Schweiz and developed by Lars Werkman.
  2. AndroidCircularSeekBar A circular seek bar for Android
  3. circularseekbar Custom circular SeekBar (Circle, Semi-circle, and Ellipse) View/Widget for Android
  4. StartPointSeekBar StartPointSeekBar is a custom view for the Android platform that makes it possible to have a SeekBar to have custom start point.
  5. SeekArc Circular SeekBar view for Android
  6. discreteSeekBar DiscreteSeekbar is my poor attempt to develop an android implementation of the Discrete Slider component from the Google Material Design Guidelines.
  7. discreteSeekBar DiscreteSeekbar is my poor attempt to develop an android implementation of the Discrete Slider component from the Google Material Design Guidelines.
  8. android-comboseekbar seekbar with distinct values
  9. RangeSeekbar A seekbar contains two cursor(left and right). Multiple touch supported.

Calendar View

  1. Caldroid Caldroid is a fragment that display calendar with dates in a month. Caldroid can be used as embedded fragment, or as dialog fragment. User can also swipe left/right to navigate to different months.
  2. android-times-square Standalone Android widget for picking a single date from a calendar view.
  3. calendar-widget The Android calendar widget is home screen widget for your Android device. It displays a list of upcoming calendar events so that you can easily have a glimpse at your upcoming appointments.
  4. android-spinnerwheel Wheel-like spinner widget for Android
  5. Android-MonthCalendarWidget A simple example of a responsive Month Calendar app widget for Android
  6. android-betterpickers Android library for better Picker DialogFragments
  7. android-calendar-card Android calendar view (like card)
  8. DateSlider An alternative DatePicker for Android
  9. Android-Week-View Android Week View is an android library to display calendars (week view or day view) within the app. It supports custom styling.


  1. SuperRecyclerView Pumped up RecyclerView

将数据与程序分开的原因,表面是为了独立的管理数据,深层原因是使App兼容不同的环境即使你的数据支持不同语言或者不同屏幕大小的特殊设备。这是非常且越来越重要的! 对于各种各样的资源,我们统一分成两种: 默认资源和针对不同环境的备选资源 举个例子,默认资源存放在res/layout/ directory下,针对于横摆方向的设备的备选资源存放在res/layout-land/ directory(横摆方向的设备的具体方式见图)。当只有默认资源时,见图1。当设置了备选资源时,见图二,Android系统会自动通过匹
参考链接: 首先假设有如下表格,表格名称为:"Employees" SQL基本格式如下 : select 列名称 from 表名称 最基本SQL语句,就是从表中选取要返回的列数据,不加任何过滤条件。当然如果"列名称"是"*",那么将返回整个表格数据。在Android上,SQL相关的method通常有一个参数就是String[] columns,而这个参数对应的就是SQL语句中的"列名称"。可以看一下Android中的method
刚在Android转过来,部分的疑惑 1.在Android开发中一直使用的是代码控制的界面,刚刚到iOS中,特别是使用Xcode6,大部分是使用(Interface Builder)拖控件,不太习惯,主要是不太喜欢,所以移步此处: 那么问题就来了,创建一个空的模版 2.Xcode6以前还有空模版,提供代码控制界面使用,现在的Xcode6已经不提供了(可能是Apple希望开发者如此?),所以自己创建一个空的模版
pre name="code" class="php"php:?php//Using baidu translate API$content=urlencode($_GET['cont']);//$content="nihao";$api='your apikeys';$url="$apiq=$contentfrom=autoto=auto";$str=file_get_contents

Android LayoutInflater 详解 - 2015-03-20 06:03:11

Android LayoutInflater 详解 简介: 在实际开发中 LayoutInflater 这个类还是非常有用的,它的作用类似于 findViewById() 。 不同点是 LayoutInflater 是用来找 res/layout/ 下的 xml 布局文件,并且实例化;而 findViewById() 是找 xml 布局文件下的具体 widget 控件(如Button,TextView等等)。 使用场景: ①对于一个没有被载入或者想要动态载入的界面,都需要使用 LayoutInflater
Lee出品,转载请注明出处 对于软件开发者而言,理解和熟悉计算机内存知识是很基础的。今天我就来翻翻旧账,回顾看看有哪些点遗漏了,在此共同学习。 提起内存,我们常常想到三个区域: 1,静态区,静态变量 static variables / constant  ,常量,静态变量就存储在静态区域,这个区域比较简单,只需要知道怎么通过地址访问他就行了。 2,堆,也叫堆栈(这里要注意堆栈 和 栈 是不同的)动态
上一篇文章 Path动画--书写文字的动画实现 介绍了一些笔迹动画的一个思路:记录笔尖经过的每一个点坐标然后那这些点重新拼接成path一步一步绘制,达到一个让手机自动绘制出我们想要的图形效果,这个是把路径的信息放在内存中了现在做一个持久层的实现。 先看下效果,上一把我们是手指画出字来再让手机画的,现在这个是手机自动绘制出我们的文字,当然了这个绘制文字的资源我们要事先准备好。 说说原理: 这里涉及到Android的数据存储,常用的5种方法我就不赘述了,这里选择最简单的保存到文件。 先看下一个关键的工具类:
转载请注明本文出自大苞米的博客( ),谢谢支持! 开篇废话: 年前换了一个手机,SONY的Z3C。这个手机在解锁屏幕时有一个滑动动画,类似火花的粒子喷射,效果很炫。。。 于是尝试着模拟了一下,完成后效果如下图( 还有很多细节没有实现 ):    SurfaceView : 因为surfaceview是使用的双缓冲机制,所以很适合绘制这种需要不停变换的画面。 下面我从网上copy了几条关于SurfaceView的一些特性(已经表明了出处),因为
RatingBar介绍 RatingBar作为评分组件,它在实现打分功能的时候确实很方便,并结合了手势触摸事件;RatingBar 的实质是 ProgressBar ,可以看看他的继承关系 java .lang .Object android .view .View android .widget .ProgressBar android .widget .AbsSeekBar android .widget .RatingBar 使用过 RatingBar 的朋友都知道,RatingBar 有这样一个属
在 iOS 7 之后我们可以用 UIFont 的preferredFontForTextStyle: 类方法来指定一个样式,并让字体大小符合用户设定的字体大小。目前可供选择的有六种样式: UIFontTextStyleHeadline  UIFontTextStyleBody  UIFontTextStyleSubheadline  UIFontTextStyleFootnote  UIFontTextStyleCaption1  UIFontTextStyleCaption2  当在设置里更改时,如果自