Skip to content

Instantly share code, notes, and snippets.

@thaiall
Created August 10, 2017 08:42
Show Gist options
  • Save thaiall/41e86984b4cabe35392e29fc05107f60 to your computer and use it in GitHub Desktop.
Save thaiall/41e86984b4cabe35392e29fc05107f60 to your computer and use it in GitHub Desktop.
Android Studio : Layoutofnotification
<?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="match_parent"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:contentDescription="@string/data"
app:srcCompat="@drawable/thai1" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:contentDescription="@string/data"
app:srcCompat="@drawable/thai2" />
<ImageView
android:id="@+id/imageView3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:contentDescription="@string/data"
app:srcCompat="@drawable/thai3" />
<ImageView
android:id="@+id/imageView4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:contentDescription="@string/data"
app:srcCompat="@drawable/thai4" />
<ImageView
android:id="@+id/imageView5"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
android:contentDescription="@string/data"
app:srcCompat="@drawable/thai5" />
</LinearLayout>
</ScrollView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment