长期捐助改了跳转首页bug

my
Administrator 5 years ago
parent ebfc23a1cf
commit e067a741a2

@ -136,6 +136,7 @@ public class LongTermDonate extends AppCompatActivity {
Toast toast=Toast.makeText(LongTermDonate.this, "提交成功",Toast.LENGTH_LONG); Toast toast=Toast.makeText(LongTermDonate.this, "提交成功",Toast.LENGTH_LONG);
//userService.donate(username,stu_name,id,money); //userService.donate(username,stu_name,id,money);
userService.longterm(nam,num,DESP,id); userService.longterm(nam,num,DESP,id);
toast.setGravity(Gravity.CENTER, 100, 100); toast.setGravity(Gravity.CENTER, 100, 100);
toast.show(); toast.show();
Looper.loop(); Looper.loop();

@ -79,7 +79,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="75dp" android:layout_marginLeft="75dp"
android:onClick="onToDonate" android:onClick="onToMain"
android:text="跳转首页"></Button> android:text="跳转首页"></Button>
<Button <Button

Loading…
Cancel
Save