feat: 图片支持横向滚动显示所有+点击放大全屏
- 去掉3张限制,HorizontalScrollView 横向滚动展示所有图片 - 缩略图 80dp 正方形,超出可滑动查看 - 点击缩略图全屏放大查看(FIT_CENTER),点击关闭 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -179,14 +179,22 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 图片展示区(用户上报任务附带图片) -->
|
||||
<LinearLayout
|
||||
android:id="@+id/picContainer"
|
||||
<!-- 图片展示区(用户上报任务附带图片,横向滚动) -->
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/picScrollView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:scrollbars="none"
|
||||
android:layout_marginBottom="11dp"
|
||||
android:visibility="gone" />
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/picContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" />
|
||||
|
||||
</HorizontalScrollView>
|
||||
|
||||
<!-- 指引块1:去哪里(橙色) -->
|
||||
<LinearLayout
|
||||
|
||||
Reference in New Issue
Block a user