mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
This commit renames identicons to avatars in field names, and uses an ImageView derivative to show the identicons, which should make implementing #214 easier.
25 lines
866 B
XML
25 lines
866 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical">
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
android:id="@+id/avatarView"
|
|
android:layout_width="@dimen/dropdown_picture_size"
|
|
android:layout_height="@dimen/dropdown_picture_size"/>
|
|
|
|
<TextView
|
|
android:id="@+id/nameView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/margin_medium"
|
|
android:layout_marginStart="@dimen/margin_medium"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textSize="@dimen/text_size_medium"
|
|
tools:text="This is a name of an author. It can be quite long."/>
|
|
|
|
</LinearLayout> |