mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 06:35:48 +03:00
Fix click effect
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
bcd9941a11
commit
6ac22071cf
2 changed files with 4 additions and 2 deletions
|
@ -104,7 +104,8 @@ public class TemplateAdapter extends RecyclerView.Adapter<TemplateAdapter.ViewHo
|
|||
super(binding.getRoot());
|
||||
this.binding = binding;
|
||||
viewThemeUtils.files.themeTemplateCardView(this.binding.templateContainer);
|
||||
itemView.setOnClickListener(this);
|
||||
binding.templateLayout.setOnClickListener(this);
|
||||
binding.templateContainer.setOnClickListener(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -27,10 +27,11 @@
|
|||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/template_container"
|
||||
android:checkable="true"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
app:cardElevation="0dp"
|
||||
app:strokeColor="@color/card_border_selector"
|
||||
app:strokeWidth="2dp">
|
||||
|
||||
|
|
Loading…
Reference in a new issue