Skip to content

Commit

Permalink
Use mirrored drawables in RTL layouts
Browse files Browse the repository at this point in the history
See #279
  • Loading branch information
naveensingh committed Feb 2, 2025
1 parent ddc0e8a commit aca6e44
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/src/main/res/drawable-ldrtl/item_received_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<corners
android:bottomLeftRadius="@dimen/big_margin"
android:bottomRightRadius="@dimen/small_margin"
android:topLeftRadius="@dimen/big_margin"
android:topRightRadius="@dimen/big_margin" />

<solid android:color="@color/activated_item_foreground" />

</shape>
13 changes: 13 additions & 0 deletions app/src/main/res/drawable-ldrtl/item_sent_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<corners
android:bottomLeftRadius="@dimen/small_margin"
android:bottomRightRadius="@dimen/big_margin"
android:topLeftRadius="@dimen/big_margin"
android:topRightRadius="@dimen/big_margin" />

<solid android:color="@color/color_primary" />

</shape>

0 comments on commit aca6e44

Please sign in to comment.