diff options
author | Chih-yu Huang <akahuang@google.com> | 2011-11-11 19:41:34 +0800 |
---|---|---|
committer | Chih-yu Huang <akahuang@google.com> | 2011-11-11 22:15:28 +0800 |
commit | 204224ce0423e4a6a29fa015128131c71b9bb9d8 (patch) | |
tree | d49fbd81e6483d5b588fb5fdd52598c241f09766 /res/layout-sw600dp | |
parent | bba9566c7d74e80a53548853114a7512fb3d416f (diff) | |
download | LegacyCamera-204224ce0423e4a6a29fa015128131c71b9bb9d8.zip LegacyCamera-204224ce0423e4a6a29fa015128131c71b9bb9d8.tar.gz LegacyCamera-204224ce0423e4a6a29fa015128131c71b9bb9d8.tar.bz2 |
Add indicators of settings on the viewfinder.
Add exposure, flash, scene, white balance, and focus indicators.
bug:5039279
Change-Id: I7ef87ee35855030dbc8fdc2d4c52fa5d8b6549ba
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r-- | res/layout-sw600dp/priority_indicators.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/res/layout-sw600dp/priority_indicators.xml b/res/layout-sw600dp/priority_indicators.xml new file mode 100644 index 0000000..77067b0 --- /dev/null +++ b/res/layout-sw600dp/priority_indicators.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 The Android Open Source 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. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:padding="8dp"> + <ImageView android:id="@+id/onscreen_flash_indicator" + style="@style/OnScreenIndicator" + android:visibility="visible"/> + <ImageView android:id="@+id/onscreen_white_balance_indicator" + style="@style/OnScreenIndicator"/> + <TextView android:id="@+id/onscreen_exposure_indicator" + style="@style/OnScreenIndicator" + android:gravity="center_vertical" + android:textSize="15dp" + android:textColor="@android:color/white"/> + <ImageView android:id="@+id/onscreen_scene_indicator" + style="@style/OnScreenIndicator" + android:src="@drawable/ic_indicators_scn"/> + <ImageView android:id="@+id/onscreen_gps_indicator" + style="@style/OnScreenIndicator"/> + <ImageView android:id="@+id/onscreen_focus_indicator" + style="@style/OnScreenIndicator"/> +</LinearLayout> |