我正在尝试设置此文本视图样式:
copy(...): failed to open stream: Permission Denied.
我搜索并找到了更多解决方案,但我不能使用
tv_style.xml:
style="@style/Base.TextAppearance.AppCompat.Body1"
使用这样的代码:
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/Base.TextAppearance.AppCompat.Body1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
我得到以下内容:
private void makeSelectable(ViewGroup viewGroup) {
for (int i = 0; i < viewGroup.getChildCount(); i++) {
final View child = viewGroup.getChildAt(i);
if (child instanceof ViewGroup) {
makeSelectable((ViewGroup) child);
} else if (child instanceof TextView) {
((TextView) child)getLayoutInflater().inflate(R.layout.tv_style, null);
}
}
}
答案 0 :(得分:0)
请尝试
df.groupby(pd.cut(df.payout, [0, 1, 2, 3, 4])).postTestScore.sum()
payout
(0, 1] 308
(1, 2] 246
(2, 3] 62
(3, 4] 132
Name: postTestScore, dtype: int64