Skip to content

Instantly share code, notes, and snippets.

@Velmm
Created December 27, 2017 04:54
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 Velmm/95b1d47ab00b588d70add0dbfa4f6449 to your computer and use it in GitHub Desktop.
Save Velmm/95b1d47ab00b588d70add0dbfa4f6449 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:padding="5dp">
<ImageView
android:id="@+id/shopImage"
android:layout_width="200dp"
android:layout_height="100dp"
android:layout_weight="1" />
<TextView
android:id="@+id/shopName"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingTop="10dp"
android:textStyle="bold"
android:textColor="@android:color/black"
android:layout_weight="1" />
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment