Created
January 4, 2018 06:32
-
-
Save NaturalizerINA/e71714fd7a2271a0f3e13720fd1f8245 to your computer and use it in GitHub Desktop.
Adding xml file to adding the ImageView and ProgressBar component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="com.mukminullah.imagetransformer.MainActivity"> | |
<ProgressBar | |
android:id="@+id/pb" | |
android:layout_width="50dp" | |
android:layout_height="50dp" | |
android:layout_centerInParent="true"/> | |
<ImageView | |
android:id="@+id/img_load" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment