我在我的项目中使用this famous ViewPagerIndicator library。我想在ViewPageIndicator
上添加颜色。我从here on StackOverflow找到了一个解决方案。app:something ...什么是app:?
<com.viewpagerindicator.CirclePageIndicator
android:id="@+id/indicator"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
app:fillColor="#FF888888"
app:pageColor="#88FF0000"
app:strokeColor="#FF000000" />
但有一件事我不能在这里明白:为什么它被写入app:
代替android:
? app:
是什么意思?我从来没有用过app:
?它的命名空间是什么?我GOOGLE了,但没有找到解决办法。
http://www.vogella.com/tutorials/AndroidCustomViews/article.html#additional_attributes –