summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-10-21 15:10:39 +0200
committerJosJuice <josjuice@gmail.com>2019-11-23 17:48:44 +0100
commit8e2b12e1ea5c06d5204376830cb30de91be643f1 (patch)
tree0010007f3b941037da8b7df60e4bc1f1e40073d7 /Source/Android
parent2e13353201b0039c536f763f109c4232faf400ec (diff)
GameDetailsDialog: Use labels instead of icons
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/app/src/main/res/drawable-hdpi/ic_company.pngbin183 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-hdpi/ic_country.pngbin917 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-xhdpi/ic_company.pngbin136 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-xhdpi/ic_country.pngbin1220 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-xxhdpi/ic_company.pngbin196 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-xxhdpi/ic_country.pngbin1877 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-xxxhdpi/ic_company.pngbin142 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/drawable-xxxhdpi/ic_country.pngbin2537 -> 0 bytes
-rw-r--r--Source/Android/app/src/main/res/layout/dialog_game_details.xml99
-rw-r--r--Source/Android/app/src/main/res/values/strings.xml4
10 files changed, 58 insertions, 45 deletions
diff --git a/Source/Android/app/src/main/res/drawable-hdpi/ic_company.png b/Source/Android/app/src/main/res/drawable-hdpi/ic_company.png
deleted file mode 100644
index 88e21de295..0000000000
--- a/Source/Android/app/src/main/res/drawable-hdpi/ic_company.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-hdpi/ic_country.png b/Source/Android/app/src/main/res/drawable-hdpi/ic_country.png
deleted file mode 100644
index 6e71c3a40f..0000000000
--- a/Source/Android/app/src/main/res/drawable-hdpi/ic_country.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_company.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_company.png
deleted file mode 100644
index 26b1ccfcf4..0000000000
--- a/Source/Android/app/src/main/res/drawable-xhdpi/ic_company.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_country.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_country.png
deleted file mode 100644
index 5d500f5f04..0000000000
--- a/Source/Android/app/src/main/res/drawable-xhdpi/ic_country.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-xxhdpi/ic_company.png b/Source/Android/app/src/main/res/drawable-xxhdpi/ic_company.png
deleted file mode 100644
index ac4c2c70e8..0000000000
--- a/Source/Android/app/src/main/res/drawable-xxhdpi/ic_company.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-xxhdpi/ic_country.png b/Source/Android/app/src/main/res/drawable-xxhdpi/ic_country.png
deleted file mode 100644
index 077ae487a0..0000000000
--- a/Source/Android/app/src/main/res/drawable-xxhdpi/ic_country.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_company.png b/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_company.png
deleted file mode 100644
index 6742ce771f..0000000000
--- a/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_company.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_country.png b/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_country.png
deleted file mode 100644
index 27c03a5232..0000000000
--- a/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_country.png
+++ /dev/null
Binary files differ
diff --git a/Source/Android/app/src/main/res/layout/dialog_game_details.xml b/Source/Android/app/src/main/res/layout/dialog_game_details.xml
index bc88f4c59a..fc6b360320 100644
--- a/Source/Android/app/src/main/res/layout/dialog_game_details.xml
+++ b/Source/Android/app/src/main/res/layout/dialog_game_details.xml
@@ -51,87 +51,96 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/banner" />
- <ImageView
- android:id="@+id/icon_country"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ <TextView
+ android:id="@+id/label_country"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginTop="24dp"
- android:padding="6dp"
- android:src="@drawable/ic_country"
+ android:gravity="start"
+ android:text="@string/game_details_country"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divider" />
- <ImageView
- android:id="@+id/icon_company"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ <TextView
+ android:id="@+id/label_company"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginTop="24dp"
- android:padding="6dp"
- android:src="@drawable/ic_company"
+ android:gravity="start"
+ android:text="@string/game_details_company"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/icon_country" />
+ app:layout_constraintTop_toBottomOf="@id/label_country" />
- <ImageView
- android:id="@+id/icon_game_id"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ <TextView
+ android:id="@+id/label_game_id"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginTop="24dp"
- android:padding="6dp"
+ android:gravity="start"
+ android:text="@string/game_details_game_id"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/icon_company" />
+ app:layout_constraintTop_toBottomOf="@id/label_company" />
- <ImageView
- android:id="@+id/icon_revision"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ <TextView
+ android:id="@+id/label_revision"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_marginTop="24dp"
- android:padding="6dp"
+ android:gravity="start"
+ android:text="@string/game_details_revision"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/icon_game_id"
+ app:layout_constraintTop_toBottomOf="@id/label_game_id"
app:layout_constraintBottom_toBottomOf="parent" />
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/label_barrier"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:barrierDirection="end"
+ app:constraint_referenced_ids="label_country,label_company,label_game_id,label_revision" />
+
<TextView
android:id="@+id/text_country"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
- android:gravity="center_vertical"
+ android:gravity="end"
tools:text="United States"
- app:layout_constraintStart_toEndOf="@id/icon_country"
- app:layout_constraintTop_toTopOf="@id/icon_country"
- app:layout_constraintBottom_toBottomOf="@id/icon_country" />
+ app:layout_constraintStart_toEndOf="@id/label_barrier"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBaseline_toBaselineOf="@id/label_country" />
<TextView
android:id="@+id/text_company"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
- android:gravity="center_vertical"
+ android:gravity="end"
tools:text="Nintendo"
- app:layout_constraintStart_toEndOf="@id/icon_company"
- app:layout_constraintTop_toTopOf="@id/icon_company"
- app:layout_constraintBottom_toBottomOf="@id/icon_company" />
+ app:layout_constraintStart_toEndOf="@id/label_barrier"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBaseline_toBaselineOf="@id/label_company" />
<TextView
android:id="@+id/text_game_id"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
- android:gravity="center_vertical"
+ android:gravity="end"
tools:text="SOME01"
- app:layout_constraintStart_toEndOf="@id/icon_game_id"
- app:layout_constraintTop_toTopOf="@id/icon_game_id"
- app:layout_constraintBottom_toBottomOf="@id/icon_game_id" />
+ app:layout_constraintStart_toEndOf="@id/label_barrier"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBaseline_toBaselineOf="@id/label_game_id" />
<TextView
android:id="@+id/text_revision"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
- android:gravity="center_vertical"
+ android:gravity="end"
tools:text="0"
- app:layout_constraintStart_toEndOf="@id/icon_revision"
- app:layout_constraintTop_toTopOf="@id/icon_revision"
- app:layout_constraintBottom_toBottomOf="@id/icon_revision" />
+ app:layout_constraintStart_toEndOf="@id/label_barrier"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBaseline_toBaselineOf="@id/label_revision" />
</androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/Source/Android/app/src/main/res/values/strings.xml b/Source/Android/app/src/main/res/values/strings.xml
index c55de039a9..9cf77f7eba 100644
--- a/Source/Android/app/src/main/res/values/strings.xml
+++ b/Source/Android/app/src/main/res/values/strings.xml
@@ -284,6 +284,10 @@
<string name="preferences_extensions">Extension Bindings</string>
<string name="game_ini_junk_title">Junk Data Found</string>
<string name="game_ini_junk_question">The settings file for this game contains junk data created by an old version of Dolphin. Would you like to fix this by deleting the settings file for this game? All game-specific settings and cheats that you have added will be removed. This cannot be undone.</string>
+ <string name="game_details_country">Country</string>
+ <string name="game_details_company">Company</string>
+ <string name="game_details_game_id">Game ID</string>
+ <string name="game_details_revision">Revision</string>
<!-- Emulation Menu -->
<string name="emulation_screenshot">Take Screenshot</string>