From c0298401805ff9bb03d5fc0000673bc5bdd87526 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 30 Aug 2020 16:39:03 +0200 Subject: [PATCH] Fixed height recycler views --- app/src/main/java/eu/faircode/email/FragmentAccounts.java | 2 +- app/src/main/java/eu/faircode/email/FragmentAnswers.java | 2 +- app/src/main/java/eu/faircode/email/FragmentCertificates.java | 2 +- app/src/main/java/eu/faircode/email/FragmentContacts.java | 2 +- app/src/main/java/eu/faircode/email/FragmentFolders.java | 2 +- app/src/main/java/eu/faircode/email/FragmentIdentities.java | 2 +- app/src/main/java/eu/faircode/email/FragmentLogs.java | 2 +- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 +- app/src/main/java/eu/faircode/email/FragmentOperations.java | 2 +- app/src/main/java/eu/faircode/email/FragmentRules.java | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccounts.java b/app/src/main/java/eu/faircode/email/FragmentAccounts.java index bfcafa376f..ecb99380ae 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccounts.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccounts.java @@ -123,7 +123,7 @@ public class FragmentAccounts extends FragmentBase { } }); - rvAccount.setHasFixedSize(false); + rvAccount.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvAccount.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentAnswers.java b/app/src/main/java/eu/faircode/email/FragmentAnswers.java index ec712e06d7..b837c5af4c 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAnswers.java +++ b/app/src/main/java/eu/faircode/email/FragmentAnswers.java @@ -75,7 +75,7 @@ public class FragmentAnswers extends FragmentBase { // Wire controls - rvAnswer.setHasFixedSize(false); + rvAnswer.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvAnswer.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentCertificates.java b/app/src/main/java/eu/faircode/email/FragmentCertificates.java index 8b9ea7104e..86e42614db 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCertificates.java +++ b/app/src/main/java/eu/faircode/email/FragmentCertificates.java @@ -63,7 +63,7 @@ public class FragmentCertificates extends FragmentBase { // Wire controls - rvCertificate.setHasFixedSize(false); + rvCertificate.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvCertificate.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentContacts.java b/app/src/main/java/eu/faircode/email/FragmentContacts.java index 883da52038..dda587b2fa 100644 --- a/app/src/main/java/eu/faircode/email/FragmentContacts.java +++ b/app/src/main/java/eu/faircode/email/FragmentContacts.java @@ -68,7 +68,7 @@ public class FragmentContacts extends FragmentBase { // Wire controls - rvContacts.setHasFixedSize(false); + rvContacts.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvContacts.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentFolders.java b/app/src/main/java/eu/faircode/email/FragmentFolders.java index 329ba6d004..627f1e0d7b 100644 --- a/app/src/main/java/eu/faircode/email/FragmentFolders.java +++ b/app/src/main/java/eu/faircode/email/FragmentFolders.java @@ -160,7 +160,7 @@ public class FragmentFolders extends FragmentBase { } }); - rvFolder.setHasFixedSize(false); + rvFolder.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvFolder.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentities.java b/app/src/main/java/eu/faircode/email/FragmentIdentities.java index d3d284dd68..41d5bc398b 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentities.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentities.java @@ -77,7 +77,7 @@ public class FragmentIdentities extends FragmentBase { // Wire controls - rvIdentity.setHasFixedSize(false); + rvIdentity.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvIdentity.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentLogs.java b/app/src/main/java/eu/faircode/email/FragmentLogs.java index 4ad64ccf3f..861ad82fa4 100644 --- a/app/src/main/java/eu/faircode/email/FragmentLogs.java +++ b/app/src/main/java/eu/faircode/email/FragmentLogs.java @@ -62,7 +62,7 @@ public class FragmentLogs extends FragmentBase { // Wire controls - rvLog.setHasFixedSize(false); + rvLog.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvLog.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 0f28ab7965..b63d904016 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -508,7 +508,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. } }); - rvMessage.setHasFixedSize(false); + rvMessage.setHasFixedSize(true); int threads = prefs.getInt("query_threads", 4); if (threads >= 4) diff --git a/app/src/main/java/eu/faircode/email/FragmentOperations.java b/app/src/main/java/eu/faircode/email/FragmentOperations.java index 74f8f17936..73022db416 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOperations.java +++ b/app/src/main/java/eu/faircode/email/FragmentOperations.java @@ -66,7 +66,7 @@ public class FragmentOperations extends FragmentBase { // Wire controls - rvOperation.setHasFixedSize(false); + rvOperation.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvOperation.setLayoutManager(llm); diff --git a/app/src/main/java/eu/faircode/email/FragmentRules.java b/app/src/main/java/eu/faircode/email/FragmentRules.java index 0cae69593b..e05683619d 100644 --- a/app/src/main/java/eu/faircode/email/FragmentRules.java +++ b/app/src/main/java/eu/faircode/email/FragmentRules.java @@ -90,7 +90,7 @@ public class FragmentRules extends FragmentBase { // Wire controls - rvRule.setHasFixedSize(false); + rvRule.setHasFixedSize(true); LinearLayoutManager llm = new LinearLayoutManager(getContext()); rvRule.setLayoutManager(llm);