You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
881 B
31 lines
881 B
package sgd.and04.layout
|
|
|
|
import android.content.Intent
|
|
import androidx.appcompat.app.AppCompatActivity
|
|
import android.os.Bundle
|
|
import android.util.Log
|
|
import android.view.View
|
|
import android.widget.TextView
|
|
|
|
class TableActivity : AppCompatActivity() {
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
setContentView(R.layout.activity_table)
|
|
}
|
|
|
|
fun onButtonLinearLayoutClick(view: View) {
|
|
startActivity(Intent(this, MainActivity::class.java))
|
|
}
|
|
|
|
fun onButtonRelativeLayoutClick(view: View) {
|
|
startActivity(Intent(this, RelativeActivity::class.java))
|
|
}
|
|
|
|
fun onButtonFrameLayoutClick(view: View) {
|
|
startActivity(Intent(this, FrameActivity::class.java))
|
|
}
|
|
|
|
fun onButtonGridLayoutClick(view: View) {
|
|
startActivity(Intent(this, GridActivity::class.java))
|
|
}
|
|
} |