mirror of https://github.com/M66B/FairEmail.git
Fixed height recycler views
This commit is contained in:
parent
18649082db
commit
c029840180
|
@ -123,7 +123,7 @@ public class FragmentAccounts extends FragmentBase {
|
|||
}
|
||||
});
|
||||
|
||||
rvAccount.setHasFixedSize(false);
|
||||
rvAccount.setHasFixedSize(true);
|
||||
LinearLayoutManager llm = new LinearLayoutManager(getContext());
|
||||
rvAccount.setLayoutManager(llm);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ public class FragmentFolders extends FragmentBase {
|
|||
}
|
||||
});
|
||||
|
||||
rvFolder.setHasFixedSize(false);
|
||||
rvFolder.setHasFixedSize(true);
|
||||
LinearLayoutManager llm = new LinearLayoutManager(getContext());
|
||||
rvFolder.setLayoutManager(llm);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue