summaryrefslogtreecommitdiffstats
path: root/res/layout/preview_frame_video.xml
diff options
context:
space:
mode:
authorChih-yu Huang <akahuang@google.com>2011-08-30 17:28:52 +0800
committerChih-yu Huang <akahuang@google.com>2011-09-02 10:09:40 +0800
commitea136afa2f4d38428ad486df5fb0a24db8314a3d (patch)
tree74d6e8aa7db6ad2db3d0e03274ce8eda31e17b99 /res/layout/preview_frame_video.xml
parenta130350e7481d07b42fbce522196b3350be3be0f (diff)
downloadLegacyCamera-ea136afa2f4d38428ad486df5fb0a24db8314a3d.zip
LegacyCamera-ea136afa2f4d38428ad486df5fb0a24db8314a3d.tar.gz
LegacyCamera-ea136afa2f4d38428ad486df5fb0a24db8314a3d.tar.bz2
Move review control out of preview.
bug:5141555 Change-Id: I04e4ca0d0e1a40ccfe39e5276fda66ffd02ae1b5
Diffstat (limited to 'res/layout/preview_frame_video.xml')
-rw-r--r--res/layout/preview_frame_video.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/res/layout/preview_frame_video.xml b/res/layout/preview_frame_video.xml
index abfd026..baabe0a 100644
--- a/res/layout/preview_frame_video.xml
+++ b/res/layout/preview_frame_video.xml
@@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+
<com.android.camera.PreviewFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/frame_layout"
android:layout_width="match_parent"
@@ -43,12 +44,18 @@
android:layout_marginBottom="13dp"
android:layout_marginLeft="17dp"
android:paddingRight="2dp"
- android:visibility="gone" />
+ android:visibility="gone"/>
+ <ImageButton android:id="@+id/btn_play"
+ style="@style/ReviewControlIcon"
+ android:layout_centerInParent="true"
+ android:src="@drawable/btn_ic_review_play"
+ android:visibility="gone"
+ android:onClick="onPlayButtonClicked"/>
<ImageView android:id="@+id/review_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"
- android:background="@android:color/black" />
- <include layout="@layout/indicator_bar" />
+ android:background="@android:color/black"/>
+ <include layout="@layout/indicator_bar"/>
</RelativeLayout>
</com.android.camera.PreviewFrameLayout>