Browse Source

no message

master
lh 7 years ago
parent
commit
fac309530d
3 changed files with 2 additions and 3 deletions
  1. +1
    -1
      app/src/main/java/com/qhclh/ytzh/ui/Chose2timePopuWindow.java
  2. +1
    -1
      app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java
  3. +0
    -1
      app/src/main/res/layout/pop_chosetime.xml

+ 1
- 1
app/src/main/java/com/qhclh/ytzh/ui/Chose2timePopuWindow.java View File

@ -110,7 +110,7 @@ public class Chose2timePopuWindow extends PopupWindow {
public void showPopupWindow(View parent) {
public void showPopupWindow() {
if (!this.isShowing()) {
this.showAtLocation(context.getWindow().getDecorView(), Gravity.CENTER, 0, 0);
} else {


+ 1
- 1
app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java View File

@ -104,7 +104,7 @@ public class HatcheryReportActivity extends BaseActivity {
switch (item.getItemId()) {
case R.id.chose_time:
Chose2timePopuWindow popuWindow = new Chose2timePopuWindow(HatcheryReportActivity.this);
popuWindow.showPopupWindow(ll_main);
popuWindow.showPopupWindow();
break;
}


+ 0
- 1
app/src/main/res/layout/pop_chosetime.xml View File

@ -2,7 +2,6 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#00000000"
android:gravity="center"
android:orientation="vertical">


Loading…
Cancel
Save