|
35 | 35 | android:layout_width="0dp" |
36 | 36 | android:layout_height="0dp" |
37 | 37 | android:clipToPadding="false" |
38 | | - android:paddingBottom="4dp" |
| 38 | + android:paddingBottom="8dp" |
39 | 39 | app:layout_constraintBottom_toTopOf="@id/input_bar_card" |
40 | 40 | app:layout_constraintEnd_toEndOf="parent" |
41 | 41 | app:layout_constraintStart_toStartOf="parent" |
|
88 | 88 | android:id="@+id/input_bar_card" |
89 | 89 | android:layout_width="0dp" |
90 | 90 | android:layout_height="wrap_content" |
91 | | - app:cardElevation="4dp" |
| 91 | + app:cardElevation="8dp" |
92 | 92 | app:layout_constraintBottom_toTopOf="@id/keyboard_spacer" |
93 | 93 | app:layout_constraintEnd_toEndOf="parent" |
94 | 94 | app:layout_constraintStart_toStartOf="parent" |
|
98 | 98 | android:layout_width="match_parent" |
99 | 99 | android:layout_height="wrap_content" |
100 | 100 | android:orientation="vertical" |
101 | | - android:paddingStart="4dp" |
102 | | - android:paddingTop="4dp" |
103 | | - android:paddingEnd="4dp" |
104 | | - android:paddingBottom="2dp"> |
| 101 | + android:paddingStart="8dp" |
| 102 | + android:paddingTop="8dp" |
| 103 | + android:paddingEnd="8dp" |
| 104 | + android:paddingBottom="4dp"> |
105 | 105 |
|
106 | 106 | <LinearLayout |
107 | 107 | android:layout_width="match_parent" |
|
114 | 114 | style="@style/Widget.Material3.Button.IconButton" |
115 | 115 | android:layout_width="wrap_content" |
116 | 116 | android:layout_height="wrap_content" |
117 | | - android:contentDescription="Add Context File" |
| 117 | + android:contentDescription="@string/add_context_file" |
118 | 118 | android:text="\@" /> |
119 | 119 |
|
120 | 120 | <HorizontalScrollView |
|
133 | 133 |
|
134 | 134 | <com.google.android.material.textfield.TextInputLayout |
135 | 135 | android:id="@+id/prompt_input_layout" |
136 | | - style="@style/Widget.Material3.TextInputLayout.OutlinedBox.Dense" |
| 136 | + style="@style/Widget.Material3.TextInputLayout.OutlinedBox" |
137 | 137 | android:layout_width="match_parent" |
138 | 138 | android:layout_height="wrap_content" |
139 | | - android:layout_marginTop="2dp" |
140 | | - android:hint="Type a message..."> |
| 139 | + android:layout_marginTop="4dp" |
| 140 | + android:hint="@string/type_a_message_or_prompt"> |
141 | 141 |
|
142 | 142 | <com.google.android.material.textfield.TextInputEditText |
143 | 143 | android:id="@+id/prompt_input_edittext" |
144 | 144 | android:layout_width="match_parent" |
145 | 145 | android:layout_height="wrap_content" |
146 | 146 | android:gravity="top" |
147 | 147 | android:inputType="textMultiLine|textCapSentences" |
148 | | - android:maxLines="6" |
149 | | - android:minHeight="48dp" |
| 148 | + android:maxLines="8" |
| 149 | + android:minHeight="56dp" |
150 | 150 | android:scrollbars="vertical" /> |
151 | 151 | </com.google.android.material.textfield.TextInputLayout> |
152 | 152 |
|
| 153 | + <TextView |
| 154 | + android:layout_width="match_parent" |
| 155 | + android:layout_height="wrap_content" |
| 156 | + android:text="@string/experimental_ai_use_at_your_own_risk" |
| 157 | + android:textAppearance="?attr/textAppearanceCaption" |
| 158 | + android:gravity="center_horizontal" |
| 159 | + android:layout_marginTop="4dp"/> |
| 160 | + |
153 | 161 | <RelativeLayout |
154 | 162 | android:layout_width="match_parent" |
155 | 163 | android:layout_height="wrap_content" |
|
172 | 180 | android:id="@+id/backend_status_icon" |
173 | 181 | android:layout_width="18dp" |
174 | 182 | android:layout_height="18dp" |
175 | | - android:contentDescription="Current AI Backend" |
| 183 | + android:contentDescription="@string/current_ai_backend" |
176 | 184 | android:src="@drawable/ic_ai" |
177 | 185 | app:tint="?attr/colorOnSurfaceVariant" /> |
178 | 186 |
|
|
202 | 210 | android:layout_height="wrap_content" |
203 | 211 | android:layout_alignParentEnd="true" |
204 | 212 | android:layout_centerVertical="true" |
205 | | - android:contentDescription="Stop Generation" |
| 213 | + android:contentDescription="@string/stop_generation" |
206 | 214 | android:visibility="gone" |
207 | 215 | app:icon="@drawable/ic_stop" |
208 | 216 | tools:visibility="visible" /> |
|
214 | 222 | android:layout_height="wrap_content" |
215 | 223 | android:layout_alignParentEnd="true" |
216 | 224 | android:layout_centerVertical="true" |
217 | | - android:contentDescription="Send Message" |
| 225 | + android:contentDescription="@string/send_message" |
218 | 226 | android:enabled="false" |
219 | 227 | app:icon="@drawable/ic_send" /> |
220 | 228 | </RelativeLayout> |
|
226 | 234 | android:layout_height="wrap_content" |
227 | 235 | android:layout_centerVertical="true" |
228 | 236 | android:layout_toStartOf="@id/btn_control_prompt" |
229 | | - android:contentDescription="Upload Image" |
| 237 | + android:contentDescription="@string/upload_image" |
230 | 238 | app:icon="@drawable/ic_add_photo" /> |
231 | 239 | </RelativeLayout> |
232 | 240 | </LinearLayout> |
|
0 commit comments