summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/main/res
diff options
context:
space:
mode:
authorJonatan Rhodin <jonatan.rhodin@mullvad.net>2023-10-11 14:41:33 +0200
committerJonatan Rhodin <jonatan.rhodin@mullvad.net>2023-10-12 14:01:28 +0200
commitb3e63bb0cc97d7486d88ddf2d927cd5ae116c075 (patch)
treeb450ee577d35cf479fe3f953ff989f6b5d6e0211 /android/app/src/main/res
parent30b81b081df1694229c9fd1995030ce1fab851b9 (diff)
downloadmullvadvpn-b3e63bb0cc97d7486d88ddf2d927cd5ae116c075.tar.xz
mullvadvpn-b3e63bb0cc97d7486d88ddf2d927cd5ae116c075.zip
Remove unused classes and resources
Diffstat (limited to 'android/app/src/main/res')
-rw-r--r--android/app/src/main/res/layout/button.xml23
-rw-r--r--android/app/src/main/res/layout/header_bar.xml46
-rw-r--r--android/app/src/main/res/layout/settings_back_button.xml12
3 files changed, 0 insertions, 81 deletions
diff --git a/android/app/src/main/res/layout/button.xml b/android/app/src/main/res/layout/button.xml
deleted file mode 100644
index 5db4501a46..0000000000
--- a/android/app/src/main/res/layout/button.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<merge xmlns:android="http://schemas.android.com/apk/res/android">
- <Button android:id="@+id/button"
- android:gravity="center"
- android:text=""
- style="@style/Button" />
- <ProgressBar android:id="@+id/spinner"
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:layout_marginHorizontal="9dp"
- android:layout_gravity="end|center_vertical"
- android:indeterminate="true"
- android:indeterminateOnly="true"
- android:indeterminateDuration="600"
- android:indeterminateDrawable="@drawable/icon_spinner"
- android:visibility="gone" />
- <ImageView android:id="@+id/image"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="9dp"
- android:layout_gravity="end|center_vertical"
- android:src="@android:color/transparent"
- android:visibility="gone" />
-</merge>
diff --git a/android/app/src/main/res/layout/header_bar.xml b/android/app/src/main/res/layout/header_bar.xml
deleted file mode 100644
index f040afd9cb..0000000000
--- a/android/app/src/main/res/layout/header_bar.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<merge xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto">
- <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent"
- android:layout_height="@dimen/top_bar_height">
-
- <ImageView android:id="@+id/appIcon"
- android:layout_width="44dp"
- android:layout_height="44dp"
- android:src="@drawable/logo_icon"
- android:layout_marginStart="16dp"
- app:layout_constraintStart_toStartOf="parent"
- 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/account"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="?android:attr/selectableItemBackground"
- android:paddingHorizontal="16dp"
- android:src="@drawable/icon_account"
- app:layout_constraintEnd_toStartOf="@id/settings"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:contentDescription="@string/settings_account" />
- <ImageButton android:id="@+id/settings"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:background="?android:attr/selectableItemBackground"
- android:paddingHorizontal="16dp"
- android:src="@drawable/icon_settings"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:contentDescription="@string/settings" />
- </androidx.constraintlayout.widget.ConstraintLayout>
-</merge>
diff --git a/android/app/src/main/res/layout/settings_back_button.xml b/android/app/src/main/res/layout/settings_back_button.xml
deleted file mode 100644
index 442437fca8..0000000000
--- a/android/app/src/main/res/layout/settings_back_button.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<merge xmlns:android="http://schemas.android.com/apk/res/android">
- <ImageView android:layout_width="24dp"
- android:layout_height="24dp"
- android:layout_marginEnd="8dp"
- android:src="@drawable/icon_back" />
- <TextView android:id="@+id/label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/white60"
- android:textSize="@dimen/text_small"
- android:textStyle="bold" />
-</merge>