summaryrefslogtreecommitdiff
path: root/GymLog/src/main/res/layout/fragment_simple_counter.xml
diff options
context:
space:
mode:
authormikem <mikem@oliodevices.com>2014-03-30 18:24:58 -0600
committermikem <mikem@oliodevices.com>2014-03-30 18:24:58 -0600
commit99bb04032209271f0ed416bb42ea5ab09de23eb8 (patch)
tree178db047ffd8194998ed81c7cf336ac9fa9ffcbd /GymLog/src/main/res/layout/fragment_simple_counter.xml
downloadGymLog-99bb04032209271f0ed416bb42ea5ab09de23eb8.tar.xz
GymLog-99bb04032209271f0ed416bb42ea5ab09de23eb8.zip
Initial commit. Double tap to increment weight, long press to decrement, fling up/down in increment/decrement reps, swipe left/right to navigate through exercises.
Currently uses a hard-coded list of exercises that vary depending on the day of the week.
Diffstat (limited to 'GymLog/src/main/res/layout/fragment_simple_counter.xml')
-rw-r--r--GymLog/src/main/res/layout/fragment_simple_counter.xml34
1 files changed, 34 insertions, 0 deletions
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