diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/photo_module.xml | 4 | ||||
-rw-r--r-- | res/layout/video_module.xml | 4 | ||||
-rw-r--r-- | res/raw/material_camera_focus.ogg | bin | 0 -> 19122 bytes | |||
-rw-r--r-- | res/values/colors.xml | 1 | ||||
-rw-r--r-- | res/values/dimens.xml | 4 |
5 files changed, 13 insertions, 0 deletions
diff --git a/res/layout/photo_module.xml b/res/layout/photo_module.xml index 178359296..a516f0034 100644 --- a/res/layout/photo_module.xml +++ b/res/layout/photo_module.xml @@ -57,6 +57,10 @@ android:layout_marginTop="15dip" android:layout_marginLeft="15dip" /> </RelativeLayout> + <com.android.camera.ui.focus.FocusRingView + android:id="@+id/focus_ring" + android:layout_width="match_parent" + android:layout_height="match_parent" /> <ImageView android:id="@+id/review_image" android:layout_width="match_parent" diff --git a/res/layout/video_module.xml b/res/layout/video_module.xml index 8fe42e178..520caaecd 100644 --- a/res/layout/video_module.xml +++ b/res/layout/video_module.xml @@ -70,6 +70,10 @@ android:id="@+id/labels" /> </LinearLayout> </com.android.camera.ui.RotateLayout> + <com.android.camera.ui.focus.FocusRingView + android:id="@+id/focus_ring" + android:layout_width="match_parent" + android:layout_height="match_parent" /> <ImageView android:id="@+id/review_image" android:layout_height="match_parent" android:layout_width="match_parent" diff --git a/res/raw/material_camera_focus.ogg b/res/raw/material_camera_focus.ogg Binary files differnew file mode 100644 index 000000000..555d7f444 --- /dev/null +++ b/res/raw/material_camera_focus.ogg diff --git a/res/values/colors.xml b/res/values/colors.xml index 633778a3a..96c19252d 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -68,6 +68,7 @@ <color name="face_detect_start">@color/white</color> <color name="face_detect_success">@color/green</color> <color name="face_detect_fail">@color/red</color> + <color name="focus_color">#ffffffff</color> <color name="gray">@color/grey</color> <color name="setting_color">@color/black</color> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 38ff43ec5..d0c263ef3 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -97,6 +97,10 @@ <dimen name="toggle_size">30dp</dimen> <dimen name="toggle_outer_size">60dp</dimen> <dimen name="face_circle_stroke">2dip</dimen> + <dimen name="focus_circle_stroke">1.25dp</dimen> + <dimen name="focus_circle_min_size">24dp</dimen> + <dimen name="focus_circle_max_size">96dp</dimen> + <dimen name="focus_circle_initial_size">48dp</dimen> <dimen name="zoom_font_size">14pt</dimen> <dimen name="shutter_offset">11dp</dimen> <dimen name="shutter_offset_top">2dp</dimen> |