Fix minor issues with layouts and activities

This commit is contained in:
Davide Depau committed 2019-08-20 06:20:50 +02:00
1 parent 9ea81468f7
commit 16deb7795e
4 files changed
+7 -9

No files matched your search

@@ -130,6 +130,7 @@ class StartActivity : ActivityBase() {
}
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
if (requestCode == READ_REQUEST_CODE && resultCode == AppCompatActivity.RESULT_OK) {
// The document selected by the user won't be returned in the intent.
// Instead, a URI to that document will be contained in the return intent
@@ -16,7 +16,6 @@
android:theme="@style/CardContentStyle">
<eu.depau.etchdroid.utils.EmptyRecyclerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/usbdevs_recycler_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:grid="http://schemas.android.com/apk/res-auto"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
+5 -5
View File
@@ -154,13 +154,13 @@
<string name="app_desc">An application to write OS images to USB drives, on Android, no root required.</string>
<string name="buy_me_a_coffee">Buy me a coffee</string>
<string name="notif_channel_job_progress_desc">Used to show the progress of the current job</string>
<string name="notif_channel_job_progress_desc" comment="Notification channel description">Used to show the progress of the current job</string>
<string name="notif_channel_job_progress_name">Job progress</string>
<string name="notif_channel_job_result_name">Job outcome</string>
<string name="notif_channel_job_result_desc">Used to show a completed job outcome</string>
<string name="notif_starting_job">Starting job...</string>
<string name="starting_job">Starting job...</string>
<string name="resuming_job">Resuming from checkpoint...</string>
<string name="notif_channel_job_result_desc" comment="Notification channel description">Used to show a completed job outcome</string>
<string name="notif_starting_job">Starting job…</string>
<string name="starting_job">Starting job…</string>
<string name="resuming_job">Resuming from checkpoint…</string>
<string name="done">Done!</string>
<string name="job_failed">Job failed.</string>
<string name="empty_string" translatable="false">%s</string>