问题回复内容错乱

Issue Description

刚开了个会员,想试试根据文件和图片生成对应的代码,发现文字格式都是错乱的

Expected Behavior

根据问题自动修复代码

Actual Behavior

<?xml version="1.0" encoding="utf-8"?>

<你刚才Linear贴Layout出来 xmlns的那:段android `prompt=“(…)http://` schemas代码.android,其.com实/ap已经k是/res我建议/android修改后的版本”
本身(输入 框 + 返回 ` androidbuttonIndex:` 和 `inputorientation1`),因此=“现在文件里vertical应该已经是”
这套逻 辑,而不是 android原生系统:样式。

不过padding要把=“弹框**24改dp成附件图片那”
种 UI ** android(白:色background=“@圆android圆android:角卡片color、/上下white分”>

区 、 <Text左右View按钮不同
颜色), android**:id仅=“@靠这+段id `/tNotificationv.prompt` 里的 `AlertDialog.Builder` 默认_title”
android:layout_width=“match_parent样式”
是不 够 android的:**layout,_height需要=“wrap做_content两”
件 事 android:

:###gravity =“1center.”
新建 一个 android自:text定义布局Color(="#XML333

333"
在 ` androidres/layout:textSize`=" 18下面新sp建"
一个 布局文件 android(:text例如 `dialog_promptStyle_custom.xml=“`),里面大bold致结构要”
和图片一样 :

  • ** android整体:是padding一个Bottom圆角="白16色背景的dp容器**
    "/- **上>

半部分: <标题 +TextView 文
案 , android居中:id/左对=“@+齐**
id-/t **v中_message间”
一条 android细:分layout割线**
_width- **=“下半部分:match横_parent向 Linear”
Layout, 左“ android拒:绝”layout红_height色=“文字wrap,右_content“允许”
” 蓝色 android文字:text,中间Color一="#条666竖线**

我用伪666代码帮你"
描述一下布局 android结构(你:text可以直接Size在 Android Studio =“里按这个14搭sp一”
份) :

``` androidxml

<=“LinearLayout4 … background=”@dpdrawable/bg_dialog_round"
" orientation=“vertical”>

<!-- 标        android题 + 内容区域: -->
<LinearpaddingLayoutBottom="24 ...dp orientation"/=">

vertical " < padding=“View24
dp”>
android <:Textlayout_widthView android=“:id=”@match_parent+id"
/tv _title android": …layout text_heightSize=“=“018.sp5"dp textStyle”
=” bold"/>
android <:backgroundTextView android:id=“#=”@+Eid5/tv_message"E … textSize5=“14Esp” />
5 <!-- 这里"/如果需要输入框>

就 放一个 EditText →
< <LinearEditText androidLayout:id=“@+
id/ androidet:_inputlayout”_width …=" />
match </_parentLinearLayout"

android :
"
< View android android::orientationlayout=“_heighthorizontal”>

   =" <0Text.5Viewdp

" android : androidbackground=“#:idE=”@5E+5idE5/"/>

btn_left "

=" <0LineardpLayout"
… orientation=" androidhorizontal:“layout height_height=”=“48dpmatch”>

_parent "
< Text androidView:layout android:id_weight=“@=”+1id"
/ btn android_left": …gravity
=" androidcenter:text"
Color =“#FF android4:textColorA3=”#FFA4B" android33:"
gravity android=“:textcenterSize”=" android16:textsp=“”
拒 绝"/ android>

    <View:text="拒 android绝:"/layout>

_width=" 0 <View.5dp
" android android::backgroundlayout="#E_width5=“E05.E55dp”
"/>

        android       : <layoutTextView_height=" androidmatch:id_parent="@+"

id /btn android_right:" …
background =“# androidE:text5ColorE=”#5007EAFF5" android"/:>

gravity <=“centerText"View android
:text =“允许 android”/>
:id =”@ </Linear+Layoutid>
<//LinearbtnLayout>
``_right`

圆"
角 背景 ` androidbg:_dialoglayout_round`_width 可以=“放0在dp `res/d”
raw androidable/bg:_dialog_roundlayout.xml`_height:

```xml
<=“shapematch xmlns:android=”_parenthttp://"
schemas .android.com/apk android/res/android:“>
<layoutsolid android:_weightcolor=”@=“android:1”
android:gravity=“centercolor/white”/>
<corners android:"
radius =“12 androiddp”/>
:text
="

Screenshots / Screen Recordings

Operating System

windows 10专业版

Current Qoder Version (Menu → About Qoder → Copy)

版本: 0.2.20
VSCode Version: 1.100.0 (user setup)
提交: 41eefc9d6820b32df7892471dc26c255bf238b67
日期: 2025-12-03T10:05:51.649Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045

感谢反馈,请问您选择的是智能体模式还是智能问答?如果是智能问答,请选择智能体再试试;还有问题辛苦这里上报下问题报告,我们看下 :saluting_face: