├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── sample_head.gif │ │ │ │ ├── live_im_heart.png │ │ │ │ ├── live_im_good_type1.png │ │ │ │ ├── live_im_good_type10.png │ │ │ │ ├── live_im_good_type11.png │ │ │ │ ├── live_im_good_type12.png │ │ │ │ ├── live_im_good_type13.png │ │ │ │ ├── live_im_good_type14.png │ │ │ │ ├── live_im_good_type2.png │ │ │ │ ├── live_im_good_type3.png │ │ │ │ ├── live_im_good_type4.png │ │ │ │ ├── live_im_good_type5.png │ │ │ │ ├── live_im_good_type6.png │ │ │ │ ├── live_im_good_type7.png │ │ │ │ ├── live_im_good_type8.png │ │ │ │ ├── live_im_good_type9.png │ │ │ │ └── live_im_comment_head_circle.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ └── styles.xml │ │ │ ├── drawable │ │ │ │ ├── live_shape_im_msg_join_bg.xml │ │ │ │ └── live_im_msg_tv_shap.xml │ │ │ ├── anim │ │ │ │ ├── live_im_hide_in.xml │ │ │ │ ├── live_im_hide_out.xml │ │ │ │ ├── live_im_hide_out3.xml │ │ │ │ ├── live_im_hide_in3.xml │ │ │ │ ├── live_im_users_bg_show.xml │ │ │ │ ├── live_im_goodmsg_scale.xml │ │ │ │ ├── live_im_goodmsg_base.xml │ │ │ │ ├── live_message_out.xml │ │ │ │ ├── live_im_hide_in2.xml │ │ │ │ ├── live_im_hide_out2.xml │ │ │ │ └── live_im_msgv_scal_in.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── menu │ │ │ │ └── menu_main.xml │ │ │ └── layout │ │ │ │ ├── live_im_join_view.xml │ │ │ │ ├── content_main.xml │ │ │ │ ├── live_im_rceive_msg_view.xml │ │ │ │ └── activity_main.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── dev │ │ │ └── journey │ │ │ └── auotodismiss │ │ │ ├── view │ │ │ ├── GoodsInitUtile.java │ │ │ ├── GoodAnimationUtile.java │ │ │ └── MessagQuenView.java │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── journey │ │ │ └── autodismiss │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── dev │ │ └── journey │ │ └── auotodismiss │ │ └── ApplicationTest.java ├── proguard-rules.pro └── build.gradle ├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── compiler.xml └── gradle.xml ├── settings.gradle ├── images ├── 1.jpeg └── 2.jpeg ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── README.md ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | AutoMissingMessage -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /images/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/images/1.jpeg -------------------------------------------------------------------------------- /images/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/images/2.jpeg -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/sample_head.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/sample_head.gif -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | /.idea 10 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_heart.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type1.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type10.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type11.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type12.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type13.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type14.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type2.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type3.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type4.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type5.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type6.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type7.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type8.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_good_type9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_good_type9.png -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | AutoDismiss 3 | Settings 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/live_im_comment_head_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/journey-M/AutoMissingMessage/HEAD/app/src/main/res/mipmap-xxhdpi/live_im_comment_head_circle.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 仿花椒直播交互页面 2 | 仿花椒直播聊天的时候消息向上弹出,一定时间后自动消失的效果。仿花椒气泡式点赞效果 3 | 4 | ![](https://github.com/journey-M/-/blob/master/images/1.jpeg?raw=true) 5 | 6 | ![](https://github.com/journey-M/-/blob/master/images/2.jpeg?raw=true) 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #101010 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/live_shape_im_msg_join_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Oct 21 11:34:03 PDT 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/live_im_msg_tv_shap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/live_im_hide_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/live_im_hide_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/anim/live_im_hide_out3.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/live_im_hide_in3.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/journey/autodismiss/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.journey.autodismiss; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /app/src/main/res/anim/live_im_users_bg_show.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/androidTest/java/dev/journey/auotodismiss/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package dev.journey.auotodismiss; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | > 2 | 3 | 4 | 5 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/live_im_goodmsg_scale.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/live_im_join_view.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 17 | 18 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 16 | 17 |