1:在房间设置的时候,展示营业时间
2:修改选择时间展示选择的日期 3:修改了群组全成员展示接界面
This commit is contained in:
@@ -84,11 +84,11 @@ class GroupChatSettingsActivity :
|
||||
mBinding?.switJy?.setOnCheckedChangeListener { compoundButton, b ->
|
||||
v2TIMGroupManager?.muteAllGroupMembers(groupId, b, object : V2TIMCallback {
|
||||
override fun onSuccess() {
|
||||
|
||||
mBinding?.switJy?.isChecked = !b
|
||||
}
|
||||
|
||||
override fun onError(code: Int, desc: String?) {
|
||||
mBinding?.switJy?.isChecked = !b
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -145,12 +145,15 @@ public class CreatedRoomActivity extends BaseMvpActivity<CreatedRoomPresenter, A
|
||||
mBinding.edNickName.setText(roomInfoResp.getRoom_info().getRoom_name());
|
||||
mBinding.etG.setText(roomInfoResp.getRoom_info().getRoom_intro());
|
||||
roomUrl=roomInfoResp.getRoom_info().getRoom_cover();
|
||||
mBinding.llSj.setVisibility(View.VISIBLE);
|
||||
mBinding.tvSj.setText(roomInfoResp.getRoom_info().getStart_time() + "-" + roomInfoResp.getRoom_info().getEnd_time());
|
||||
}else {
|
||||
if (handler!=null ){
|
||||
if (showPopupRunnable!=null){
|
||||
handler.post(showPopupRunnable);
|
||||
}
|
||||
}
|
||||
mBinding.llSj.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<data>
|
||||
|
||||
@@ -25,7 +26,7 @@
|
||||
android:id="@+id/top_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-20dp"/>
|
||||
android:layout_marginTop="-20dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -48,9 +49,9 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:text="房间封面"
|
||||
android:textColor="@color/color_FF333333"
|
||||
android:layout_marginTop="@dimen/dp_12"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
|
||||
@@ -187,6 +188,38 @@
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_sj"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_1"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center|start"
|
||||
android:paddingStart="@dimen/dp_16">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginBottom="@dimen/dp_10"
|
||||
android:text="营业时间"
|
||||
android:textColor="@color/colorBlack45"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_sj"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
tools:text="0/500"
|
||||
android:textColor="@color/color_FF666666"
|
||||
android:textSize="@dimen/sp_14" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -9,18 +9,17 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.xscm.moduleutil.widget.CustomTopBar
|
||||
android:id="@+id/top_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintTop_toBottomOf="@id/top_bar">
|
||||
>
|
||||
|
||||
<com.xscm.moduleutil.widget.CustomTopBar
|
||||
android:id="@+id/top_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_search"
|
||||
|
||||
Reference in New Issue
Block a user