早教吧作业答案频道 -->英语-->
getWindow().setBackgroundDrawableResource(R.color.redbg);是什么意思?getWindow()是什么意思?细解
题目详情
getWindow().setBackgroundDrawableResource(R.color.red_bg);是什么意思?getWindow()是什么意思?细解
▼优质解答
答案和解析
你这段代码是android代码吧.
getWindow()是类android.app.Activity里的方法,你的这段代码所在的类是继承了android.app.Activity了的.以下是androidAPI的注释:
Window android.app.Activity.getWindow()
public WindowgetWindow()Added in API level
1Retrieve the current Window for the activity.
This can be used to directly access parts of the Window API that are not available through Activity/Screen.ReturnsWindow The current window,or null if the activity is not visual.
getWindow()是类android.app.Activity里的方法,你的这段代码所在的类是继承了android.app.Activity了的.以下是androidAPI的注释:
Window android.app.Activity.getWindow()
public WindowgetWindow()Added in API level
1Retrieve the current Window for the activity.
This can be used to directly access parts of the Window API that are not available through Activity/Screen.ReturnsWindow The current window,or null if the activity is not visual.
看了 getWindow().se...的网友还看了以下:
下列选项那个是正确的啊设α1,…,αn-r是齐次线性方程组Ax=0的基础解系,则下列结论不正确的是( 2020-03-30 …
函数分解一个函数x=f(t),在原点附近是连续可导的在原点附近可分解为x=t*df/dt+R(t) 2020-05-14 …
一定条件下,溶液的酸碱性对TiO2光催化染料R降解反应的影响如图所示.下列判断正确的是()A.50 2020-05-17 …
关系模式分解BCNF考虑到关系模式R(A,B,C,D,E),以下函数依赖集F={A→B,B→A,B 2020-05-23 …
设fx是定义在R上的奇函数,且x属于(负无穷,0)时,fx=x^3-x^2+1,求fx在R上的解设 2020-07-01 …
sql数据库习题,规范化过程中的范式及模式分解问题请证明以下两题:1.设关系模式R(ABCD),F 2020-07-10 …
getWindow().setBackgroundDrawableResource(R.color 2020-07-17 …
已知fx是定义在R上的奇函数,且x>0时,fx=2x+3,求fx在R上的解析式已知fx是定义在R上 2020-07-26 …
非齐次线性方程组的证明问题.急设a0,a1,a2...a(n-r)是AX=B的n-r+1歌线性无关 2020-08-01 …
r(A)=r=行秩=列秩=dimV=n-rr(A)为矩阵的秩=行向量组的秩=列向量组的秩=向量空间( 2020-11-01 …