mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2023-12-13 20:50:18 +01:00
Fix progressbar
This commit is contained in:
parent
b052ffb3e9
commit
7deceb7c09
|
@ -78,7 +78,12 @@ public class PullRequestCommitsFragment extends Fragment {
|
|||
);
|
||||
params.setMargins(0, 0, 0, 0);
|
||||
binding.pullToRefresh.setLayoutParams(params);
|
||||
binding.progressBar.setLayoutParams(params);
|
||||
RelativeLayout.LayoutParams paramsProgessBar = new RelativeLayout.LayoutParams(
|
||||
RelativeLayout.LayoutParams.WRAP_CONTENT,
|
||||
RelativeLayout.LayoutParams.WRAP_CONTENT
|
||||
);
|
||||
paramsProgessBar.setMargins(0, 0, 0, 0);
|
||||
binding.progressBar.setLayoutParams(paramsProgessBar);
|
||||
|
||||
adapter = new CommitsAdapter(ctx, commitsList);
|
||||
adapter.setLoadMoreListener(() -> binding.recyclerView.post(() -> {
|
||||
|
|
Loading…
Reference in a new issue