77 任务显示优化。
This commit is contained in:
@@ -26,7 +26,7 @@ public class MyAlbumListAdapter extends BaseQuickAdapter<AlbumBean, BaseViewHold
|
||||
helper.setVisible(R.id.iv_album_suo,true);
|
||||
}
|
||||
helper.setText(R.id.tv_album_name, item.getName());
|
||||
helper.setText(R.id.tv_album_count, item.getRead_num());
|
||||
helper.setText(R.id.tv_album_count, "浏览 "+item.getRead_num());
|
||||
} else {
|
||||
helper.setImageResource(R.id.riv_album, com.xscm.moduleutil.R.mipmap.create_album);
|
||||
helper.setVisible(R.id.tv_album_name, false);
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@dimen/dp_80"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@id/top_bar">
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_top"
|
||||
android:layout_width="match_parent"
|
||||
@@ -91,10 +91,12 @@
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:layout_marginRight="@dimen/dp_16"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:tabIndicatorColor="@color/transparent"
|
||||
app:tabIndicatorColor="@color/colorPrimary"
|
||||
app:tabIndicatorFullWidth="false"
|
||||
app:tabIndicatorGravity="bottom"
|
||||
app:tabIndicatorHeight="0dp"
|
||||
android:background="@color/transparent"
|
||||
app:tabRippleColor="@color/transparent"
|
||||
app:tabIndicatorHeight="@dimen/dp_2"
|
||||
app:tabMinWidth="@dimen/dp_20"
|
||||
app:tabMode="scrollable"
|
||||
app:tabSelectedTextColor="@color/black"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/recycle_view"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:paddingHorizontal="@dimen/dp_12"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
Reference in New Issue
Block a user