Skip to content

Instantly share code, notes, and snippets.

@oatpano
Last active March 24, 2017 20:47
Show Gist options
  • Save oatpano/733fa07b6e2c8157f515bbfa7b9b7b4a to your computer and use it in GitHub Desktop.
Save oatpano/733fa07b6e2c8157f515bbfa7b9b7b4a 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:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="horizontal"
tools:context="ibs.ctdm.testflashair.MainActivity">
<ImageView
android:id="@+id/ivThumbnail"
android:layout_width="@dimen/thumbnail_size"
android:layout_height="@dimen/thumbnail_size"
android:src="@android:drawable/sym_def_app_icon"
android:layout_marginRight="12dp"/>
<TextView
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Title"
android:layout_gravity="center_vertical"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment