| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <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:visibility="gone"
- style="?android:attr/progressBarStyleHorizontal"/>
- <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>
|