Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c43e5b6b authored by Michael Kolb's avatar Michael Kolb
Browse files

Update capture animation

  Bug: 8253060

Update preview thumb margins and size
Add touch target for thumbnail

Change-Id: I2b298de330834c42a55b4cb082148d971727f530
parent 03e752e0
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -57,4 +57,12 @@
            android:focusable="true"
            android:scaleType="center"
            android:src="@drawable/btn_new_shutter" />

        <View
            android:id="@+id/preview_thumb"
            android:visibility="invisible"
            android:layout_width="@dimen/capture_size"
            android:layout_height="@dimen/capture_size"
            android:layout_gravity="top|right" />

</com.android.camera.ui.CameraControls>
+7 −0
Original line number Diff line number Diff line
@@ -58,4 +58,11 @@
            android:scaleType="center"
            android:src="@drawable/btn_new_shutter" />

        <View
            android:id="@+id/preview_thumb"
            android:visibility="invisible"
            android:layout_width="@dimen/capture_size"
            android:layout_height="@dimen/capture_size"
            android:layout_gravity="top|right" />

</com.android.camera.ui.CameraControls>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -16,5 +16,5 @@
<resources>
    <!-- for manage cache bar -->
    <dimen name="manage_cache_bottom_height">39dp</dimen>
    <dimen name="capture_margin_top">8dip</dimen>
    <dimen name="capture_top_margin">0dip</dimen>
</resources>
+18 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 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.
-->
<resources>
    <dimen name="capture_margin_top">8dip</dimen>
</resources>
+18 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 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.
-->
<resources>
    <dimen name="capture_margin_top">16dip</dimen>
</resources>
Loading