Skip to content

Instantly share code, notes, and snippets.

@Maharony
Created February 26, 2018 18:44
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 Maharony/72b42e9acb94213752763cbdadb837db to your computer and use it in GitHub Desktop.
Save Maharony/72b42e9acb94213752763cbdadb837db to your computer and use it in GitHub Desktop.
Story board Android App
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_margin="16dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.ekene.imageboardcloudinary.MainActivity">
<ProgressBar
android:id="@+id/progress_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="invisible"
android:layout_gravity="center"
android:layout_marginBottom="20dp"/>
<Button
android:id="@+id/uploadBtn"
android:layout_margin="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Upload Video"/>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_marginTop="50dp"
android:layout_marginBottom="50dp"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/img1"
android:layout_gravity="start"
android:layout_width="200dp"
android:layout_height="150dp"
android:layout_margin="10dp"/>
<ImageView
android:id="@+id/img2"
android:layout_width="200dp"
android:layout_gravity="center_horizontal"
android:layout_height="150dp"
android:layout_margin="10dp"/>
<ImageView
android:id="@+id/img3"
android:layout_width="200dp"
android:layout_gravity="end"
android:layout_height="150dp"
android:layout_marginBottom="50dp"/>
</LinearLayout>
</ScrollView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment