From 4649399ef96aca01665c3a3873f017eeeef12c6f Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 28 Jan 2024 13:30:33 +0900 Subject: [PATCH] =?UTF-8?q?Combine=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=AA=E3=81=84=E3=83=89=E3=82=AD=E3=83=A5=E3=83=A1=E3=83=B3?= =?UTF-8?q?=E3=83=88=E3=81=AE=E5=A0=B4=E5=90=88=E3=81=AFTabLayout=E3=82=92?= =?UTF-8?q?=E9=9A=A0=E3=81=99=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/component/viewer/ViewerContainerFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java index 7f0b8f2c..020f08ef 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java @@ -12,6 +12,7 @@ import android.view.ViewGroup; import android.widget.Toast; import com.google.android.material.dialog.MaterialAlertDialogBuilder; +import com.google.android.material.tabs.TabLayout; import com.google.android.material.textfield.TextInputEditText; import com.google.android.material.textfield.TextInputLayout; @@ -112,6 +113,8 @@ public class ViewerContainerFragment extends Fragment { } }); } else { + TabLayout tabLayout = view.findViewById(R.id.tab_layout); + tabLayout.setVisibility(View.GONE); viewerViewPagerAdapter.addFragment(ViewerBodyFragment.newInstance(documentId, documentName), documentName); } }