increase corner radius for profile pics
This commit is contained in:
parent
84fa529256
commit
bcfc70d2c0
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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" />
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue