-
-
Save ajamaica/4319649 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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
> | |
<LinearLayout android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:gravity="top" | |
> | |
<LinearLayout android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:layout_weight=".5" | |
android:layout_marginTop="5dip" | |
android:layout_marginBottom="5dip" | |
> | |
<ImageView | |
android:id="@+id/image" | |
android:layout_width="100dip" | |
android:layout_height="50dip" | |
android:layout_marginLeft="5dp" | |
android:layout_marginTop="5dip" | |
android:adjustViewBounds="true" | |
android:scaleType="centerCrop" /> | |
<LinearLayout android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:layout_weight="1" | |
android:layout_marginTop="0dip" | |
android:layout_marginBottom="5dip" | |
> | |
<TextView android:text="Local" | |
android:id="@+id/txtTitle" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center_vertical" | |
android:layout_alignParentTop="true" | |
android:layout_alignParentBottom="true" | |
android:textSize="16dp" | |
android:textStyle="bold" | |
android:textColor="#275178" | |
android:layout_marginTop="0dp" | |
android:layout_marginLeft="5dp" /> | |
<TextView android:text="Local" | |
android:id="@+id/description" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textSize="12dp" | |
android:layout_marginTop="5dp" | |
android:layout_marginLeft="5dp" /> | |
</LinearLayout> | |
</LinearLayout> | |
<LinearLayout android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:layout_weight="1.6" | |
android:layout_marginTop="5dip" | |
android:layout_marginBottom="5dip" | |
> | |
<TextView android:text="01" | |
android:id="@+id/comments" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignParentTop="true" | |
android:textSize="9dp" | |
android:layout_marginTop="5dp" | |
android:gravity="right" | |
android:textStyle="bold" | |
android:layout_marginRight="12dp" | |
android:layout_marginBottom="5dp" | |
android:layout_marginLeft="5dp" /> | |
<TextView android:text="01" | |
android:id="@+id/numcomments" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignParentTop="true" | |
android:textSize="9dp" | |
android:gravity="right" | |
android:layout_marginTop="5dp" | |
android:layout_marginBottom="5dp" | |
android:layout_marginLeft="5dp" | |
android:layout_marginRight="10dp" /> | |
</LinearLayout> | |
</LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment