Commit ef489e72 authored by zhang_z's avatar zhang_z

修改;

parent 954cdc06
...@@ -63,7 +63,7 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin ...@@ -63,7 +63,7 @@ public class SsskuActivity extends BaseActivity<SsskuPresenter, ActivitySsskuBin
} }
return false; return false;
}); });
// mViewBinding.btnScan.setOnClickListener(view -> mPresenter.clickScan(mViewBinding.getTitleMode())); mViewBinding.btnScan.setOnClickListener(view -> mPresenter.clickScan(mViewBinding.getTitleMode()));
mViewBinding.btnMenu.setOnClickListener(view -> mPresenter.clickSkuMenu()); mViewBinding.btnMenu.setOnClickListener(view -> mPresenter.clickSkuMenu());
} }
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginEnd="@dimen/all_margin" android:layout_marginEnd="@dimen/all_margin"
android:visibility="@{titleMode==1||titleMode==6||titleMode==8?8:0}" android:visibility="@{titleMode==1||titleMode==6||titleMode==8||titleMode==9||titleMode==10?8:0}"
app:layout_constraintBottom_toTopOf="parent" app:layout_constraintBottom_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@id/btn_back" app:layout_constraintLeft_toRightOf="@id/btn_back"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
android:background="?attr/actionBarItemBackground" android:background="?attr/actionBarItemBackground"
android:contentDescription="@string/store_scan" android:contentDescription="@string/store_scan"
android:src="@mipmap/but_sweep_yard" android:src="@mipmap/but_sweep_yard"
android:visibility="@{titleMode==9||titleMode==10?View.GONE:View.VISIBLE}" android:visibility="@{titleMode==9||titleMode==10?View.VISIBLE:View.GONE}"
app:layout_constraintRight_toRightOf="parent" /> app:layout_constraintRight_toRightOf="parent" />
<View <View
......
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