| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <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="${relativePackage}.${activityClass}" >
- <ImageView
- android:id="@+id/imageView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_alignParentRight="true"
- android:layout_marginTop="20dp"
- android:contentDescription="@string/grumpyCat" />
-
- <ProgressBar
- android:id="@+id/loadingView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_marginTop="20dp"
- android:indeterminate="true"
- android:visibility="gone"
- style="?android:attr/progressBarStyleLarge"/>
- <Button
- android:id="@+id/loadImage"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:text="@string/load" />
- <Button
- android:id="@+id/sayhello"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_toRightOf="@+id/loadImage"
- android:text="@string/sayhello" />
- </RelativeLayout>
|