![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
androidの控件集
文章平均质量分 81
安卓小飞
Work achievement dream!!!
展开
-
Android 中带有进度条效果的按钮(Button)
安卓中带有进度条效果的按钮,如下图:1.布局文件如下activity_main.xml 1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 an原创 2017-09-12 17:03:49 · 7096 阅读 · 0 评论 -
仿IOS毛玻璃效果BlurView
BlurView 详细介绍BlurView 是Android下类似 iOS 毛玻璃效果控件。使用: eightbitlab.com.blurview.BlurView android:id="@+id/blurView" android:layout_width="match_parent" android:layout_height=原创 2017-12-19 16:17:12 · 3847 阅读 · 0 评论 -
android自定义角标BadgeView
支持自由定制外观、拖拽消除的MaterialDesign风格Android BadgeView一些特性随意定制外观,包括Badge位置、底色、边框、阴影、文字颜色(支持透明色)、大小、内外边距等Badge数字小于0时显示dot,等于0时隐藏整个Badge,在普通模式下超过99时显示99+,精确模式下显示具体值支持设置文本内容支持设置图片背景支原创 2017-12-06 14:28:20 · 1548 阅读 · 0 评论 -
Timeline-View 仿淘宝物流
1、加入包dependencies { compile 'com.github.vipulasri:timelineview:1.0.5'}2、布局中使用com.github.vipulasri.timelineview.TimelineView android:id="@+id/time_marker" android:layout_width=原创 2017-12-20 17:03:02 · 1034 阅读 · 0 评论 -
SwitchButton(原ToggleButton)
样式图:gradle绑定:repositories { mavenCentral() jcenter()}...dependencies { compile 'com.github.zcweng:switch-button:0.0.3@aar'}布局使用:LinearLayout xmlns:android="http:原创 2017-12-08 14:06:48 · 661 阅读 · 0 评论 -
SuperTextView多形态控件
1、功能描述SuperTextView是一个功能强大的View,可以满足日常大部分布局样式,开发者可已自行组合属性配置出属于自己风格的样式!可能描述起来没有概念,还是直接看效果图吧!SuperButton拥有shape文件的大部分属性,从此写shape属性变得非常简单CommonTextView只是SuperTextView的逻辑简化,其实功能并不差少哦,有兴趣的可转载 2017-12-08 13:47:29 · 644 阅读 · 0 评论 -
android最全的图表(折线柱形等)
github地址:https://github.com/xcltapestry/XCL-Charts部分示例图:原创 2017-11-29 16:43:29 · 433 阅读 · 0 评论 -
android百分比布局PercentRelativeLayout
此布局可以实现按照屏幕比例配置控件所占百分比大小进行适配,并且不受手机横竖屏影响下面展示布局样式操作:1、加入依赖包dependencies { compile 'com.android.support:percent:25.3.0'}2、布局中使用android.support.percent.PercentRelativeLayou原创 2017-11-29 15:56:11 · 9154 阅读 · 7 评论 -
横向滑动的listview
1、自定义view相关代码import java.util.LinkedList;import java.util.Queue;import android.content.Context;import android.database.DataSetObserver;import android.graphics.Rect;import android.util.Attribut原创 2017-11-08 15:49:47 · 402 阅读 · 0 评论 -
字体动画HTextView
这是一款非常炫酷的TextView,绝对给你惊喜。Github地址:https://github.com/hanks-zyh/HTextView先放几张效果图:Default : Scale:EvaporateText:Fall:fall.gifLine:Sparkle:Anvil:转载 2017-10-10 15:55:45 · 2010 阅读 · 0 评论 -
android布局控件flex-layout
最近Google开源了一个项目叫「FlexboxLayout」。1.什么是 Flexbox简单来说 Flexbox 是属于web前端领域CSS的一种布局方案,是2009年W3C提出了一种新的布局方案,可以简便、完整、响应式地实现各种页面布局,并且 React Native 也是使用的 Flex 布局。你可以简单的理解为 Flexbox 是CSS领域类似 Linearlayo原创 2017-06-29 14:21:39 · 1378 阅读 · 0 评论 -
AndroidSwipeLayout实现上下左右滑动显示操作按钮
AndroidSwipeLayout 是用于 Android 应用上面功能强大的刷卡布局效果为了方便操作,我可能会对代码有一些简化,并且在此用图片展示https://github.com/daimajia/AndroidSwipeLayout首先我们先分析一下主页的布局继承关系*从这张图可以看出来AndroidSwip原创 2017-06-29 15:22:41 · 5890 阅读 · 0 评论 -
MaterialDesignLibrary控件效果库的集合
MaterialDesignLibrary可以说是颇受开发者瞩目的一个控件效果库,能够让开发者在Android 2.2系统上使用Android 5.0才支持的控件效果,比如扁平、矩形、浮动按钮,复选框以及各式各样的进度指示器等。除上述之外,MaterialDesignLibrary还拥有SnackBar、Dialog、Color selector组件,可非常便捷地对应用界面进行设置。原创 2017-06-29 14:45:07 · 1252 阅读 · 0 评论 -
android圆形ImageView之CircleImageView
简单使用,3步实现1、接入三方地址dependencies { ... compile 'de.hdodenhof:circleimageview:2.1.0'}2、布局控件中直接使用de.hdodenhof.circleimageview.CircleImageView xmlns:app="http://schemas.androi原创 2017-07-28 09:32:12 · 1713 阅读 · 0 评论 -
circular-progress-button
github地址:https://github.com/dmytrodanylyk/circular-progress-button原创 2017-09-14 12:57:31 · 360 阅读 · 0 评论 -
android自定义view实现开关
下面是一个自定义view实现的开关,方法使用并且附加监听1、自定义view代码package com.android.sf.view;import android.content.Context;import android.content.res.Resources;import android.content.res.TypedArray;import android.g原创 2017-07-28 10:05:22 · 1674 阅读 · 1 评论 -
androd自定义view实现圆显示进度和百分比的控件
下面是使用自定义view实现圆形的显示百分比的控件,控件显示如图所示下面是自定义view的代码package com.android.sf.view;import android.content.Context;import android.graphics.Canvas;import android.graphics.Color;import android.gra原创 2017-07-28 10:26:34 · 584 阅读 · 0 评论 -
MyWheelView实现Android滚动选择器
Android滚动选择控件,字体渐变大小和颜色目前滚动控件有几种情况,同样样式大小的滚动控件和3D形式的滚动样式项目接到了一个这种需求,这种样式的UI设计,不是3D样式但是,字体渐变大小,颜色也是渐变的,滑动过程字体也是渐变样式所以基于wheelview做了修改,呈现出这种样式有需要的,可以前往github上下载demohttps://github.com/shengfei...原创 2018-11-19 11:53:59 · 662 阅读 · 0 评论