diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d069f1618..0964d7849 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -29,13 +29,11 @@ jobs: with: api-level: ${{ matrix.api-level }} arch: x86_64 - script: bash instrumentation.sh + script: bash contrib/instrumentation.sh - name: create unit coverage run: ./gradlew jacocoTestDebugUnitTestReport jacocoTestCustomExampleDebugUnitTestReport - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: true + run: | + bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 64d5c1edd..a96d137cc 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -8,7 +8,8 @@ + android:roundIcon="@mipmap/ic_launcher_round" + android:supportsRtl="true"> = VERSION_CODES.JELLY_BEAN + ) != PackageManager.PERMISSION_GRANTED ) { context.toast(R.string.request_storage) requestPermissions( diff --git a/app/src/main/res/layout/activity_local_file_transfer.xml b/app/src/main/res/layout/activity_local_file_transfer.xml index a33eb1741..aaefafe4f 100644 --- a/app/src/main/res/layout/activity_local_file_transfer.xml +++ b/app/src/main/res/layout/activity_local_file_transfer.xml @@ -15,18 +15,17 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="15dp" - android:layout_marginLeft="15dp" android:background="@android:color/transparent" - android:paddingLeft="5dp" + android:paddingStart="5dp" android:paddingTop="5dp" - android:paddingRight="5dp" + android:paddingEnd="5dp" android:paddingBottom="1dp" android:text="@string/your_device" android:textSize="13sp" android:textStyle="italic" app:layout_constraintHorizontal_bias="0.0" - app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/app_bar" /> @@ -52,11 +50,11 @@ android:id="@+id/view_device_list_boundary" android:layout_width="match_parent" android:layout_height="2dp" - android:layout_marginLeft="5dp" - android:layout_marginRight="5dp" + android:layout_marginStart="5dp" + android:layout_marginEnd="5dp" android:background="@color/accent" - app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/text_view_device_name" /> @@ -92,8 +90,8 @@ android:background="@android:color/transparent" android:gravity="center" android:text="@string/no_devices_found" - app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/text_view_available_device" /> diff --git a/app/src/main/res/layout/activity_zim_host.xml b/app/src/main/res/layout/activity_zim_host.xml index f7e2da6bc..281d54d06 100644 --- a/app/src/main/res/layout/activity_zim_host.xml +++ b/app/src/main/res/layout/activity_zim_host.xml @@ -14,7 +14,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="16dp" - android:layout_marginLeft="16dp" android:layout_marginTop="16dp" android:text="@string/server_textview_default_message" app:layout_constraintStart_toStartOf="parent" @@ -28,8 +27,8 @@ android:layout_marginBottom="8dp" app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" app:layout_constraintBottom_toTopOf="@+id/startServerButton" - app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/serverTextView" />