![ProgressBar: progressBarStyleHorizontal ProgressBar: progressBarStyleHorizontal](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmVEl98P0wpBZnMMZ2dTZy0z25KHntq3h1sRAPhiTXNtAzCt6czEMhHuPl7emdBA2ReUK3bSP7b6brDHiiUTwRfoKDBmXr2cCjWf2NgfUDrAj_HMpVyN-JtnEB88_sGpi7rn9SkHAHUrKU/s400/progressBarStyleHorizontal.png)
main.xml
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> <ProgressBar android:id="@+id/progressbar" android:layout_width="fill_parent" android:layout_height="wrap_content" style="?android:attr/progressBarStyleHorizontal" android:max="100" android:progress="50" /> </LinearLayout>
Related:
No comments:
Post a Comment