• 大小: 10.52MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-13
  • 语言: 其他
  • 标签: 颜色渐变  

资源简介

仿商城标题栏滑动颜色渐变效果的实现,支持ScrollView,ListView,RecyclerView

资源截图

代码片段和文件信息

package com.qiangxi.populareffect;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumentation test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.qiangxi.populareffect“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-11-01 08:58  PopularEffect-master\
     文件         118  2016-11-01 08:58  PopularEffect-master\.gitignore
     目录           0  2016-11-01 08:58  PopularEffect-master\.idea\
     文件         686  2016-11-01 08:58  PopularEffect-master\.idea\compiler.xml
     目录           0  2016-11-01 08:58  PopularEffect-master\.idea\copyright\
     文件          74  2016-11-01 08:58  PopularEffect-master\.idea\copyright\profiles_settings.xml
     文件         626  2016-11-01 08:58  PopularEffect-master\.idea\gradle.xml
     文件        3012  2016-11-01 08:58  PopularEffect-master\.idea\misc.xml
     文件         363  2016-11-01 08:58  PopularEffect-master\.idea\modules.xml
     文件         564  2016-11-01 08:58  PopularEffect-master\.idea\runConfigurations.xml
     文件         180  2016-11-01 08:58  PopularEffect-master\.idea\vcs.xml
     目录           0  2016-11-01 08:58  PopularEffect-master\app\
     文件           7  2016-11-01 08:58  PopularEffect-master\app\.gitignore
     文件        1074  2016-11-01 08:58  PopularEffect-master\app\build.gradle
     文件         645  2016-11-01 08:58  PopularEffect-master\app\proguard-rules.pro
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\androidTest\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\androidTest\java\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\androidTest\java\com\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\androidTest\java\com\qiangxi\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\androidTest\java\com\qiangxi\populareffect\
     文件         754  2016-11-01 08:58  PopularEffect-master\app\src\androidTest\java\com\qiangxi\populareffect\ExampleInstrumentedTest.java
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\main\
     文件        1572  2016-11-01 08:58  PopularEffect-master\app\src\main\AndroidManifest.xml
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\main\java\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\main\java\com\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\main\java\com\qiangxi\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\main\java\com\qiangxi\populareffect\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\main\java\com\qiangxi\populareffect\activity\
     目录           0  2016-11-01 08:58  PopularEffect-master\app\src\main\java\com\qiangxi\populareffect\activity\animation\
     文件        1121  2016-11-01 08:58  PopularEffect-master\app\src\main\java\com\qiangxi\populareffect\activity\animation\ExposeAnimationActivity.java
............此处省略80个文件信息

评论

共有 条评论