diff options
| author | JosJuice <josjuice@gmail.com> | 2020-06-21 20:41:50 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-06-21 20:47:23 +0200 |
| commit | d494e0230c2ebfd580bb66b2a741d19ef830d658 (patch) | |
| tree | edd701dfdd98be00f0971dc747eea0dcbe5f7c71 /Source/Android/app/src/main/res | |
| parent | 99822518994d62def4e336f6746d6a2e2d108fb2 (diff) | |
Show file format details in game properties
Diffstat (limited to 'Source/Android/app/src/main/res')
| -rw-r--r-- | Source/Android/app/src/main/res/layout/dialog_game_details.xml | 82 | ||||
| -rw-r--r-- | Source/Android/app/src/main/res/values/strings.xml | 5 |
2 files changed, 82 insertions, 5 deletions
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 fc6b360320..58816600bf 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 @@ -42,7 +42,7 @@ app:layout_constraintTop_toBottomOf="@id/text_description" /> <View - android:id="@+id/divider" + android:id="@+id/divider_1" android:layout_width="0dp" android:layout_height="1dp" android:background="#1F000000" @@ -59,7 +59,7 @@ android:gravity="start" android:text="@string/game_details_country" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/divider" /> + app:layout_constraintTop_toBottomOf="@id/divider_1" /> <TextView android:id="@+id/label_company" @@ -89,15 +89,14 @@ android:gravity="start" android:text="@string/game_details_revision" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@id/label_game_id" - app:layout_constraintBottom_toBottomOf="parent" /> + app:layout_constraintTop_toBottomOf="@id/label_game_id" /> <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" /> + app:constraint_referenced_ids="label_country,label_company,label_game_id,label_revision,label_file_format,label_compression,label_block_size" /> <TextView android:id="@+id/text_country" @@ -143,4 +142,77 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintBaseline_toBaselineOf="@id/label_revision" /> + <View + android:id="@+id/divider_2" + android:layout_width="0dp" + android:layout_height="1dp" + android:background="#1F000000" + android:layout_marginTop="32dp" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/label_revision" /> + + <TextView + android:id="@+id/label_file_format" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="24dp" + android:gravity="start" + android:text="@string/game_details_file_format" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/divider_2" /> + + <TextView + android:id="@+id/label_compression" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="24dp" + android:gravity="start" + android:text="@string/game_details_compression" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/label_file_format" /> + + <TextView + android:id="@+id/label_block_size" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="24dp" + android:gravity="start" + android:text="@string/game_details_block_size" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/label_compression" /> + + <TextView + android:id="@+id/text_file_format" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:gravity="end" + tools:text="ISO (4.38 GiB)" + app:layout_constraintStart_toEndOf="@id/label_barrier" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBaseline_toBaselineOf="@id/label_file_format" /> + + <TextView + android:id="@+id/text_compression" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:gravity="end" + tools:text="No Compression" + app:layout_constraintStart_toEndOf="@id/label_barrier" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBaseline_toBaselineOf="@id/label_compression" /> + + <TextView + android:id="@+id/text_block_size" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:gravity="end" + tools:text="0 B" + app:layout_constraintStart_toEndOf="@id/label_barrier" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBaseline_toBaselineOf="@id/label_block_size" /> + </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 94590230f6..dfc69dfaf1 100644 --- a/Source/Android/app/src/main/res/values/strings.xml +++ b/Source/Android/app/src/main/res/values/strings.xml @@ -317,6 +317,11 @@ <string name="game_details_company">Company</string> <string name="game_details_game_id">Game ID</string> <string name="game_details_revision">Revision</string> + <string name="game_details_file_size">File Size</string> + <string name="game_details_file_format">File Format</string> + <string name="game_details_compression">Compression</string> + <string name="game_details_block_size">Block Size</string> + <string name="game_details_no_compression">No Compression</string> <!-- Emulation Menu --> <string name="emulation_screenshot">Take Screenshot</string> |
