/**
* Obtains the icon of a tab's close button from a specific typed array.
*
* @param typedArray
* The typed array, the icon should be obtained from, as an instance of the class {@link
* TypedArray}. The typed array may not be null
*/
private void obtainTabCloseButtonIcon(@NonNull final TypedArray typedArray) {
int resourceId = typedArray.getResourceId(R.styleable.TabSwitcher_tabCloseButtonIcon, 0);
if (resourceId != 0) {
setTabCloseButtonIcon(resourceId);
}
}
TabSwitcher.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:ChromeLikeTabSwitcher
作者:
评论列表
文章目录