summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-01-25 16:22:34 +0100
committerAlbin <albin@mullvad.net>2023-01-26 10:04:25 +0100
commit800f2dd9172bb6c4a2c357ce771414843671a817 (patch)
tree995bf653c79a0f9822de7b9bbe4ccad2111f5cc3
parent338239a6593241cf609ea5ee0a6d319fe8c34e53 (diff)
downloadmullvadvpn-800f2dd9172bb6c4a2c357ce771414843671a817.tar.xz
mullvadvpn-800f2dd9172bb6c4a2c357ce771414843671a817.zip
Replace top bar logo with vector
-rw-r--r--android/app/src/main/res/layout/header_bar.xml23
1 files changed, 11 insertions, 12 deletions
diff --git a/android/app/src/main/res/layout/header_bar.xml b/android/app/src/main/res/layout/header_bar.xml
index ee790655bb..9ca2756626 100644
--- a/android/app/src/main/res/layout/header_bar.xml
+++ b/android/app/src/main/res/layout/header_bar.xml
@@ -11,18 +11,17 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" />
- <TextView android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="9dp"
- android:layout_marginVertical="12dp"
- android:textColor="@color/white80"
- android:textSize="@dimen/text_big"
- android:textStyle="bold"
- android:text="@string/app_name"
- android:textAllCaps="true"
- app:layout_constraintStart_toEndOf="@id/appIcon"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent" />
+ <ImageView android:id="@+id/appLogo"
+ android:layout_height="16dp"
+ android:layout_width="wrap_content"
+ android:adjustViewBounds="true"
+ android:scaleType="fitCenter"
+ android:src="@drawable/logo_text"
+ android:layout_marginStart="8dp"
+ android:alpha="0.8"
+ app:layout_constraintStart_toEndOf="@id/appIcon"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent" />
<ImageButton android:id="@+id/settings"
android:layout_width="wrap_content"
android:layout_height="match_parent"