Created
June 18, 2022 16:51
-
-
Save siscofran999/96364cdb8626f3322012f03e6b6f4e94 to your computer and use it in GitHub Desktop.
view pada tutorial medium
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" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@color/black" | |
tools:context=".MainActivity"> | |
<androidx.appcompat.widget.AppCompatImageView | |
android:id="@+id/img" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:srcCompat="@drawable/park_min_young" | |
android:visibility="invisible" | |
android:scaleType="centerCrop"/> | |
<ProgressBar | |
android:id="@+id/progress" | |
android:layout_width="100dp" | |
android:layout_height="100dp" | |
android:rotation="-90" | |
android:progress="10" | |
android:progressDrawable="@drawable/bg_color_gradient_progress_bar" | |
android:indeterminateOnly="false" | |
android:layout_centerInParent="true" /> | |
<TextView | |
android:id="@+id/txvProgress" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
tools:text="1%" | |
android:textSize="20sp" | |
android:textColor="@color/white" | |
android:layout_centerInParent="true"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment