fix accesibility issues

This commit is contained in:
Page Asgardius 2022-09-10 06:46:31 -07:00
parent bf2fc6f37a
commit 4b2f5c95cd
4 changed files with 23 additions and 22 deletions

View file

@ -10,6 +10,7 @@
android:id="@+id/blist"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/bucket_list"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0"

View file

@ -1,27 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity">
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_marginTop="100dp"
android:layout_height="wrap_content"
android:text="@string/accountselect"
android:textAlignment="center"
android:textSize="25sp"
app:layout_constraintTop_toTopOf="parent" />
android:textSize="25sp" />
<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_height="70dp"
android:layout_margin="20dp"
android:orientation="horizontal"
android:padding="10dp"
tools:ignore="MissingConstraints"
tools:layout_editor_absoluteX="20dp">
@ -31,7 +29,8 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:text="@string/accountadd_button"
tools:ignore="MissingConstraints" />
tools:ignore="MissingConstraints"
style="?android:attr/buttonStyle" />
<Button
android:id="@+id/ltest"
@ -39,7 +38,8 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:text="@string/dummy_button"
tools:ignore="MissingConstraints" />
tools:ignore="MissingConstraints"
style="?android:attr/buttonStyle" />
</LinearLayout>
@ -47,10 +47,6 @@
android:id="@+id/alist"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="140dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1.0"
tools:layout_editor_absoluteX="27dp" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>

View file

@ -7,13 +7,14 @@
tools:context=".ObjectSelect">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/olist"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0"
tools:layout_editor_absoluteX="-27dp" />
android:id="@+id/olist"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/object_list"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0"
tools:layout_editor_absoluteX="-27dp" />
<ProgressBar
android:id="@+id/simpleProgressBar"

View file

@ -2,6 +2,9 @@
<string name="app_name">S3 Manager</string>
<string name="aws_endpoint">.amazonaws.com</string>
<string name="title_activity_video_player">VideoPlayer</string>
<string name="account_list">Account list</string>
<string name="bucket_list">Bucket list</string>
<string name="object_list">Object list</string>
<string name="broken_database">Local database is corrupted. Please reinstall this app</string>
<string name="pending_feature">This feature is not implemented yet</string>
<string name="file_external">Open in</string>