spacing in worker_card

This commit is contained in:
Nicolás Sánchez 2024-12-17 21:24:11 -03:00
parent 0028f3285d
commit 6c79979f72
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public class WorkerCardAdapter{
String percentageToDisplay = String.format(Locale.ROOT, "%.2f",abs(worker.getTakeProfitPrice()- worker.getPrice())/worker.getPrice()*100)+"%"; String percentageToDisplay = String.format(Locale.ROOT, "%.2f",abs(worker.getTakeProfitPrice()- worker.getPrice())/worker.getPrice()*100)+"%";
percentage.setText(percentageToDisplay); percentage.setText(percentageToDisplay);
String safetyOrdersToDisplay = worker.getAmountOfSafetyOrders()-1 + " / " + worker.getMaxSafetyOrders(); String safetyOrdersToDisplay = worker.getAmountOfSafetyOrders()-1 + "/" + worker.getMaxSafetyOrders();
safetyOrders.setText(safetyOrdersToDisplay); safetyOrders.setText(safetyOrdersToDisplay);
uptime.setText(formatSeconds(worker.getUptime())); uptime.setText(formatSeconds(worker.getUptime()));

View File

@ -28,7 +28,7 @@
android:textStyle="bold" /> android:textStyle="bold" />
<TextView <TextView
android:id="@+id/workerCardSafetyOrders" android:id="@+id/workerCardSafetyOrders"
android:layout_width="50dp" android:layout_width="54dp"
android:layout_height="24dp" android:layout_height="24dp"
android:text="45/45" android:text="45/45"
android:textColor="@color/secondary_text_color" android:textColor="@color/secondary_text_color"