Added small triangle to the gravatar icon

This commit is contained in:
Severiano Jaramillo 2017-12-18 21:42:01 -06:00
parent 812489c4ce
commit cd241598d9
2 changed files with 40 additions and 11 deletions

View file

@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FFF"
android:pathData="M14,20l10,0, 10,-20z"/>
</vector>

View file

@ -44,19 +44,39 @@
app:layout_collapseMode="none"
app:popupTheme="@style/AppTheme.PopupOverlay">
<ImageView
android:layout_width="150dp"
android:layout_height="match_parent"
android:src="@drawable/crystal_logo"/>
<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginStart="16dp"
android:adjustViewBounds="true"
android:src="@drawable/crystal_logo"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<cy.agorise.crystalwallet.util.CircularImageView
android:id="@+id/toolbar_user_img"
android:layout_width="?attr/actionBarSize"
android:layout_height="?attr/actionBarSize"
android:layout_marginEnd="32dp"
android:src="@drawable/ken_code_gravatar"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
app:srcCompat="@drawable/ic_arrow_24dp"
app:layout_constraintEnd_toEndOf="@id/toolbar_user_img"
app:layout_constraintBottom_toBottomOf="@id/toolbar_user_img"/>
</android.support.constraint.ConstraintLayout>
<cy.agorise.crystalwallet.util.CircularImageView
android:id="@+id/toolbar_user_img"
android:layout_width="?attr/actionBarSize"
android:layout_height="?attr/actionBarSize"
android:layout_gravity="end"
android:layout_marginEnd="40dp"
android:src="@drawable/ken_code_gravatar" />
</android.support.v7.widget.Toolbar>