-
大小: 2.74MB文件類型: .zip金幣: 2下載: 0 次發(fā)布日期: 2023-09-08
- 語(yǔ)言: Java
- 標(biāo)簽:
資源簡(jiǎn)介
動(dòng)態(tài)的視頻背景。Android的可顯示的,自動(dòng)拉伸的,讓頁(yè)面的背景為視頻的代碼。內(nèi)附兩個(gè)測(cè)試視頻,有聲的和無(wú)聲的。 一些注意點(diǎn)和詳細(xì)注釋,都備注在了代碼里

代碼片段和文件信息
package?com.daqie.videobackground;
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.daqie.videobackground“?appContext.getPackageName());
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-04-17?17:14??VideoBackground\
?????文件?????????127??2017-04-17?16:52??VideoBackground\.gitignore
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.gradle\
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.gradle\2.14.1\
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.gradle\2.14.1\taskArtifacts\
?????文件??????????31??2017-04-17?16:52??VideoBackground\.gradle\2.14.1\taskArtifacts\cache.properties
?????文件??????????17??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\taskArtifacts\cache.properties.lock
?????文件??????152008??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\taskArtifacts\fileHashes.bin
?????文件?????2011877??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
?????文件???????28964??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
?????文件??????132984??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.gradle\2.14.1\tasks\
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\
?????文件???????22449??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
?????文件??????????17??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\
?????文件???????20014??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
?????文件??????????17??2017-04-17?17:08??VideoBackground\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.idea\
?????文件?????????686??2017-04-17?16:52??VideoBackground\.idea\compiler.xm
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.idea\copyright\
?????文件??????????76??2017-04-17?16:52??VideoBackground\.idea\copyright\profiles_settings.xm
?????文件?????????626??2017-04-17?16:52??VideoBackground\.idea\gradle.xm
?????目錄???????????0??2017-04-17?17:13??VideoBackground\.idea\libraries\
?????文件?????????641??2017-04-17?16:52??VideoBackground\.idea\libraries\animated_vector_drawable_25_3_0.xm
?????文件?????????581??2017-04-17?16:52??VideoBackground\.idea\libraries\appcompat_v7_25_3_0.xm
?????文件?????????623??2017-04-17?16:52??VideoBackground\.idea\libraries\espresso_core_2_2_2.xm
?????文件?????????678??2017-04-17?16:52??VideoBackground\.idea\libraries\espresso_idling_resource_2_2_2.xm
?????文件?????????696??2017-04-17?16:52??VideoBackground\.idea\libraries\exposed_instrumentation_api_publish_0_5.xm
?????文件?????????526??2017-04-17?16:52??VideoBackground\.idea\libraries\hamcrest_core_1_3.xm
............此處省略82個(gè)文件信息
評(píng)論
共有 條評(píng)論