diff options
Diffstat (limited to 'res/layout/recording_time.xml')
-rw-r--r-- | res/layout/recording_time.xml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/res/layout/recording_time.xml b/res/layout/recording_time.xml new file mode 100644 index 000000000..4a7adee9b --- /dev/null +++ b/res/layout/recording_time.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2016 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!-- This layout is shared by phone and tablet in landscape orientation. --> +<com.android.camera.ui.RecordingTime + xmlns:android="http://schemas.android.com/apk/res/android" + android:visibility="gone" + android:layout_gravity="left|top" + android:layout_marginTop="@dimen/preview_top_margin" + android:padding="16dp" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <LinearLayout + android:orientation="vertical" + android:layout_height="match_parent" + android:layout_width="match_parent"> + + <com.android.camera.ui.ReversibleLinearLayout + android:id="@+id/recording_time_container" + android:orientation="horizontal" + android:layout_height="wrap_content" + android:layout_width="wrap_content"> + + <com.android.camera.PauseButton android:id="@+id/video_pause" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:gravity="center" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:src="@drawable/btn_pause_recording"/> + + <TextView android:id="@+id/recording_time_text" + style="@style/OnViewfinderLabel" + android:gravity="center" + android:text="@string/initial_recording_seconds" + android:drawableLeft="@drawable/ic_recording_indicator" + android:drawablePadding="5dp"/> + + </com.android.camera.ui.ReversibleLinearLayout> + + <TextView android:id="@+id/time_lapse_label" + android:text="@string/time_lapse_title" + android:visibility="gone" + style="@style/OnViewfinderLabel"/> + + </LinearLayout> + +</com.android.camera.ui.RecordingTime> |