diff --git a/app/src/main/java/com/community/pocket/ui/main/ui/garbage/waste/GarbageWasteResponse.java b/app/src/main/java/com/community/pocket/ui/main/ui/garbage/waste/GarbageWasteResponse.java index 6fad570..e800d9f 100644 --- a/app/src/main/java/com/community/pocket/ui/main/ui/garbage/waste/GarbageWasteResponse.java +++ b/app/src/main/java/com/community/pocket/ui/main/ui/garbage/waste/GarbageWasteResponse.java @@ -1,5 +1,6 @@ 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.GarbageWastePrice; import com.community.pocket.ui.main.ui.share.Response; @@ -12,7 +13,7 @@ import java.util.List; public class GarbageWasteResponse extends Response { enum Msg implements CustomMessage { - ; + ok(R.string.garbage_waste_search_ok); private Integer msg; diff --git a/app/src/main/res/layout/main/layout/garbage/layout/garbage_sorting.xml b/app/src/main/res/layout/main/layout/garbage/layout/garbage_sorting.xml index 7381fef..00524ae 100644 --- a/app/src/main/res/layout/main/layout/garbage/layout/garbage_sorting.xml +++ b/app/src/main/res/layout/main/layout/garbage/layout/garbage_sorting.xml @@ -16,6 +16,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:completionThreshold="1" + android:gravity="center" android:hint="@string/prompt_garbage_name" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/main/layout/garbage/layout/garbage_waste.xml b/app/src/main/res/layout/main/layout/garbage/layout/garbage_waste.xml index fa9de50..8d5bf45 100644 --- a/app/src/main/res/layout/main/layout/garbage/layout/garbage_waste.xml +++ b/app/src/main/res/layout/main/layout/garbage/layout/garbage_waste.xml @@ -35,6 +35,7 @@ android:layout_height="wrap_content" android:layout_marginTop="8dp" android:completionThreshold="1" + android:gravity="center" android:hint="@string/garbage_waste_search" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/mobie" />