Created
August 6, 2017 15:33
-
-
Save gavilanch/e6fe3a2a72c75a13d19b3b228dbdf8b6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// En NewsListRow.axml | |
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<TextView | |
android:text="Small Text" | |
android:textAppearance="?android:attr/textAppearanceSmall" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_toLeftOf="@id/newsImage" | |
android:layout_alignParentLeft="true" | |
android:textStyle="bold" | |
android:layout_marginLeft="5dp" | |
android:layout_marginTop="5dp" | |
android:id="@+id/newsTitle" /> | |
<ImageView | |
android:src="@android:drawable/ic_menu_gallery" | |
android:layout_width="100dp" | |
android:layout_height="100dp" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentTop="true" | |
android:layout_marginLeft="15dp" | |
android:layout_marginRight="15dp" | |
android:id="@+id/newsImage" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment