feat: change color of performance waterfall
This commit is contained in:
@@ -171,7 +171,7 @@ public class DoricDevPerfActivity extends DoricDevBaseActivity {
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(@NonNull PerfCellHolder holder, int position) {
|
||||
holder.itemView.setBackgroundColor(position % 2 == 0 ? Color.parseColor("#ecf0f1") : Color.WHITE);
|
||||
holder.itemView.setBackgroundColor(position % 2 == 0 ? 0x2ff1c40f : 0x2f2ecc71);
|
||||
final AnchorItem anchorItem = anchorNodes.get(position);
|
||||
holder.layoutExpand.setVisibility(anchorItem.expanded ? View.VISIBLE : View.GONE);
|
||||
if (anchorItem.name.startsWith("Call")) {
|
||||
|
@@ -2,6 +2,7 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#eeeeee"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
|
@@ -65,7 +65,8 @@
|
||||
android:id="@+id/layout_expand"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#bdc3c7"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="#0f000000"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="15dp">
|
||||
|
Reference in New Issue
Block a user