Added configurable card padding

This commit is contained in:
M66B
2021-11-07 16:34:08 +01:00
parent a7df8a7639
commit cb87ef9f80
5 changed files with 37 additions and 2 deletions

View File

@@ -6543,6 +6543,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return this.zoom;
}
void setPadding(int padding) {
if (rv != null) {
rv.getRecycledViewPool().clear();
rv.getLayoutManager().removeAllViews();
}
properties.refresh();
}
void setSort(String sort) {
if (!sort.equals(this.sort)) {
this.sort = sort;