increase corner radius for profile pics

This commit is contained in:
Daniel Gultsch 2023-02-05 11:13:59 +01:00
parent 84fa529256
commit bcfc70d2c0
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2
11 changed files with 15 additions and 12 deletions

View file

@ -16,7 +16,7 @@
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:contentDescription="@string/account_image_description"
app:riv_corner_radius="2dp" />
app:riv_corner_radius="6dp" />
<LinearLayout
android:layout_width="fill_parent"

View file

@ -36,11 +36,12 @@
android:layout_height="wrap_content"
android:padding="@dimen/card_padding_regular">
<QuickContactBadge
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/details_contact_badge"
android:layout_width="@dimen/avatar_on_details_screen_size"
android:layout_height="@dimen/avatar_on_details_screen_size"
android:layout_alignParentTop="true"
app:riv_corner_radius="8dp"
android:scaleType="centerCrop" />
<LinearLayout

View file

@ -45,7 +45,7 @@
android:layout_alignParentTop="true"
android:layout_marginRight="@dimen/avatar_item_distance"
android:contentDescription="@string/account_image_description"
app:riv_corner_radius="2dp"/>
app:riv_corner_radius="8dp"/>
<LinearLayout
android:layout_width="fill_parent"

View file

@ -47,7 +47,7 @@
android:layout_width="@dimen/avatar_on_details_screen_size"
android:layout_height="@dimen/avatar_on_details_screen_size"
android:layout_alignParentStart="true"
app:riv_corner_radius="2dp"
app:riv_corner_radius="8dp"
android:layout_marginEnd="@dimen/avatar_item_distance"
android:layout_alignParentLeft="true"
android:layout_marginRight="@dimen/avatar_item_distance" />

View file

@ -14,7 +14,7 @@
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop"
app:riv_corner_radius="2dp"/>
app:riv_corner_radius="6dp"/>
<LinearLayout
android:layout_width="wrap_content"

View file

@ -25,7 +25,7 @@
android:layout_height="56dp"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop"
app:riv_corner_radius="2dp" />
app:riv_corner_radius="8dp" />
<RelativeLayout
android:layout_width="fill_parent"

View file

@ -16,7 +16,7 @@
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:scaleType="fitXY"
app:riv_corner_radius="2dp" />
app:riv_corner_radius="6dp" />
<LinearLayout
android:id="@+id/message_box"

View file

@ -24,7 +24,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:scaleType="fitXY"
app:riv_corner_radius="2dp" />
app:riv_corner_radius="6dp" />
<View
android:id="@+id/placeholder"

View file

@ -28,7 +28,7 @@
android:layout_marginRight="-1.5dp"
android:padding="0dp"
android:scaleType="fitXY"
app:riv_corner_radius="1dp"/>
app:riv_corner_radius="4dp"/>
<TextView
android:id="@+id/status_message"

View file

@ -15,7 +15,7 @@
android:layout_height="48dp"
android:layout_alignParentLeft="true"
android:scaleType="centerCrop"
app:riv_corner_radius="2dp" />
app:riv_corner_radius="6dp" />
<RelativeLayout
android:layout_width="wrap_content"

View file

@ -1,15 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<eu.siacs.conversations.ui.widget.SquareFrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="2dp"
android:background="?selectableItemBackground">
<ImageView
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/avatar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black54"
app:riv_corner_radius="6dp"
android:scaleType="centerInside"/>
</eu.siacs.conversations.ui.widget.SquareFrameLayout>
</layout>