63 lines
2.3 KiB
XML
63 lines
2.3 KiB
XML
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingTop="32dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/imageSearchTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:layout_marginTop="8dp"
|
|
android:drawablePadding="16dp"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:gravity="center_vertical"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:text="@string/search_by_image"
|
|
app:drawableStartCompat="@drawable/ic_round_arrow_back_ios_new_24"
|
|
app:drawableTint="?attr/colorOnBackground" />
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:clipToPadding="false"
|
|
android:paddingStart="8dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="92dp"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
tools:listitem="@layout/item_search_by_image" />
|
|
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/uploadImage"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="64dp"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="16dp"
|
|
android:elegantTextHeight="true"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:text="@string/upload_image"
|
|
android:textColor="?attr/colorOnPrimary"
|
|
app:cornerRadius="16dp"
|
|
app:icon="@drawable/ic_round_image_search_24"
|
|
app:iconTint="?attr/colorOnPrimary" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="invisible" />
|
|
</FrameLayout>
|