Skip to content

Instantly share code, notes, and snippets.

@christiannwamba
Created February 28, 2018 18:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save christiannwamba/e18e0d3e972087e5e50522f79cd1cfa3 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:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.ekene.mp4togifconverter.MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Mp4 To GIF"
android:fontFamily="serif"
android:textSize="20sp"
android:layout_gravity="center"/>
<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:fontFamily="serif"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Upload and Convert"/>
<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="center"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_margin="10dp"/>
<Button
android:id="@+id/download_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Download"
android:layout_margin="16dp"/>
</LinearLayout>
</ScrollView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment