Skip to content

Instantly share code, notes, and snippets.

@azec-pdx
Created December 23, 2014 19:46
Show Gist options
  • Select an option

  • Save azec-pdx/97791aa31c90aa32918a to your computer and use it in GitHub Desktop.

Select an option

Save azec-pdx/97791aa31c90aa32918a to your computer and use it in GitHub Desktop.
Layout Handler primjer
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminate="false"
android:max="100"
android:progress="0"
android:padding="4dip" >
</ProgressBar>
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="" >
</TextView>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="startProgress"
android:text="Start Progress" >
</Button>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment