完善垃圾模块接口

0515
panqihua 5 years ago
parent 9dc4962ef6
commit 591d163f55
  1. 3
      app/src/main/java/com/community/pocket/ui/main/ui/garbage/waste/GarbageWasteResponse.java
  2. 1
      app/src/main/res/layout/main/layout/garbage/layout/garbage_sorting.xml
  3. 1
      app/src/main/res/layout/main/layout/garbage/layout/garbage_waste.xml

@ -1,5 +1,6 @@
package com.community.pocket.ui.main.ui.garbage.waste; package com.community.pocket.ui.main.ui.garbage.waste;
import com.community.pocket.R;
import com.community.pocket.data.model.GarbageWasteManage; import com.community.pocket.data.model.GarbageWasteManage;
import com.community.pocket.data.model.GarbageWastePrice; import com.community.pocket.data.model.GarbageWastePrice;
import com.community.pocket.ui.main.ui.share.Response; import com.community.pocket.ui.main.ui.share.Response;
@ -12,7 +13,7 @@ import java.util.List;
public class GarbageWasteResponse extends Response<GarbageWasteResponse.Msg> { public class GarbageWasteResponse extends Response<GarbageWasteResponse.Msg> {
enum Msg implements CustomMessage { enum Msg implements CustomMessage {
; ok(R.string.garbage_waste_search_ok);
private Integer msg; private Integer msg;

@ -16,6 +16,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:completionThreshold="1" android:completionThreshold="1"
android:gravity="center"
android:hint="@string/prompt_garbage_name" android:hint="@string/prompt_garbage_name"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />

@ -35,6 +35,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:completionThreshold="1" android:completionThreshold="1"
android:gravity="center"
android:hint="@string/garbage_waste_search" android:hint="@string/garbage_waste_search"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/mobie" /> app:layout_constraintTop_toBottomOf="@id/mobie" />

Loading…
Cancel
Save