Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require "import"
- import "android.app.*"
- import "android.os.*"
- import "android.widget.*"
- import "android.view.*"
- layout={
- LinearLayout;
- layout_width="fill";
- layout_height="fill";
- orientation="vertical";
- {
- LinearLayout;
- layout_width="match_parent";
- layout_height="100dp";
- gravity="center";
- {
- TextView;
- textSize="24sp";
- text="NALLA HUMAN";
- id="mTextView1";
- };
- };
- {
- LinearLayout;
- layout_width="match_parent";
- gravity="center";
- layout_height="match_parent";
- orientation="vertical";
- {
- Button;
- id="mButton1";
- text="TEST1";
- };
- {
- Button;
- id="mButton2";
- text="test2";
- };
- {
- Button;
- id="mButton3";
- text="TEST3";
- };
- };
- };
- activity.setContentView(loadlayout(layout))
- function mButton2.onClick()
- print("working")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement