From 1b8d21eb3f294fba388c4e71e975e8924c767420 Mon Sep 17 00:00:00 2001 From: lh <1209405678@qq.com> Date: Tue, 3 Apr 2018 09:10:34 +0800 Subject: [PATCH] no message --- .../work/Hatchery/HatcheryReportActivity.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java b/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java index 25dd96f..f905ffc 100644 --- a/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java +++ b/app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java @@ -1,6 +1,8 @@ package com.qhclh.ytzh.work.Hatchery; import android.support.v7.widget.Toolbar; +import android.view.Menu; +import android.view.MenuItem; import android.view.View; import android.widget.AbsListView; import android.widget.HorizontalScrollView; @@ -80,6 +82,22 @@ public class HatcheryReportActivity extends BaseActivity { } + @Override + public boolean onCreateOptionsMenu(Menu menu) { + getMenuInflater().inflate(R.menu.chosetime, menu); + return true; + } + @Override + public boolean onOptionsItemSelected(MenuItem item) { + switch (item.getItemId()) { + case R.id.chose_time: + + break; + + } + return super.onOptionsItemSelected(item); + } + private void combination(final ListView lvName, final ListView lvDetail, final HorizontalScrollView title, LinkedHorizontalScrollView content) { /** * 左右滑动同步