mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 04:39:54 +01:00
Make identicons round
This commit renames identicons to avatars in field names, and uses an ImageView derivative to show the identicons, which should make implementing #214 easier.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<im.delight.android.identicons.SymmetricIdenticon
|
||||
android:id="@+id/identiconView"
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:id="@+id/avatarView"
|
||||
android:layout_width="@dimen/listitem_picture_size"
|
||||
android:layout_height="@dimen/listitem_picture_size"
|
||||
android:layout_centerVertical="true"
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<im.delight.android.identicons.SymmetricIdenticon
|
||||
android:id="@+id/identiconView"
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:id="@+id/avatarView"
|
||||
android:layout_width="@dimen/dropdown_picture_size"
|
||||
android:layout_height="@dimen/dropdown_picture_size"/>
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
android:layout_height="@dimen/listitem_height_one_line_avatar"
|
||||
android:background="?attr/selectableItemBackground">
|
||||
|
||||
<im.delight.android.identicons.SymmetricIdenticon
|
||||
android:id="@+id/identiconView"
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:id="@+id/avatarView"
|
||||
android:layout_width="@dimen/listitem_picture_size"
|
||||
android:layout_height="@dimen/listitem_picture_size"
|
||||
android:layout_alignParentLeft="true"
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
android:paddingTop="@dimen/margin_small"
|
||||
android:paddingBottom="@dimen/margin_small">
|
||||
|
||||
<im.delight.android.identicons.SymmetricIdenticon
|
||||
android:id="@+id/msgIdenticon"
|
||||
<de.hdodenhof.circleimageview.CircleImageView
|
||||
android:id="@+id/msgAvatar"
|
||||
android:layout_width="@dimen/listitem_picture_size"
|
||||
android:layout_height="@dimen/listitem_picture_size"
|
||||
android:layout_marginLeft="@dimen/listitem_horizontal_margin"
|
||||
|
||||
Reference in New Issue
Block a user