diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/preview_frame_video.xml | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/res/layout/preview_frame_video.xml b/res/layout/preview_frame_video.xml index 92849df..f80ffe3 100644 --- a/res/layout/preview_frame_video.xml +++ b/res/layout/preview_frame_video.xml @@ -27,20 +27,26 @@ <SurfaceView android:id="@+id/camera_preview" android:layout_width="match_parent" android:layout_height="match_parent"/> - <!-- Note: In this TextView the paddingRight="2" - attribute is required because otherwise the - text's drop shadow will be clipped. --> - <TextView android:id="@+id/recording_time" - style="@style/RecordingTime" - android:drawablePadding="8dp" - android:drawableLeft="@drawable/ic_recording_indicator" - android:layout_width="300dp" + <com.android.camera.ui.RotateLayout android:id="@+id/recording_time_rect" + android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="left|bottom" - android:layout_marginBottom="13dp" + android:layout_marginTop="13dp" android:layout_marginLeft="17dp" - android:paddingRight="2dp" - android:visibility="gone"/> + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true"> + + <!-- Note: In this TextView the paddingRight="2" + attribute is required because otherwise the + text's drop shadow will be clipped. --> + <TextView android:id="@+id/recording_time" + style="@style/RecordingTime" + android:drawablePadding="8dp" + android:drawableLeft="@drawable/ic_recording_indicator" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingRight="2dp" + android:visibility="gone"/> + </com.android.camera.ui.RotateLayout> <ImageView android:id="@+id/review_image" android:layout_width="match_parent" android:layout_height="match_parent" |