android 开发小记

1.fragment & activity

when config changes, activity will restart but fragment can be store.

2.textview Caps

<item name="android:textAllCaps">true</item>

3.Service Running,

When service is running from onstartCommand, and another case stratservice from acitivity has been send.

What will this to be?

Normally, it will running onstartCommand to function end, and to onstartCommand  again with another intent.

this is base on onstartCommand 's return.

4.scrollbar showing.

Scrollbar is showing base on background, so if listview/gridview not set background,

scrollbar may be can not get color. So it is disable to showing.

你可能感兴趣的:(Android 开发)