diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2018-12-03 13:14:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 13:14:32 +0100 |
commit | f682a3b56c3d7f4ddd141ce314c0ecafd9b0d7ee (patch) | |
tree | 1e710a5ef5845f6127f6528ace75d3ade253692c /app/src/main/res/layout/nav_listitem.xml | |
parent | 3ca230ce604e312e7705fdb8f64e637438524c86 (diff) | |
parent | b9babd9fd17f48f5a2c314985d49f72a7af1eef3 (diff) | |
download | AntennaPod-f682a3b56c3d7f4ddd141ce314c0ecafd9b0d7ee.zip |
Merge pull request #2915 from ahangarha/RTL-enhancement
Improve RTL support
Diffstat (limited to 'app/src/main/res/layout/nav_listitem.xml')
-rw-r--r-- | app/src/main/res/layout/nav_listitem.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/layout/nav_listitem.xml b/app/src/main/res/layout/nav_listitem.xml index d62672c34..c140533e6 100644 --- a/app/src/main/res/layout/nav_listitem.xml +++ b/app/src/main/res/layout/nav_listitem.xml @@ -13,12 +13,14 @@ android:layout_width="@dimen/thumbnail_length_navlist" android:layout_height="@dimen/thumbnail_length_navlist" android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" android:layout_centerVertical="true" android:adjustViewBounds="true" android:cropToPadding="true" android:scaleType="centerInside" android:padding="4dp" android:layout_marginLeft="@dimen/listitem_icon_leftpadding" + android:layout_marginStart="@dimen/listitem_icon_leftpadding" android:layout_marginTop="4dp" android:layout_marginBottom="4dp" tools:src="@drawable/ic_new_releases_white_24dp" @@ -36,8 +38,11 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/listitem_iconwithtext_textleftpadding" + android:layout_marginStart="@dimen/listitem_iconwithtext_textleftpadding" android:layout_marginRight="48dp" + android:layout_marginEnd="48dp" android:layout_toRightOf="@id/imgvCover" + android:layout_toEndOf="@id/imgvCover" tools:text="Navigation item title" tools:background="@android:color/holo_green_dark" /> @@ -50,8 +55,11 @@ android:textColor="?android:attr/textColorTertiary" android:textSize="@dimen/text_size_navdrawer" android:layout_marginLeft="12dp" + android:layout_marginStart="12dp" android:layout_marginRight="@dimen/listitem_icon_rightpadding" + android:layout_marginEnd="@dimen/listitem_icon_rightpadding" android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" android:layout_centerVertical="true" tools:text="23" tools:background="@android:color/holo_green_dark"/> |