diff options
Diffstat (limited to 'GymLog/src/main/res/layout')
| -rw-r--r-- | GymLog/src/main/res/layout/activity_main.xml | 8 | ||||
| -rw-r--r-- | GymLog/src/main/res/layout/fragment_activity.xml | 31 | ||||
| -rw-r--r-- | GymLog/src/main/res/layout/fragment_simple_counter.xml | 34 |
3 files changed, 73 insertions, 0 deletions
diff --git a/GymLog/src/main/res/layout/activity_main.xml b/GymLog/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..e5bad81 --- /dev/null +++ b/GymLog/src/main/res/layout/activity_main.xml @@ -0,0 +1,8 @@ +<android.support.v4.view.ViewPager + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/viewPager" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:background="@android:color/black" + />
\ No newline at end of file diff --git a/GymLog/src/main/res/layout/fragment_activity.xml b/GymLog/src/main/res/layout/fragment_activity.xml new file mode 100644 index 0000000..5ae1af5 --- /dev/null +++ b/GymLog/src/main/res/layout/fragment_activity.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:gravity="center_horizontal" + android:background="@android:color/black" > + + <Button + android:id="@+id/summary" + android:layout_above="@+id/name" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_centerHorizontal="false" + android:gravity="center_vertical" + android:textSize="40dp" + android:text="0" + android:textColor="@android:color/holo_blue_dark" + android:background="@android:color/black" /> + <TextView + android:id="@+id/name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true" + android:gravity="center_horizontal" + android:textSize="30dp" + android:text="Activity Name" + android:textColor="@android:color/holo_blue_dark" /> +</RelativeLayout>
\ No newline at end of file diff --git a/GymLog/src/main/res/layout/fragment_simple_counter.xml b/GymLog/src/main/res/layout/fragment_simple_counter.xml new file mode 100644 index 0000000..327677a --- /dev/null +++ b/GymLog/src/main/res/layout/fragment_simple_counter.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:gravity="center_horizontal" + android:background="@android:color/black" > + + + <Button + android:id="@+id/count" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_centerHorizontal="true" + android:layout_centerVertical="true" + android:textSize="166dp" + android:text="0" + android:textColor="@android:color/holo_blue_dark" + android:background="@android:color/black" /> + <View + android:layout_width="match_parent" + android:layout_height="10dp"/> + <TextView + android:id="@+id/show" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true" + android:gravity="center_horizontal" + android:textSize="26dp" + android:text="Show Name" + android:textColor="@android:color/holo_blue_dark" /> +</RelativeLayout>
\ No newline at end of file |