早教吧作业答案频道 -->英语-->
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...的网友还看了以下:
style=color:"+errColor+"; 这是神马意思?style="color:"+e 2020-05-14 …
___is your pen?black___whice .A.what; and B.what; 2020-05-16 …
What color is it?意思是什么 2020-05-16 …
懂英语的帮我看看这句话嘛意思啊?in single coil without fuse E27 a 2020-05-16 …
大虾们帮忙看看DeleteObject((HBRUSH)SetClassLong(hwnd,GCL 2020-06-14 …
getWindow().setBackgroundDrawableResource(R.color 2020-07-17 …
MFC计算机图形学voidCLineView::OnDraw(CDC*pDC){intx1,x2, 2020-07-21 …
DW里面写CSS可以一句话写完背景颜色和字体颜色吗?linkrel="stylesheet"type 2020-10-31 …
关于CSS的问题这样定义的意思对不对:.y{color:$fff000;//定义一个类}p{colo 2020-11-01 …
color什么意思比如:Howmanycolorsarethereintheconversation 2021-02-03 …