Remove Logo from MainActivity

The Skyline logo was added to the title area but it ended up being too distracting with a light theme as the logo was designed purely for a white background. Ultimately, even though it looked good with the dark theme we had to remove it.
This commit is contained in:
PixelyIon 2021-11-11 13:58:25 +05:30
parent 43b9d95dbc
commit ff5887975b

View File

@ -76,30 +76,18 @@
app:srcCompat="@drawable/ic_settings"
app:tint="?android:attr/textColorSecondary" />
<ImageView
android:id="@+id/logo"
android:layout_width="36dp"
android:layout_height="38dp"
android:layout_marginStart="16dp"
android:paddingBottom="2dp"
android:contentDescription="@string/app_name"
app:layout_constraintBottom_toBottomOf="@+id/sub_text"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/title_text"
app:srcCompat="@drawable/logo_skyline" />
<ImageView
android:id="@+id/title_text"
android:layout_width="0dp"
android:layout_height="24dp"
android:layout_marginTop="16dp"
android:layout_marginStart="12dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:contentDescription="@string/app_name"
android:scaleType="fitStart"
app:layout_constraintEnd_toStartOf="@id/refresh_icon"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@id/logo"
app:layout_constraintStart_toStartOf="@id/search_bar"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/skyline_text"
app:tint="?android:attr/textColorPrimary" />
@ -121,7 +109,7 @@
android:layout_width="match_parent"
android:layout_height="64dp"
android:layout_marginStart="10dp"
android:layout_marginTop="16dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
app:cardCornerRadius="16dp"
app:cardElevation="2dp"