KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
acode_emoji_example
★ 11
Open GitHub ↗
仿今日头条ios版点赞动画
Download README (.md)
Explore Similar Repositories
MathLectureNotes
:
My lecture notes for the math courses I took in Bilkent University.
sudoku
:
Sudoku Progressive Web Application in React with custom ES6 algorithm module.
spectroscopic_parallax
:
No description available.
abna
:
Python library to automatically retrieve mutations from ABN Amro
SecureDNS
:
DNS proxy service for Cloudflare DOH (DNS over HTTPS) support.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
acode_emoji_example
?
Download (.md)
# 仿今日头条IOS版新闻点赞动画 # ## 感谢## https://blog.csdn.net/z82367825/article/details/51599245 https://www.jianshu.com/p/3efa5341abcc ## 效果图##  ## 使用方法 ## 在XML布局中声明 <com.acode.emoji.AcodeEmojiView xmlns:android="http://schemas.android.com/apk/res/an****droid" android:id="@+id/view_point" android:layout_width="match_parent" android:layout_height="match_parent">**** <Button android:id="@+id/btn3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="动画" /> </com.acode.emoji.AcodeEmojiView> 在Activity中使用 public class MainActivity extends AppCompatActivity { private Button btn3; private AcodeEmojiView view_point; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); view_point = (AcodeEmojiView) findViewById(R.id.view_point); btn3 = (Button) findViewById(R.id.btn3); btn3.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { view_point.addEmoji(v); } }); } } ## 0.1版本 ## 1. 参照今日头条ios版实现基本效果