Panduan Praktis Pembuatan Aplikasi Android/ProgressBar

<ProgressBar
    android:id="@+id/progressBar"
    android:layout_width="[fill_parent|wrap_content]"
    android:layout_height="wrap_content"
   [android:layout_marginTop="10px"]
   [android:layout_marginBottom="10px"]
   [android:layout_marginLeft="10px"]
   [android:layout_marginRight="10px"]
   [android:layout_below="@+id/nama_widget"]
   [android:layout_above="@+id/nama_widget"]
   [android:layout_toRightOf="@+id/nama_widget"]
   [android:layout_toLeftOf="@+id/nama_widget"]
   [android:layout_gravity="top"]
   [android:layout_alignParentTop="true"]
   [android:layout_alignParentBottom="true"]
   [android:layout_alignParentRight="true"]
   [android:layout_alignParentLeft="true"]
   [android:layout_centerVertical="true"]
   [android:layout_margin="5dp"]
   [android:gravity="[left|center|right]"]
   [android:padding="5dp"]
   [android:max="100"]
   [style="?android:attr/progressBarStyleHorizontal"
   |style="?android:attr/progressBarStyleSmall"
   |style="?android:attr/progressBarStyle"
   |style="?android:attr/progressBarStyleLarge"] />

Pranala luar

sunting