button with ripple for files and instance picker

This commit is contained in:
sk 2023-05-27 01:13:32 +02:00
parent 274bca84d9
commit f933bdbc53
4 changed files with 4 additions and 8 deletions

View File

@ -124,6 +124,7 @@ public class CustomWelcomeFragment extends InstanceCatalogFragment {
super.onViewCreated(view, savedInstanceState);
view.setBackgroundColor(UiUtils.getThemeColor(getActivity(), R.attr.colorWindowBackground));
list.setItemAnimator(new BetterItemAnimator());
((UsableRecyclerView) list).setSelector(null);
}
@Override

View File

@ -2,10 +2,5 @@
<ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:attr/colorControlHighlight">
<item>
<shape>
<solid android:color="?colorSearchField"/>
<corners android:radius="6dp"/>
</shape>
</item>
<item android:drawable="@drawable/bg_search_field" />
</ripple>

View File

@ -16,7 +16,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="4dp"
android:background="@drawable/bg_search_field"
android:background="@drawable/bg_search_button"
android:paddingVertical="12dp"
android:orientation="horizontal">

View File

@ -8,7 +8,7 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_search_field">
android:background="@drawable/bg_search_button">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"