Skip to content

Commit

Permalink
fix: unreadable hint in more block creator
Browse files Browse the repository at this point in the history
  • Loading branch information
Mustiy0 authored and trindadedev13 committed Jan 3, 2025
1 parent 7b5c4d3 commit a5862fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/res/layout/make_block_layout.xml
Original file line number Diff line number Diff line change
@@ -1,6 1,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">

<HorizontalScrollView
Expand Down Expand Up @@ -299,7 300,9 @@
android:layout_height="wrap_content"
android:layout_marginRight="8dp"
android:layout_weight="1"
android:hint="Parameter: m.name (without % sign)"
android:hint="Parameter"
app:placeholderText="m.name (without % sign)"
app:placeholderTextAppearance="@style/PlaceholderStyle"
android:importantForAutofill="noExcludeDescendants">

<EditText
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/styles_new.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 137,10 @@
<item name="android:backgroundDimEnabled">true</item>
<item name="android:windowIsFloating">true</item>
</style>
<style name="PlaceholderStyle" parent="TextAppearance.Design.Placeholder">
<item name="android:textSize">10sp</item>
<item name="alpha">0.6</item>
</style>

<style name="Widget.SketchwarePro.MaterialCardView" parent="Widget.Material3.CardView.Filled">
<item name="cardCornerRadius">16dp</item>
Expand Down

0 comments on commit a5862fd

Please sign in to comment.