mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
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:
commit
974c2d9f04
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user