All Projects → CaMnter → Easylikearea

CaMnter / Easylikearea

Licence: apache-2.0
💡 Easy like area in the circle of friends or QQ qzone (。>﹏<。)

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Easylikearea

Qqlight Websocket
QQLight机器人WebSocket-RPC插件,让你能够使用任何语言编写QQ机器人程序
Stars: ✭ 118 (-28.05%)
Mutual labels:  qq
Deepin Wine
【deepin源移植】Debian/Ubuntu上最快的QQ/微信安装方式
Stars: ✭ 2,844 (+1634.15%)
Mutual labels:  qq
Python Mirai
以 OICQ(QQ) 协议驱动的高性能机器人开发框架 Mirai 的 Python 接口, 通过其提供的 `HTTP API` 与无头客户端(Mirai)交互.
Stars: ✭ 155 (-5.49%)
Mutual labels:  qq
Xlslidemenu
iOS 仿QQ的左右抽屉效果
Stars: ✭ 122 (-25.61%)
Mutual labels:  qq
Elf rss
QQ机器人 RSS订阅 插件,订阅源建议选择 RSSHub
Stars: ✭ 133 (-18.9%)
Mutual labels:  qq
Coolq Http Api
为 酷Q 提供通过 HTTP 或 WebSocket 接收事件和调用 API 的能力
Stars: ✭ 1,787 (+989.63%)
Mutual labels:  qq
Deepin Wine Qq Arch
Tencent QQ on Deepin Wine5(com.qq.im.deepin) For Archlinux
Stars: ✭ 111 (-32.32%)
Mutual labels:  qq
Aiocqhttp
A Python SDK with async I/O for CQHTTP.
Stars: ✭ 162 (-1.22%)
Mutual labels:  qq
Smartim
SmartIM(原SmartQQ)插件的底层库,已实现SmartQQ、微信网页版协议。
Stars: ✭ 138 (-15.85%)
Mutual labels:  qq
Tgrefreshoc
弹簧、橡皮筋下拉刷新控件,类似QQ下拉刷新效果,同时支持其他样式
Stars: ✭ 149 (-9.15%)
Mutual labels:  qq
Silk V3 Decoder
kn007's blog
Stars: ✭ 1,832 (+1017.07%)
Mutual labels:  qq
Swiftsidesliplikeqq
再造 “手机QQ” 侧滑菜单
Stars: ✭ 1,679 (+923.78%)
Mutual labels:  qq
Wechat
仿QQ即时通讯系统客户端
Stars: ✭ 144 (-12.2%)
Mutual labels:  qq
Qq2tg
帮助QQ与Telegram互联的小程序
Stars: ✭ 122 (-25.61%)
Mutual labels:  qq
Coolq Cpp Sdk
CoolQ C++ SDK
Stars: ✭ 157 (-4.27%)
Mutual labels:  qq
Xiaov
👰 一个 QQ 聊天机器人,她的名字叫做小薇~
Stars: ✭ 1,466 (+793.9%)
Mutual labels:  qq
Electronic Qq
[FREEZED]the electionic-QQ based on smart-qq & electronic-wechat written in Nodejs
Stars: ✭ 144 (-12.2%)
Mutual labels:  qq
Gff
GFF is a imitation QQ communication project, based on high IOCP. GFF是模仿QQ通讯项目,通信基于SAEA.MessageSocket、SAEA.Http、SAEA.MVC实现
Stars: ✭ 162 (-1.22%)
Mutual labels:  qq
Spring Cq
新框架 https://github.com/ProtobufBot/ProtobufBot 。这是一个spring boot starter。基于SpringBoot的QQ机器人框架,demo分支是例子,jar分支是框架。
Stars: ✭ 161 (-1.83%)
Mutual labels:  qq
Mojo Webqq
【重要通知:WebQQ将在2019年1月1日停止服务,此项目目前已停止维护,感谢大家四年来的一路陪伴】使用Perl语言(不会没关系)编写的smartqq/webqq客户端框架(非GUI),可通过插件提供基于HTTP协议的api接口供其他语言或系统调用
Stars: ✭ 1,755 (+970.12%)
Mutual labels:  qq

EasyLikeArea


Easy like area in the circle of friends or QQ qzone

Language License SDK Download



Introduction

EasyViewProxy is cache manager of EasyLikeArea . The number of the View the default cache is 17.

Suggestion: Use Glide rendering images, then add into EaseLikeArea .



Gradle

dependencies {
	compile 'com.camnter.easylikearea:easylikearea:1.5'
}


Attributes

<declare-styleable name="EasyLikeArea">
    <attr name="easyLayoutDirection">
        <enum name="left"
            value="2601"/>
        <enum name="right"
            value="2602"/>
    </attr>
    <attr name="easyLikeAreaLikeSpacing"
        format="dimension"/>
    <attr name="easyLikeAreaOmitSpacing"
        format="dimension"/>
    <attr name="easyLikeAreaOmitCenter"
        format="boolean"/>
</declare-styleable>


Easy to use

More details, we can see the demo.


<com.camnter.easylikearea.EasyLikeArea
    android:id="@+id/topic_ela"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_below="@id/topic_content_bottom_v"
    android:background="@color/white"
    android:paddingBottom="10dp"
    android:paddingLeft="12.5dp"
    app:easyLikeAreaOmitCenter="true"
    app:easyLikeAreaLikeSpacing="5dp"
    app:easyLikeAreaOmitSpacing="8dp"
    android:paddingRight="12.5dp"
    android:paddingTop="10dp"
    app:easyLayoutDirection="right"/>

Attention: You must addView(...) after EasyLikeArea.setOmitView(View view) .

private void initLikeArea() {
    this.setOmitView(Constant.AVATARS.length);
    for (int idRes : Constant.AVATARS) {
        EasyLikeImageView iv = this.createEasyLikeImageView();
        GlideUtils.displayNative(iv, idRes);
        this.topicEla.addView(iv);
    }
}


public void setOmitView(int count) {
    View omitView = LayoutInflater.from(this).inflate(R.layout.view_omit_style_topic, null);
    this.omitTv = (TextView) omitView.findViewById(R.id.topic_omit_tv);
    this.omitTv.setText(this.getString(this.getOmitVieStringFormatId(), count));
    this.topicEla.setOmitView(omitView);
}

And you can use the EasyLikeImageView

private EasyLikeImageView createEasyLikeImageView() {
    EasyLikeImageView iv = new EasyLikeImageView(this);
    iv.setLayoutParams(new ViewGroup.LayoutParams(this.dp2px(36), this.dp2px(36)));
    return iv;
}

EasyLikeImageView Attributes

<declare-styleable name="EasyLikeImageView">
    <attr name="easyLikeImageType">
        <enum name="round" value="2601" />
        <enum name="circle" value="2602" />
    </attr>
    <attr name="easyLikeImageBorderRadius" format="dimension" />
</declare-styleable>


Screenshots

Scene Qzone Style


Compare resolution

Resolution 480x800 720x1280


License

  Copyright (C) 2016 CaMnter [email protected]

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