• 大小: 0.69M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-01
  • 语言: Java
  • 标签:

资源简介

Android 带图标的消息提示弹窗(菜单与对话框-01_011).zip

资源截图

代码片段和文件信息

package com.mingrisoft.customtoast;

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.mrkj.sample_a10“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         127  2017-06-10 10:11  Project\CustomToast\.gitignore
     文件         645  2017-06-10 10:11  Project\CustomToast\build.gradle
     文件        1223  2017-06-13 14:39  Project\CustomToast\CustomToast.iml
     文件         747  2017-06-10 10:11  Project\CustomToast\gradle.properties
     文件        4971  2017-06-10 10:11  Project\CustomToast\gradlew
     文件        2404  2017-06-10 10:11  Project\CustomToast\gradlew.bat
     文件         459  2017-06-13 15:56  Project\CustomToast\local.properties
     文件         864  2017-06-10 10:11  Project\CustomToast\Sample_A10.iml
     文件          16  2017-06-10 10:11  Project\CustomToast\settings.gradle
     文件          31  2017-06-10 10:11  Project\CustomToast\.gradle\2.14.1\taskArtifacts\cache.properties
     文件          17  2017-06-10 10:11  Project\CustomToast\.gradle\2.14.1\taskArtifacts\cache.properties.lock
     文件      267889  2017-06-10 10:11  Project\CustomToast\.gradle\2.14.1\taskArtifacts\fileHashes.bin
     文件     2920475  2017-06-10 10:11  Project\CustomToast\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
     文件       25844  2017-06-10 10:11  Project\CustomToast\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件      126125  2017-06-10 10:11  Project\CustomToast\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
     文件         686  2017-06-13 14:39  Project\CustomToast\.idea\compiler.xml
     文件         159  2017-06-15 09:48  Project\CustomToast\.idea\encodings.xml
     文件         522  2017-06-13 14:39  Project\CustomToast\.idea\gradle.xml
     文件        2262  2017-06-13 15:16  Project\CustomToast\.idea\misc.xml
     文件         262  2017-06-14 08:51  Project\CustomToast\.idea\modules.xml
     文件         564  2017-06-13 14:39  Project\CustomToast\.idea\runConfigurations.xml
     文件         167  2017-06-13 14:39  Project\CustomToast\.idea\vcs.xml
     文件       18512  2017-06-14 09:57  Project\CustomToast\.idea\workspace.xml
     文件          76  2017-06-13 14:39  Project\CustomToast\.idea\copyright\profiles_settings.xml
     文件         665  2017-06-15 09:48  Project\CustomToast\.idea\libraries\animated_vector_drawable_24_2_1.xml
     文件         781  2017-06-15 09:48  Project\CustomToast\.idea\libraries\appcompat_v7_24_2_1.xml
     文件         608  2017-06-15 09:48  Project\CustomToast\.idea\libraries\butterknife_8_4_0.xml
     文件         592  2017-06-15 09:48  Project\CustomToast\.idea\libraries\butterknife_annotations_8_4_0.xml
     文件         647  2017-06-15 09:48  Project\CustomToast\.idea\libraries\espresso_core_2_2_2.xml
     文件         702  2017-06-15 09:48  Project\CustomToast\.idea\libraries\espresso_idling_resource_2_2_2.xml
     文件         720  2017-06-15 09:48  Project\CustomToast\.idea\libraries\exposed_instrumentation_api_publish_0_5.xml
............此处省略58个文件信息

评论

共有 条评论