summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorNipun Kwatra <nkwatra@google.com>2010-08-18 20:51:06 -0700
committerNipun Kwatra <nkwatra@google.com>2010-08-27 18:07:08 -0700
commit678edf97c618e1699f4180815af3846380d5ee46 (patch)
tree61afe9a8004e678166d54cd266828e193ced9c65 /res/layout
parent4d6fa18dce3add8e0714e43348a19110285f2ee4 (diff)
downloadLegacyCamera-678edf97c618e1699f4180815af3846380d5ee46.zip
LegacyCamera-678edf97c618e1699f4180815af3846380d5ee46.tar.gz
LegacyCamera-678edf97c618e1699f4180815af3846380d5ee46.tar.bz2
Added live diplay of recorded video time for time lapse capture.
Since the length of time lapse video is different from the length of the actual wall clock time elapsed, we display the video length alongside the wall clock time. - Moved creating of hh/mm/ss string from milliseconds to millisecondToTimeString() function. - Added getTimeLapseVideoLengthString() which computes the video length from elapsed time, capture rate and frame rate. Change-Id: Ifea0a4f8376ad09f4a0a5a14aa3f96ac48fd27dd
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/video_camera.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/video_camera.xml b/res/layout/video_camera.xml
index ea4cf51..82d1dc9 100644
--- a/res/layout/video_camera.xml
+++ b/res/layout/video_camera.xml
@@ -41,7 +41,7 @@
attribute is required because otherwise the
text's drop shadow will be clipped. -->
<TextView android:id="@+id/recording_time"
- android:layout_width="180dp"
+ android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_gravity="left|bottom"
android:layout_marginBottom="13dp"