feat: 重构主窗口菜单,将系统相册入口移至图片浏览窗口
- MainActivity: 移除 action_gallery 按钮,替换为 action_mi_gallery (小米相册) - MainActivity: 移除 action_reset_gallery 按钮及响应代码 - ImageViewerActivity: 新增 btn_gallery 按钮,点击当前浏览图片打开相册选择器 - menu_main: 删除 action_gallery 和 action_reset_gallery 菜单项 - drawable: ic_cover 颜色改为白色以适配暗色工具栏 - drawable: 新增 ic_mi_gallery (小米相册图标),删除 ic_cover_reset - strings: 新增 mi_gallery 字符串资源
This commit is contained in:
@@ -36,6 +36,14 @@
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btn_gallery"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_cover"
|
||||
android:contentDescription="Gallery"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btn_share"
|
||||
android:layout_width="48dp"
|
||||
|
||||
Reference in New Issue
Block a user