Created
June 26, 2018 09:22
-
-
Save fdundjer/352102b9ee9da95caeb583692782c8f1 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"?> | |
<RelativeLayout 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" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<Button | |
android:id="@+id/changeTintColorButton" | |
android:layout_height="wrap_content" | |
android:layout_width="match_parent" | |
android:textStyle="bold" | |
android:textSize="20dp" | |
android:layout_marginLeft="20dip" | |
android:layout_marginTop="5dip" | |
android:layout_marginRight="20dip" | |
android:layout_marginBottom="5dip" | |
android:text="Change tint color" | |
app:MvxBind="Click ChangeTintColorCommand" /> | |
<ImageView | |
android:layout_below="@id/changeTintColorButton" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:src="@drawable/logo" | |
android:scaleType="fitCenter" | |
app:MvxBind="TintColor NativeColor(ImageTintColor)" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment