mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Test - Set dynamic colors programmatically
This commit is contained in:
parent
9599bcd4fb
commit
08115b4584
5 changed files with 22 additions and 7 deletions
|
|
@ -12,9 +12,7 @@
|
|||
android:paddingTop="8dp"
|
||||
android:paddingEnd="8dp"
|
||||
app:areSuggestionsDisabled="false"
|
||||
app:cardBackgroundColor="@color/cardColor"
|
||||
app:cardCornerRadius="4dp"
|
||||
app:cardElevation="2dp"
|
||||
app:clearInputButtonDrawable="@drawable/ic_close"
|
||||
app:dividerColor="@color/dividerColor"
|
||||
app:isClearInputButtonEnabled="true"
|
||||
|
|
@ -24,11 +22,11 @@
|
|||
app:leftButtonDrawable="@drawable/ic_search"
|
||||
app:queryInputHint="@string/search_hint"
|
||||
app:shouldDimBehind="true"
|
||||
app:suggestionIconColor="@color/suggestionIconColor"
|
||||
app:suggestionRecentSearchIconColor="@color/suggestionIconColor"
|
||||
app:suggestionSearchSuggestionIconColor="@color/suggestionIconColor"
|
||||
app:suggestionSelectedTextColor="@color/suggestionSelectedTextColor"
|
||||
app:suggestionTextColor="@color/suggestionTextColor" />
|
||||
app:suggestionIconColor="?attr/colorOnSurface"
|
||||
app:suggestionRecentSearchIconColor="?attr/colorOnSurface"
|
||||
app:suggestionSearchSuggestionIconColor="?attr/colorOnSurface"
|
||||
app:suggestionSelectedTextColor="?attr/colorOnSurface"
|
||||
app:suggestionTextColor="?attr/colorOnSurface" />
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:id="@+id/search_result_nested_scroll_view"
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@
|
|||
android:paddingStart="0dp"
|
||||
android:paddingEnd="0dp"
|
||||
android:thumb="@android:color/transparent"
|
||||
android:background="?attr/colorSurface"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue