mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-16 19:30:40 +01:00
add a videocam button
+ make the icons easier clickable
This commit is contained in:
parent
f261bb6114
commit
d079805cef
@ -12,12 +12,23 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/about"
|
android:id="@+id/about"
|
||||||
android:layout_width="@dimen/side_icon_size"
|
android:layout_width="@dimen/icon_size"
|
||||||
android:layout_height="@dimen/side_icon_size"
|
android:layout_height="@dimen/icon_size"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_margin="@dimen/activity_margin"
|
android:layout_margin="@dimen/activity_margin"
|
||||||
|
android:padding="@dimen/side_icon_padding"
|
||||||
android:src="@mipmap/about"/>
|
android:src="@mipmap/about"/>
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/videocam"
|
||||||
|
android:layout_width="@dimen/icon_size"
|
||||||
|
android:layout_height="@dimen/icon_size"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_below="@+id/about"
|
||||||
|
android:layout_marginRight="@dimen/activity_margin"
|
||||||
|
android:padding="@dimen/side_icon_padding"
|
||||||
|
android:src="@mipmap/videocam"/>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/btn_holder"
|
android:id="@+id/btn_holder"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -28,23 +39,25 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/toggle_camera"
|
android:id="@+id/toggle_camera"
|
||||||
android:layout_width="@dimen/side_icon_size"
|
android:layout_width="@dimen/icon_size"
|
||||||
android:layout_height="@dimen/side_icon_size"
|
android:layout_height="@dimen/icon_size"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:padding="@dimen/side_icon_padding"
|
||||||
android:src="@mipmap/camera_front"/>
|
android:src="@mipmap/camera_front"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/shutter"
|
android:id="@+id/shutter"
|
||||||
android:layout_width="@dimen/main_icon_size"
|
android:layout_width="@dimen/icon_size"
|
||||||
android:layout_height="@dimen/main_icon_size"
|
android:layout_height="@dimen/icon_size"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:src="@mipmap/camera"/>
|
android:src="@mipmap/camera"/>
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/toggle_flash"
|
android:id="@+id/toggle_flash"
|
||||||
android:layout_width="@dimen/side_icon_size"
|
android:layout_width="@dimen/icon_size"
|
||||||
android:layout_height="@dimen/side_icon_size"
|
android:layout_height="@dimen/icon_size"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:padding="@dimen/side_icon_padding"
|
||||||
android:src="@mipmap/flash_off"/>
|
android:src="@mipmap/flash_off"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
BIN
app/src/main/res/mipmap-hdpi/videocam.png
Normal file
BIN
app/src/main/res/mipmap-hdpi/videocam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 234 B |
BIN
app/src/main/res/mipmap-mdpi/videocam.png
Normal file
BIN
app/src/main/res/mipmap-mdpi/videocam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 178 B |
BIN
app/src/main/res/mipmap-xhdpi/videocam.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/videocam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 290 B |
BIN
app/src/main/res/mipmap-xxhdpi/videocam.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/videocam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 437 B |
BIN
app/src/main/res/mipmap-xxxhdpi/videocam.png
Normal file
BIN
app/src/main/res/mipmap-xxxhdpi/videocam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 591 B |
@ -1,6 +1,6 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<dimen name="activity_margin">16dp</dimen>
|
<dimen name="activity_margin">16dp</dimen>
|
||||||
<dimen name="preview_btn_margin">32dp</dimen>
|
<dimen name="preview_btn_margin">32dp</dimen>
|
||||||
<dimen name="side_icon_size">36dp</dimen>
|
<dimen name="side_icon_padding">8dp</dimen>
|
||||||
<dimen name="main_icon_size">48dp</dimen>
|
<dimen name="icon_size">48dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user