Improve link preview cards (#1330)
* improve card frame * add placeholder for empty image * improve layout, Pleroma compatibility, show author name as description fallback * reset okhttp logging level * remove unneeded statementmain
parent
5efc0c68af
commit
c746ed0833
@ -0,0 +1,5 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<corners android:radius="6dp" /> |
||||
<stroke android:color="?attr/card_background_color" android:width="1dp" /> |
||||
</shape> |
@ -1,6 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<corners android:radius="5dp" /> |
||||
<stroke android:color="@color/text_color_tertiary_dark" android:width="1px" /> |
||||
<padding android:bottom="1px" android:top="1px" android:left="1px" android:right="1px"/> |
||||
</shape> |
@ -1,6 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<corners android:radius="5dp" /> |
||||
<stroke android:color="@color/text_color_tertiary_light" android:width="1px" /> |
||||
<padding android:bottom="1px" android:top="1px" android:left="1px" android:right="1px"/> |
||||
</shape> |
@ -0,0 +1,10 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:width="48dp" |
||||
android:height="48dp" |
||||
android:viewportWidth="24" |
||||
android:viewportHeight="24"> |
||||
<path |
||||
android:fillColor="?android:attr/textColorTertiary" |
||||
android:pathData="M6,2A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6M6,4H13V9H18V20H6V4M8,12V14H16V12H8M8,16V18H13V16H8Z" /> |
||||
</vector> |
Loading…
Reference in new issue