Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.