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 statement
This commit is contained in:
parent
e6d91c1cf3
commit
b825f42c7a
13 changed files with 69 additions and 31 deletions
5
app/src/main/res/drawable/card_frame.xml
Normal file
5
app/src/main/res/drawable/card_frame.xml
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue