Last active
January 21, 2019 15:22
-
-
Save MwBakker/e07ccddbdcdaf9fc7366678c9d7f694c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools"> | |
<data> | |
<variable | |
name="vm" | |
type="com.mwb.digitalstorage.viewmodel.ToolbarViewModel"/> | |
</data> | |
<androidx.constraintlayout.widget.ConstraintLayout | |
tools:context=".SuperActivity" | |
style="@style/match_parent"> | |
<androidx.appcompat.widget.Toolbar | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
app:layout_constraintHeight_percent="0.075" | |
app:layout_constraintWidth_percent="1" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintLeft_toLeftOf="parent" | |
android:theme="?attr/actionBarTheme"> | |
<ImageView | |
android:id="@+id/user_icon" | |
app:srcCompat="@mipmap/usericon" | |
android:layout_width="0dp" | |
android:layout_height="0dp" | |
app:layout_constraintWidth_percent="0.8" | |
app:layout_constraintHeight_percent="0.8" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="parent" | |
android:contentDescription="user icon" /> | |
</androidx.appcompat.widget.Toolbar> | |
</androidx.constraintlayout.widget.ConstraintLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment