开发者

what does android.R.layout do? An overview

开发者 https://www.devze.com 2023-01-29 08:14 出处:网络
Im trying to get an overview of whatandroid.R.layout does in an android project. From the spinner tut at http://developer.android.c开发者_开发百科om/resources/samples/Spinner/index.html

Im trying to get an overview of what android.R.layout does in an android project.

From the spinner tut at http://developer.android.c开发者_开发百科om/resources/samples/Spinner/index.html

 this.mAdapter = ArrayAdapter.createFromResource(this, R.array.Planets,
                android.R.layout.simple_spinner_dropdown_item);

I can see a private member

public static final int simple_spinner_dropdown_item

But what is this?


It's a list of layout resource IDs in the android package

0

精彩评论

暂无评论...
验证码 换一张
取 消