Last active
August 29, 2015 14:15
-
-
Save r0adkll/6e66744f6477aaf48375 to your computer and use it in GitHub Desktop.
stackoverflow_28632372
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
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" > | |
<android.support.v7.widget.Toolbar | |
android:id="@+id/appbar" | |
android:layout_height="wrap_content" | |
android:layout_width="match_parent" | |
android:minHeight="?attr/actionBarSize" | |
android:elevation="6dp" | |
.... | |
/> | |
<ImageView | |
android:id="@+id/notif_icon" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:elevation="6dp" | |
android:src="@drawable/....." | |
android:layout_marginLeft="..dp" | |
android:layout_marginTop="..dp" | |
/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Position the
notif_icon
with the layout_margin left and top values to get it into the position that you want above the hamburger icon