diff --git a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryArchiveFragment.java b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryArchiveFragment.java new file mode 100644 index 00000000..6b2dd126 --- /dev/null +++ b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryArchiveFragment.java @@ -0,0 +1,27 @@ +package one.nem.lacerta.feature.library; + +import android.content.Intent; +import android.os.Bundle; +import android.view.View; +import android.widget.TextView; + +import androidx.appcompat.app.AppCompatActivity; + +public class LibraryArchiveFragment extends AppCompatActivity { + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.fragment_library_top); + + TextView textView = findViewById(R.id.document_list); + + textView.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + // 文字をタップしたときの処理 + Intent intent = new Intent(LibraryArchiveFragment.this, LibraryArchiveFragment.class); + startActivity(intent); + } + }); + } +}