refs #6413 feat:refactor Ubicador

This commit is contained in:
Sergio De la torre 2024-02-28 09:39:10 +01:00
parent c9624beb7f
commit f36ff5233e
1 changed files with 50 additions and 40 deletions

View File

@ -28,7 +28,7 @@
android:id="@+id/textinputlayout_matricula" android:id="@+id/textinputlayout_matricula"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="2"
android:textColorHint="@android:color/darker_gray"> android:textColorHint="@android:color/darker_gray">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
@ -44,56 +44,65 @@
android:textColorHint="@android:color/darker_gray" /> android:textColorHint="@android:color/darker_gray" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinputlayout_prioridad" <LinearLayout
android:id="@+id/layout_icons_actions"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:textColorHint="@android:color/darker_gray"> android:orientation="horizontal">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputLayout
android:id="@+id/edit_prioridad" android:id="@+id/textinputlayout_prioridad"
style="@style/InputLineTextSearch"
android:layout_width="match_parent" android:layout_width="match_parent"
android:backgroundTint="@android:color/white" android:layout_height="wrap_content"
android:hint="Prioridad:" android:layout_weight="1"
android:inputType="number" android:textColorHint="@android:color/darker_gray">
android:lines="1"
android:maxLines="1"
android:textColor="@color/verdnatura_white"
android:textColorHint="@android:color/darker_gray" />
</com.google.android.material.textfield.TextInputLayout>
<ImageView <com.google.android.material.textfield.TextInputEditText
android:id="@+id/delete_img" android:id="@+id/edit_prioridad"
android:layout_width="@dimen/options_image_width" style="@style/InputLineTextSearch"
android:layout_height="match_parent" android:layout_width="match_parent"
android:padding="@dimen/options_image_padding" android:backgroundTint="@android:color/white"
android:src="@drawable/ic_delete_forever_black_24dp" /> android:hint="Prioridad:"
android:inputType="number"
android:lines="1"
android:maxLines="1"
android:textColor="@color/verdnatura_white"
android:textColorHint="@android:color/darker_gray" />
</com.google.android.material.textfield.TextInputLayout>
<ImageView <ImageView
android:id="@+id/edit_img" android:id="@+id/delete_img"
android:layout_width="@dimen/options_image_width" android:layout_width="@dimen/options_image_width"
android:layout_height="match_parent" android:layout_height="match_parent"
android:padding="@dimen/options_image_padding" android:padding="@dimen/options_image_padding"
android:src="@drawable/ic_mode_edit_black_24dp" /> android:src="@drawable/ic_delete_forever_black_24dp" />
<ImageView <ImageView
android:id="@+id/parking_img" android:id="@+id/edit_img"
android:layout_width="@dimen/options_image_width" android:layout_width="@dimen/options_image_width"
android:layout_height="match_parent" android:layout_height="match_parent"
android:padding="@dimen/options_image_padding" android:padding="@dimen/options_image_padding"
android:src="@drawable/ic_local_parking_black_24dp" /> android:src="@drawable/ic_mode_edit_black_24dp" />
<ImageView
android:id="@+id/parking_img"
android:layout_width="@dimen/options_image_width"
android:layout_height="match_parent"
android:padding="@dimen/options_image_padding"
android:src="@drawable/ic_local_parking_black_24dp" />
<ImageView
android:id="@+id/automatic_img"
android:layout_width="@dimen/options_image_width"
android:layout_height="match_parent"
android:padding="@dimen/options_image_padding"
android:src="@drawable/ic_flash_auto_black_24dp" />
</LinearLayout>
<ImageView
android:id="@+id/automatic_img"
android:layout_width="@dimen/options_image_width"
android:layout_height="match_parent"
android:padding="@dimen/options_image_padding"
android:src="@drawable/ic_flash_auto_black_24dp" />
</LinearLayout> </LinearLayout>
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/location_recyclerview" android:id="@+id/location_recyclerview"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -106,6 +115,7 @@
<include <include
android:id="@+id/main_toolbar" android:id="@+id/main_toolbar"
layout="@layout/toolbar_fragment" layout="@layout/toolbar_fragment"
android:visibility="visible"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />