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.
29 lines
826 B
29 lines
826 B
package sgd.and04.layout
|
|
|
|
import android.content.Intent
|
|
import androidx.appcompat.app.AppCompatActivity
|
|
import android.os.Bundle
|
|
import android.view.View
|
|
|
|
class GridActivity : AppCompatActivity() {
|
|
override fun onCreate(savedInstanceState: Bundle?) {
|
|
super.onCreate(savedInstanceState)
|
|
setContentView(R.layout.activity_grid)
|
|
}
|
|
|
|
fun onButtonTableLayoutClick(view: View) {
|
|
startActivity(Intent(this, TableActivity::class.java))
|
|
}
|
|
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))
|
|
}
|
|
|
|
} |