Skip to content

Instantly share code, notes, and snippets.

@thaiall
Created August 6, 2017 02:04
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 thaiall/a2cc3ea288cf98bac57f559a862b1cad to your computer and use it in GitHub Desktop.
Save thaiall/a2cc3ea288cf98bac57f559a862b1cad to your computer and use it in GitHub Desktop.
Android Studio : imageinarticle
<RelativeLayout 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_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.thaiall.www.imageinarticle.MainActivity$PlaceholderFragment">
<ImageView
android:id="@+id/imageView"
android:layout_width="48dp"
android:layout_height="64dp"
app:srcCompat="@drawable/lp01" />
<ScrollView android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView
android:id="@+id/section_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</ScrollView>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment