微调
这个提交包含在:
父节点
1b786203e3
当前提交
0093af4858
@ -43,7 +43,8 @@
|
||||
<activity
|
||||
android:name=".ui.ChatActivity"
|
||||
android:exported="false"
|
||||
android:windowSoftInputMode="stateVisible|adjustResize" />
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
/>
|
||||
<activity
|
||||
android:name=".ui.FeedbackActivity"
|
||||
android:exported="false" />
|
||||
|
||||
@ -195,6 +195,12 @@ class ChatActivity : BaseActivity<ActivityChatBinding>() {
|
||||
binding.empty.gone()
|
||||
}
|
||||
putInt(MSG_COUNT + "_" + toUser?.userId, 0)//消息全部已读
|
||||
if (intent?.getBooleanExtra("isSys", false) == true){
|
||||
binding.startVideo.gone()
|
||||
binding.startVideo2.gone()
|
||||
binding.msgStartVideo.gone()
|
||||
binding.more.gone()
|
||||
}
|
||||
}
|
||||
|
||||
override fun initData() {
|
||||
|
||||
@ -65,7 +65,6 @@ class MessageFragment : BaseFragment<FragmentMessageBinding>() {
|
||||
MessageManager.getConversation()
|
||||
}
|
||||
adapter.setItemClickListener { _, item, _ ->
|
||||
if (item.isSys == 1)return@setItemClickListener
|
||||
startActivity(Intent(mContext, ChatActivity::class.java).apply {
|
||||
putExtra(
|
||||
"model", GsonImplHelp.get().toJson(
|
||||
@ -85,6 +84,7 @@ class MessageFragment : BaseFragment<FragmentMessageBinding>() {
|
||||
)
|
||||
)
|
||||
putExtra("conversationId", item.conversationId)
|
||||
putExtra("isSys", item.isSys == 1)
|
||||
})
|
||||
}
|
||||
adapter1.setItemClickListener { _, item, _ ->
|
||||
|
||||
@ -13,6 +13,7 @@ import com.xuqinmin.android.app.MyApplication
|
||||
import com.xuqinmin.android.app.R
|
||||
import com.xuqinmin.android.app.databinding.FragmentRandomBinding
|
||||
import com.xuqinmin.android.app.model.Balance
|
||||
import com.xuqinmin.android.app.ui.CoinStoreActivity
|
||||
import com.xuqinmin.android.app.ui.SearchingActivity
|
||||
import com.xuqinmin.android.app.ui.dialog.DialogBalance
|
||||
import com.xuqinmin.android.app.ui.dialog.DialogBalanceNew
|
||||
@ -66,6 +67,9 @@ class RandomFragment : BaseFragment<FragmentRandomBinding>() {
|
||||
// vm.refreshRtc()
|
||||
})
|
||||
}
|
||||
binding.species.setOnClickListener {
|
||||
mContext.startActivity(Intent(mContext, CoinStoreActivity::class.java))
|
||||
}
|
||||
|
||||
binding.matchPrice.text = "${MyApplication.modelInit.matchPrice} / Match"
|
||||
|
||||
|
||||
@ -5,8 +5,7 @@
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.ChatActivity">
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/top"
|
||||
@ -59,20 +58,6 @@
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/skip"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:text="Skip"
|
||||
android:textColor="#999999"
|
||||
android:textSize="18sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/back"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/back" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/more"
|
||||
android:layout_width="40dp"
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
android:id="@+id/bottom_nav"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="80dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#fcfcfc"
|
||||
app:itemIconSize="30dp"
|
||||
app:itemTextAppearanceActive="@style/bottom_tab_title_active"
|
||||
|
||||
@ -1,13 +1,21 @@
|
||||
<?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:tools="http://schemas.android.com/tools">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:tag="top_status">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:tag="top_status"
|
||||
tools:context=".ui.RegisterActivity">
|
||||
android:background="@color/black"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<include
|
||||
android:id="@+id/top_bar"
|
||||
@ -208,11 +216,16 @@
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/login_next"
|
||||
android:layout_width="315dp"
|
||||
android:layout_height="54dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:background="@drawable/bg_btn_success"
|
||||
android:enabled="false"
|
||||
android:text="Next"
|
||||
@ -222,6 +235,6 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/view_choose_country" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</layout>
|
||||
@ -100,6 +100,7 @@
|
||||
android:id="@+id/rv_tags"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginHorizontal="15dp"
|
||||
android:maxHeight="260dp"
|
||||
android:overScrollMode="never"
|
||||
|
||||
@ -7,8 +7,9 @@
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingVertical="10dp"
|
||||
android:paddingVertical="5dp"
|
||||
android:paddingEnd="20dp">
|
||||
|
||||
<ImageView
|
||||
|
||||
正在加载...
在新工单中引用
屏蔽一个用户