diff options
Diffstat (limited to 'app/src/main/res/layout/fragment_main.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_main.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_main.xml b/app/src/main/res/layout/fragment_main.xml new file mode 100644 index 0000000..8958013 --- /dev/null +++ b/app/src/main/res/layout/fragment_main.xml @@ -0,0 +1,36 @@ +<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" android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingBottom="@dimen/activity_vertical_margin" + tools:context=".MainActivity$PlaceholderFragment"> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="New Button" + android:id="@+id/button" + android:layout_alignParentBottom="true" + android:layout_alignParentEnd="true" + android:layout_alignParentStart="true" /> + + <ProgressBar + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/progressBar" + android:layout_centerVertical="true" + android:layout_centerHorizontal="true" + android:visibility="gone" /> + + <ListView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/listView" + android:layout_toStartOf="@+id/progressBar" + android:layout_alignParentTop="true" + android:layout_alignParentStart="true" + android:layout_above="@+id/button" + android:layout_alignParentEnd="true" /> + +</RelativeLayout> |