diff --git a/app/src/main/java/org/ntlab/irisclient/OwnerRoomActivity.java b/app/src/main/java/org/ntlab/irisclient/OwnerRoomActivity.java new file mode 100644 index 0000000..7b0fb26 --- /dev/null +++ b/app/src/main/java/org/ntlab/irisclient/OwnerRoomActivity.java @@ -0,0 +1,52 @@ +package org.ntlab.irisclient; + +import androidx.appcompat.app.ActionBar; +import androidx.appcompat.app.AppCompatActivity; +import androidx.recyclerview.widget.LinearLayoutManager; +import androidx.recyclerview.widget.RecyclerView; + +import android.os.Bundle; +import android.view.View; +import android.widget.Button; + +import java.util.Locale; + +public class OwnerRoomActivity extends AppCompatActivity { + +// private final String[] dataset = new String[20]; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_owner_room); + + //上のバーを消す + ActionBar actionBar = getSupportActionBar(); + if (actionBar != null) { + actionBar.hide(); + } + +// RecyclerView recyclerView = findViewById(R.id.my_recycler_view); +// +// // use this setting to improve performance if you know that changes +// // in content do not change the layout size of the RecyclerView +// recyclerView.setHasFixedSize(true); +// +// // use a linear layout manager +// RecyclerView.LayoutManager rLayoutManager = new LinearLayoutManager(this); +// +// recyclerView.setLayoutManager(rLayoutManager); +// +// int i = 0; +// while (i < 10) { +// dataset[i] = String.format(Locale.ENGLISH, "Data_0%d", i); +// i++; +// } +// +// MyAdapter adapter = new MyAdapter(dataset); +// recyclerView.setAdapter(adapter); + + + + } +} \ No newline at end of file