update 禁言弹框ui标题

This commit is contained in:
zlzw 2023-06-26 10:24:19 +08:00
parent 69d8feb9a9
commit 5f33fa38f6
2 changed files with 13 additions and 0 deletions

View File

@ -1,11 +1,23 @@
package com.yunbao.main.activity; package com.yunbao.main.activity;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.yunbao.common.activity.AbsActivity; import com.yunbao.common.activity.AbsActivity;
import com.yunbao.main.R; import com.yunbao.main.R;
public class RedPacketActivity extends AbsActivity { public class RedPacketActivity extends AbsActivity {
private RecyclerView recyclerView;
@Override @Override
protected int getLayoutId() { protected int getLayoutId() {
return R.layout.activity_red_packet; return R.layout.activity_red_packet;
} }
@Override
public void init() {
super.init();
((TextView)findViewById(R.id.titleView)).setText("紅包記錄");
recyclerView=findViewById(R.id.recyclerView);
}
} }

View File

@ -25,6 +25,7 @@
app:layout_constraintTop_toBottomOf="@+id/include3" /> app:layout_constraintTop_toBottomOf="@+id/include3" />
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:background="@color/white" android:background="@color/white"
android:layout_height="0dp" android:layout_height="0dp"