Author: Adam <git@apiote.xyz>
show favourites empty state
app/src/main/res/drawable/inari.xml | 56 ++++++++++++++++++++++++ app/src/main/res/layout/fragment_home.xml | 15 ++++++
diff --git a/app/src/main/res/drawable/inari.xml b/app/src/main/res/drawable/inari.xml new file mode 100644 index 0000000000000000000000000000000000000000..d07433c89483e8ed88dac67cd32206f96364f717 --- /dev/null +++ b/app/src/main/res/drawable/inari.xml @@ -0,0 +1,56 @@ +<!-- git:inari --> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="66.982dp" + android:height="55.716dp" + android:viewportWidth="66.982" + android:viewportHeight="55.716"> + <path + android:pathData="M0,12.887a5.574,5.313 0,1 0,11.148 0a5.574,5.313 0,1 0,-11.148 0z" + android:strokeWidth="0.352122" + android:fillColor="#567ca0"/> + <path + android:pathData="M4.96,18.166h0.986v33.42h-0.986z" + android:strokeWidth="0.264866" + android:fillColor="#b5c5c5"/> + <path + android:pathData="M3.431,25.325h4.196v7.813h-4.196z" + android:strokeWidth="0.264583" + android:fillColor="#798595"/> + <path + android:pathData="m0.313,51.665h10.617v3.857c-3.618,0.267 -7.151,0.248 -10.617,0z" + android:strokeWidth="0.264583" + android:fillColor="#3f413c"/> + <path + android:pathData="m16.302,33.054 l5.762,-3.254 5.651,-0.183 6.147,0.293 4.652,2.215 -0.004,1.039 -3.422,2.396 -13.591,0.269z" + android:strokeLineJoin="miter" + android:strokeWidth="0.264583" + android:fillColor="#53221b" + android:strokeColor="#00000000" + android:strokeLineCap="butt"/> + <path + android:pathData="m27.594,26.553l0,12.511 0,0.722l0.484,0l0,-0.722 0,-12.511z" + android:strokeWidth="0.265" + android:fillColor="#5d1c18"/> + <path + android:pathData="m38.514,32.125c0.179,-0.709 -0.377,-1.396 -0.856,-1.87 -0.554,-0.544 -1.324,-1.41 -1.884,-1.957 -0.993,-0.578 -2.003,-0.898 -2.924,-1.586 -0.712,-0.696 -1.613,-0.546 -2.504,-0.857 -0.988,-0.383 -2.037,-0.15 -3.061,-0.164 -1.123,0.124 -2.255,0.275 -3.382,0.4 -0.863,0.156 -1.682,0.488 -2.422,0.946 -0.867,0.262 -1.547,0.826 -2.186,1.446 -0.789,0.558 -1.352,1.341 -2.037,2.012 -0.795,0.588 -0.88,1.652 -0.956,2.561l5.762,-3.254 5.651,-0.183 6.147,0.293z" + android:strokeLineJoin="miter" + android:strokeWidth="0.264583" + android:fillColor="#da4e59" + android:strokeColor="#00000000" + android:strokeLineCap="butt"/> + <path + android:pathData="m27.594,39.786h1.3v0c0,0 0.183,2.349 -0.63,2.355 -0.816,0.007 -0.67,-2.355 -0.67,-2.355z" + android:strokeWidth="0.264583" + android:fillColor="#743027"/> + <path + android:pathData="m55.478,2.524c1.557,0.025 3.113,0.049 4.67,0.074 0.066,-0.391 0.147,-0.813 0.248,-1.21 0.227,-0.373 0.095,-0.844 0.268,-1.202 0.148,-0.137 0.648,-0.364 0.706,0.058 0.115,0.42 0.124,0.927 -0.058,1.329 -0.101,0.353 -0.223,0.723 -0.389,1.032 1.599,0.008 3.198,0.017 4.796,0.025 0.197,0.326 0.599,0.218 0.915,0.392 0.456,0.096 0.354,0.596 0.295,1.009 -0.327,0.229 -0.432,0.655 -0.831,0.805 -0.229,0.283 -0.572,0.536 -0.982,0.358 -0.512,0.157 -1.007,-0.001 -1.518,-0.007 -0.386,-0.018 -0.684,0.241 -1.046,0.366 -0.398,0.176 -0.773,0.436 -1.058,0.758 -0.435,0.481 -0.955,0.035 -1.48,0.066 -0.417,-0.12 -0.696,-0.414 -1.077,-0.616 -0.429,-0.214 -0.84,-0.472 -1.2,-0.787 -0.401,-0.252 -0.878,-0.38 -1.181,-0.768 -0.3,-0.356 -0.88,-0.394 -1.031,-0.862 -0.081,-0.249 -0.155,-0.575 -0.048,-0.82z" + android:strokeLineJoin="miter" + android:strokeWidth="0.264583" + android:fillColor="#586c24" + android:strokeColor="#00000000" + android:strokeLineCap="butt"/> + <path + android:pathData="m7.458,15.993 l-2.092,-1.223 -2.194,1.03 0.517,-2.368 -1.658,-1.768 2.412,-0.24 1.169,-2.123 0.974,2.22 2.38,0.456 -1.81,1.612z" + android:fillColor="#ffe438" + android:strokeColor="#00000000"/> +</vector> diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 675e138c356b890370f573bc063ca633a057d41c..0504b5921a271c78e6e719f39a2f86e8570c29d2 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -33,4 +33,19 @@ android:src="@drawable/ic_gps_black_24dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" /> + <ImageView + android:id="@+id/imageView2" + android:layout_width="0dp" + android:layout_height="0dp" + android:layout_marginStart="16dp" + android:layout_marginTop="16dp" + android:layout_marginEnd="16dp" + android:layout_marginBottom="16dp" + android:alpha="0.25" + android:src="@drawable/inari" + app:layout_constraintBottom_toTopOf="@+id/floating_action_button" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/search_bar" /> + </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file