Fixed height recycler views

This commit is contained in:
M66B 2020-08-30 16:39:03 +02:00
parent 18649082db
commit c029840180
10 changed files with 10 additions and 10 deletions

View File

@ -123,7 +123,7 @@ public class FragmentAccounts extends FragmentBase {
}
});
rvAccount.setHasFixedSize(false);
rvAccount.setHasFixedSize(true);
LinearLayoutManager llm = new LinearLayoutManager(getContext());
rvAccount.setLayoutManager(llm);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -160,7 +160,7 @@ public class FragmentFolders extends FragmentBase {
}
});
rvFolder.setHasFixedSize(false);
rvFolder.setHasFixedSize(true);
LinearLayoutManager llm = new LinearLayoutManager(getContext());
rvFolder.setLayoutManager(llm);

View File

@ -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);

View File

@ -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);

View File

@ -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)

View File

@ -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);

View File

@ -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);