Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ then add SearchBar to your activity:
app:mt_maxSuggestionsCount="10"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/searchBar" />
android:id="@+id/searchBar"
app:mt_marquee="true"
app:mt_hintStyle="normal|bold"
app:mt_marqueeRepeatLimit="1"
app:mt_placeholder="Search"
android:fontFamily="@font/ariana"
/>
```

----------
Expand Down Expand Up @@ -90,8 +96,15 @@ then add SearchBar to your activity:
| mt_hintColor | set hint color |
| mt_placeholderColor | set placeholder color |
| mt_textCursorTint | set text cursors tint |
| mt_highlightedTextColor | set the text highlight tint color |

| mt_highlightedTextColor | set the text highlight tint color |
| mt_highlightedTextColor | set the text highlight tint color |

| mt_textSize | set the text size |
| mt_marquee | set marquee |
| mt_marqueeRepeatLimit | set marquee repeat rate |
| fontFamily | set custom font family |
| mt_searchStyle | set search view textStyle |
| mt_hintStyle | set placeholder textStyle |
----------
**public methods:**

Expand Down
7 changes: 6 additions & 1 deletion app/src/main/res/layout/app_bar_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:mt_navIconEnabled="true"
app:mt_placeholder="Google Play" />
app:mt_textSize="12sp"
app:mt_marquee="true"
app:mt_hintStyle="normal"
app:mt_marqueeRepeatLimit="1"
android:fontFamily="@font/ariana"
app:mt_placeholder="Search" />

<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/searchButton"
Expand Down
Loading