Commit 27048e0a authored by jyx's avatar jyx

更改设置页面入口

parent fb74386b
......@@ -107,8 +107,10 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
private fun initView() {
tv_title.text = "个人中心"
view_title.text = "每日任务"
iv_right_icon.visibility = View.VISIBLE
iv_right_icon.setImageResource(R.mipmap.ic_settings)
item_iv_settings.setOnClickListener(this)
// item_iv_settings.setOnClickListener(this)
item_title_id.setOnClickListener(this)
iv_right_icon.setOnClickListener(this)
btn_withdraw.setOnClickListener(this)
......@@ -536,7 +538,7 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
readyGo(LoginActivity::class.java)
}
}
R.id.item_iv_settings -> {
R.id.iv_right_icon -> {
readyGo(SettingsActivity::class.java)
}
R.id.btn_withdraw -> {
......
......@@ -66,14 +66,6 @@
</LinearLayout>
</LinearLayout>
<ImageView
android:id="@+id/item_iv_settings"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center_vertical"
android:padding="12dp"
android:src="@mipmap/ic_arrow_more" />
</LinearLayout>
<LinearLayout
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment