summaryrefslogtreecommitdiff
path: root/GymLog/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'GymLog/src/main/res')
-rw-r--r--GymLog/src/main/res/drawable-hdpi/ic_launcher.pngbin0 -> 1013 bytes
-rw-r--r--GymLog/src/main/res/drawable-mdpi/ic_launcher.pngbin0 -> 685 bytes
-rw-r--r--GymLog/src/main/res/drawable-xhdpi/ic_launcher.pngbin0 -> 1338 bytes
-rw-r--r--GymLog/src/main/res/drawable-xxhdpi/ic_launcher.pngbin0 -> 2007 bytes
-rw-r--r--GymLog/src/main/res/layout/activity_main.xml8
-rw-r--r--GymLog/src/main/res/layout/fragment_activity.xml31
-rw-r--r--GymLog/src/main/res/layout/fragment_simple_counter.xml34
-rw-r--r--GymLog/src/main/res/menu/main.xml10
-rw-r--r--GymLog/src/main/res/values-w820dp/dimens.xml6
-rw-r--r--GymLog/src/main/res/values/dimens.xml6
-rw-r--r--GymLog/src/main/res/values/strings.xml9
-rw-r--r--GymLog/src/main/res/values/styles.xml8
12 files changed, 112 insertions, 0 deletions
diff --git a/GymLog/src/main/res/drawable-hdpi/ic_launcher.png b/GymLog/src/main/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 0000000..7776dab
--- /dev/null
+++ b/GymLog/src/main/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/GymLog/src/main/res/drawable-mdpi/ic_launcher.png b/GymLog/src/main/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 0000000..688a96b
--- /dev/null
+++ b/GymLog/src/main/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/GymLog/src/main/res/drawable-xhdpi/ic_launcher.png b/GymLog/src/main/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..cb6451d
--- /dev/null
+++ b/GymLog/src/main/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/GymLog/src/main/res/drawable-xxhdpi/ic_launcher.png b/GymLog/src/main/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..cb0b645
--- /dev/null
+++ b/GymLog/src/main/res/drawable-xxhdpi/ic_launcher.png
Binary files differ
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
diff --git a/GymLog/src/main/res/menu/main.xml b/GymLog/src/main/res/menu/main.xml
new file mode 100644
index 0000000..e6ab32e
--- /dev/null
+++ b/GymLog/src/main/res/menu/main.xml
@@ -0,0 +1,10 @@
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:context="com.mikemiller.gymlog.MainActivity" >
+
+ <item android:id="@+id/action_settings"
+ android:title="@string/action_settings"
+ android:orderInCategory="100"
+ app:showAsAction="never" />
+</menu>
diff --git a/GymLog/src/main/res/values-w820dp/dimens.xml b/GymLog/src/main/res/values-w820dp/dimens.xml
new file mode 100644
index 0000000..63fc816
--- /dev/null
+++ b/GymLog/src/main/res/values-w820dp/dimens.xml
@@ -0,0 +1,6 @@
+<resources>
+ <!-- Example customization of dimensions originally defined in res/values/dimens.xml
+ (such as screen margins) for screens with more than 820dp of available width. This
+ would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). -->
+ <dimen name="activity_horizontal_margin">64dp</dimen>
+</resources>
diff --git a/GymLog/src/main/res/values/dimens.xml b/GymLog/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..a0171a7
--- /dev/null
+++ b/GymLog/src/main/res/values/dimens.xml
@@ -0,0 +1,6 @@
+<resources>
+ <!-- Default screen margins, per the Android Design guidelines. -->
+ <dimen name="activity_horizontal_margin">16dp</dimen>
+ <dimen name="activity_vertical_margin">16dp</dimen>
+
+ </resources>
diff --git a/GymLog/src/main/res/values/strings.xml b/GymLog/src/main/res/values/strings.xml
new file mode 100644
index 0000000..530eeb9
--- /dev/null
+++ b/GymLog/src/main/res/values/strings.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <string name="app_name">GymLog</string>
+ <string name="hello_world">Hello world!</string>
+ <string name="action_settings">Settings</string>
+ <string name="hello_blank_fragment">Hello blank fragment</string>
+
+</resources>
diff --git a/GymLog/src/main/res/values/styles.xml b/GymLog/src/main/res/values/styles.xml
new file mode 100644
index 0000000..766ab99
--- /dev/null
+++ b/GymLog/src/main/res/values/styles.xml
@@ -0,0 +1,8 @@
+<resources>
+
+ <!-- Base application theme. -->
+ <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+ <!-- Customize your theme here. -->
+ </style>
+
+</resources>