Last active
August 29, 2015 14:07
-
-
Save ziedrebhi/8a7afe96c84c055e6ea6 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
<!-- | |
/* Tuto Custom GridView Android | |
* @author Zied Rebhi | |
* http://www.tutozone.info | |
*/ | |
--> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:padding="5dp" > | |
<ImageView | |
android:id="@+id/picture" | |
android:layout_width="match_parent" | |
android:layout_height="50dp" | |
android:layout_margin="1dp" | |
/> | |
<TextView | |
android:id="@+id/name" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:gravity="center" | |
android:layout_margin="1dp" | |
android:textColor="#040404" | |
android:textSize="15dip" | |
android:textStyle="bold" | |
android:text="name" /> | |
<TextView | |
android:id="@+id/price" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center" | |
android:layout_margin="1dp" | |
android:layout_marginBottom="2dp" | |
android:text="Small Text" | |
android:textColor="#ea5178" | |
android:textSize="10dip" | |
android:textStyle="bold" /> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment