Merge pull request #1353 from kiwix/abdulwd/issue1352

Fix #1352 Download button is fixed to right even for RTL scripts
This commit is contained in:
Seán Mac Gillicuddy 2019-08-12 11:48:42 +01:00 committed by GitHub
commit 974c2d9f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,7 @@
app:layout_constraintTop_toTopOf="parent"
/>
<!-- constraintRight_toRightOf is used as android:layoutDirection is supported from API 17 -->
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/content_main_card_download_button"
android:layout_width="wrap_content"
@ -44,7 +45,7 @@
android:textColor="@android:color/white"
app:backgroundTint="#1565c0"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintRight_toRightOf="parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>