Skip to content

Instantly share code, notes, and snippets.

@juanmacuevas
Created November 21, 2013 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanmacuevas/7578502 to your computer and use it in GitHub Desktop.
Save juanmacuevas/7578502 to your computer and use it in GitHub Desktop.
Single/double list item
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="60dp"
android:orientation="horizontal" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp"
android:layout_weight="1"
android:background="#ff0" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp"
android:layout_weight="1"
android:background="#0ff" />
<!-- android:visibility="gone" -->
</LinearLayout>
@juanmacuevas
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment