ai
Some checks failed
Flask 提示词大师 - CI/CD 流水线 / 代码质量检查 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 单元测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 集成测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 构建Docker镜像 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到测试环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到生产环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署监控系统 (push) Has been cancelled

This commit is contained in:
2026-03-04 23:58:24 +08:00
parent 5efd79ddfc
commit de4c3db2d3
4 changed files with 154 additions and 69 deletions

View File

@@ -1,17 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/colorSurface">
<LinearLayout
android:id="@+id/header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:padding="16dp">
android:padding="16dp"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_back"
style="@style/Widget.MaterialComponents.Button.TextButton"
@@ -27,30 +28,40 @@
android:textStyle="bold"
android:textColor="@color/colorPrimary"
android:gravity="center" />
<View android:layout_width="48dp" android:layout_height="wrap_content" />
<View android:layout_width="48dp" android:layout_height="1dp" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:id="@+id/subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="12dp"
android:layout_marginTop="0dp"
android:layout_marginBottom="8dp"
android:text="@string/ai_services_subtitle"
android:textSize="13sp"
android:textColor="@color/colorTextSecondary" />
android:textColor="@color/colorTextSecondary"
app:layout_constraintTop_toBottomOf="@id/header" />
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/scroll_list"
android:layout_width="0dp"
android:layout_height="0dp"
android:fillViewport="true"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingBottom="24dp">
android:paddingBottom="24dp"
android:clipToPadding="false"
app:layout_constraintTop_toBottomOf="@id/subtitle"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<LinearLayout
android:id="@+id/container_ai_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" />
android:orientation="vertical"
android:minHeight="200dp" />
</ScrollView>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>