Skip to content

Instantly share code, notes, and snippets.

@punit9l
Created August 31, 2018 11:08
Show Gist options
  • Save punit9l/df280a4e1703c4cbbcb540b5aa8e2292 to your computer and use it in GitHub Desktop.
Save punit9l/df280a4e1703c4cbbcb540b5aa8e2292 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_margin="32dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/imageView"
android:layout_width="60dp"
android:layout_height="60dp"
android:elevation="1dp"
android:layout_marginLeft="@dimen/fab_margin"
app:srcCompat="@drawable/quotes" />
<TextView
android:id="@+id/textView2"
android:elevation="0dp"
android:layout_marginTop="-30dp"
android:padding="32dp"
android:textSize="20sp"
android:background="@drawable/rounded"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/dummy_text" />
<ImageView
android:id="@+id/imageButton"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:layout_marginTop="20dp"
android:adjustViewBounds="false"
android:cropToPadding="false"
app:srcCompat="@drawable/cross_copy" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment