ui: fix rtl issues

Fix minor RTL issues across the app. Except for the controls. I have
zero idea how to fix that.
This commit is contained in:
OxygenCobalt 2022-06-16 11:00:17 -06:00
parent 668006724b
commit 49e3c51bb6
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
9 changed files with 15 additions and 3 deletions

View file

@ -19,6 +19,7 @@
- Playback controls are now easier to reach when gesture navigation is enabled
- Added Play Next/Add to Queue options to artists and genres
- Covers in the detail views now show an indicator when playing
- Made dynamic colors the default color scheme on Android 12
#### What's Fixed
- Playback bar now picks the larger inset in case that gesture inset is missing [#149]

View file

@ -276,7 +276,7 @@ constructor(context: Context, attrs: AttributeSet? = null, defStyle: Int = 0) :
val widthMode = MeasureSpec.getMode(widthMeasureSpec)
val heightMode = MeasureSpec.getMode(heightMeasureSpec)
check(widthMode == MeasureSpec.EXACTLY || heightMode == MeasureSpec.EXACTLY) {
check(widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) {
"This view must be MATCH_PARENT"
}

View file

@ -2,6 +2,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:autoMirrored="true"
android:tint="?attr/colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24">

View file

@ -82,6 +82,7 @@
android:id="@+id/dirs_mode_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
android:layout_marginStart="@dimen/spacing_mid_large"
android:layout_marginTop="@dimen/spacing_small"
android:layout_marginEnd="@dimen/spacing_mid_large"

View file

@ -92,6 +92,7 @@
android:layout_marginTop="@dimen/spacing_medium"
android:layout_marginEnd="@dimen/spacing_mid_large"
android:text="@string/set_pre_amp_warning"
android:textAlignment="viewStart"
android:textAppearance="@style/TextAppearance.Auxio.BodySmall"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View file

@ -31,6 +31,7 @@
android:id="@+id/detail_file_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
tools:text="file.mp3" />
</com.google.android.material.textfield.TextInputLayout>
@ -46,6 +47,7 @@
android:id="@+id/detail_relative_dir"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
tools:text="/path/to" />
</com.google.android.material.textfield.TextInputLayout>
@ -61,6 +63,7 @@
android:id="@+id/detail_format"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
tools:text="MP3" />
</com.google.android.material.textfield.TextInputLayout>
@ -76,6 +79,7 @@
android:id="@+id/detail_size"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
tools:text="16 MB" />
</com.google.android.material.textfield.TextInputLayout>
@ -91,6 +95,7 @@
android:id="@+id/detail_duration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
tools:text="3:20" />
</com.google.android.material.textfield.TextInputLayout>
@ -106,6 +111,7 @@
android:id="@+id/detail_bitrate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
tools:text="320 kb/s" />
</com.google.android.material.textfield.TextInputLayout>
@ -121,6 +127,7 @@
android:id="@+id/detail_sample_rate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAlignment="viewStart"
tools:text="44100 Hz" />
</com.google.android.material.textfield.TextInputLayout>

View file

@ -22,6 +22,7 @@
android:paddingStart="@dimen/spacing_medium"
android:textAppearance="@style/TextAppearance.Auxio.BodyLarge"
app:buttonCompat="@null"
android:textAlignment="viewStart"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tab_drag_handle"
app:layout_constraintStart_toStartOf="parent"

View file

@ -212,7 +212,7 @@
<string name="fmt_db_pos">+%.1f dB</string>
<string name="fmt_db_neg">-%.1f dB</string>
<string name="fmt_bitrate">%d KB/s</string>
<string name="fmt_bitrate">%d kbps</string>
<string name="fmt_sample_rate">%d Hz</string>
<string name="fmt_indexing">Loading your music library… (%1$d/%2$d)</string>

View file

@ -63,7 +63,7 @@ investigated there.
an unrecognized name.
#### My lossless audio sounds lower-quality in Auxio!
This is a current limitation with the ExoPlayer. Basically, all audio tend is downsampled to 16-bit PCM audio, even
This is a current limitation with the ExoPlayer. Basically, all audio is downsampled to 16-bit PCM audio, even
if the source audio is higher quality. I can enable something that might be able to remedy such, but implementing it
fully may take some time.