All Projects → GIVEWAYTO → Tagimageview

GIVEWAYTO / Tagimageview

高仿小红书标签添加功能 1.随点击处添加标签 2.计算标签位置 3.可将标签位置还原渲染至不同屏幕尺寸 4.拖拽删除标签

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Tagimageview

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 (-40.86%)
Mutual labels:  custom-view
Multiplestatusview
一个支持多种状态的自定义View,可以方便的切换到:加载中视图、错误视图、空数据视图、网络异常视图、内容视图。
Stars: ✭ 1,676 (+801.08%)
Mutual labels:  custom-view
Android Animations
DIfferent animation samples on Android
Stars: ✭ 152 (-18.28%)
Mutual labels:  custom-view
Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+696.24%)
Mutual labels:  custom-view
Flutter mvp
使用Flutter MVP结构开发的短视频类小项目,加入各种平滑的过渡动画。欢迎Star或Fork!
Stars: ✭ 124 (-33.33%)
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 (-24.73%)
Mutual labels:  custom-view
Consecutivescroller
ConsecutiveScrollerLayout是Android下支持多个滑动布局(RecyclerView、WebView、ScrollView等)和普通控件(TextView、ImageView、LinearLayou、自定义View等)持续连贯滑动的容器,它使所有的子View像一个整体一样连续顺畅滑动。并且支持布局吸顶功能。
Stars: ✭ 1,383 (+643.55%)
Mutual labels:  custom-view
Loadmorewrapper
📦 make recyclerView supports load more and customize the footer view, without changes to the original adater of recyclerView. 在不改动 RecyclerView 原有的 adapter 的情况下,使 RecyclerView 滑动到底部的时候能够加载更多和自定义底部视图。
Stars: ✭ 179 (-3.76%)
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 (-32.26%)
Mutual labels:  custom-view
Androidcustomview
一个简单的投票排名对比图
Stars: ✭ 150 (-19.35%)
Mutual labels:  custom-view
Vusikview
Android library to make notes drop animation for music players
Stars: ✭ 115 (-38.17%)
Mutual labels:  custom-view
Zjywidget
🎨 一组实用炫酷自定义View的集合(包括源码及demo)包括常见的支付、扫描、解锁动画、炫酷转盘式菜单等效果。A collection of Android cool custom views
Stars: ✭ 121 (-34.95%)
Mutual labels:  custom-view
Imageframe
高效省内存播放序列帧动画控件
Stars: ✭ 147 (-20.97%)
Mutual labels:  custom-view
Wheelview
Android滚动选择控件
Stars: ✭ 1,470 (+690.32%)
Mutual labels:  custom-view
Circularseekbar
Custom circular SeekBar (Circle, Semi-circle, and Ellipse) for Android
Stars: ✭ 166 (-10.75%)
Mutual labels:  custom-view
Timesincetextview
Android TextView for displaying the time since a date
Stars: ✭ 108 (-41.94%)
Mutual labels:  custom-view
Flareview
Create Animatic flares around your uiview's. Visit http://stanlyhardy.github.io/FlareView for more info
Stars: ✭ 136 (-26.88%)
Mutual labels:  custom-view
Android Passcodeview
A custom view with keyboard and character display to be used for authentication
Stars: ✭ 182 (-2.15%)
Mutual labels:  custom-view
Flexiblesearchbar
可以伸缩的搜索栏,模仿华为应用市场
Stars: ✭ 177 (-4.84%)
Mutual labels:  custom-view
Swipelayout
A library what allows you to execute a swipe for the android platform
Stars: ✭ 150 (-19.35%)
Mutual labels:  custom-view

高仿小红书之标签添加功能

  1. 随点击处添加标签
  2. 计算标签位置
  3. 可将标签位置还原渲染至不同屏幕尺寸
  4. 拖拽删除标签
  5. 可拖拽时支持点击标签更换文字方向
  6. 不可拖拽时支持点击标签响应点击事件

未做的: 当标签贴边,文字框将会收缩。

效果图

Log

圆点相关数据

圆点坐标 x == 348 , y == 825

圆点在图片上的坐标百分比% x == 0.32222223 , y == 0.5729167

圆点数据:

TagInfoBean{
	name='¥55 粉色衣服',
	notesTagType=3, 
	url='tag点的链接url', 
	x=0.3222222328186035, 
	y=0.5729166865348816, 
	width=1080.0, 
	height=1440.0, 
	picWidth=1010.0, 
	picHeight=1324.0, 
	notesTagId=652, 
	isLeft=true, 
	isCanMove=true, 
	index=1
}

Bean

private String name;                  //标签内容

private int notesTagType;             //标签type

private String url;                   //标签url

private double x;                     //圆心x的在父控件位置 %

private double y;                     //圆心y的在父控件位置 %

private float width;                  //控件宽度

private float height;                 //控件高度

private float picWidth;               //图片的宽度

private float picHeight;              //图片的高度

private int notesTagId;               //标签id

private boolean isLeft = true;        //圆点是否在左边

private boolean isCanMove = true;     //标签是否可以移动

private int index;                    //用来记录在编辑标签中的index 位置
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].