This website works better with JavaScript.
Home
Explore
Help
Sign In
BWPB3
/
ytzh_Android_ZhongHui
Watch
9
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Activity
Browse Source
no message
master
lh
7 years ago
parent
0a923effb5
commit
fac309530d
3 changed files
with
2 additions
and
3 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/src/main/java/com/qhclh/ytzh/ui/Chose2timePopuWindow.java
+1
-1
app/src/main/java/com/qhclh/ytzh/work/Hatchery/HatcheryReportActivity.java
+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
(
)
)
{
if
(
!
this
.
isShowing
(
)
)
{
this
.
showAtLocation
(
context
.
getWindow
(
)
.
getDecorView
(
)
,
Gravity
.
CENTER
,
0
,
0
)
;
this
.
showAtLocation
(
context
.
getWindow
(
)
.
getDecorView
(
)
,
Gravity
.
CENTER
,
0
,
0
)
;
}
else
{
}
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
(
)
)
{
switch
(
item
.
getItemId
(
)
)
{
case
R
.
id
.
chose_time
:
case
R
.
id
.
chose_time
:
Chose2timePopuWindow
popuWindow
=
new
Chose2timePopuWindow
(
HatcheryReportActivity
.
this
)
;
Chose2timePopuWindow
popuWindow
=
new
Chose2timePopuWindow
(
HatcheryReportActivity
.
this
)
;
popuWindow
.
showPopupWindow
(
ll_main
)
;
popuWindow
.
showPopupWindow
(
)
;
break
;
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"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="match_parent"
android:background="#00000000"
android:gravity="center"
android:gravity="center"
android:orientation="vertical">
android:orientation="vertical">
Write
Preview
Loading…
Cancel
Save