diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-13 23:53:48 +0200 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-04-14 03:12:14 +0200 |
commit | db091bfd1db36ab66340ccad2eb7b6393a0aa3da (patch) | |
tree | 5a70412afcb4d32086effffe84d7de3161790f46 /res/layout | |
parent | e27870b137aeab108816f4eb80ddaea1e639c3fb (diff) | |
download | android-jetpack-compose-redo-db091bfd1db36ab66340ccad2eb7b6393a0aa3da.tar.gz android-jetpack-compose-redo-db091bfd1db36ab66340ccad2eb7b6393a0aa3da.tar.xz android-jetpack-compose-redo-db091bfd1db36ab66340ccad2eb7b6393a0aa3da.zip |
Basic kotlin java application working
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/activity_main.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml new file mode 100644 index 0000000..0807716 --- /dev/null +++ b/res/layout/activity_main.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:orientation="vertical" +> + <RadioGroup + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + > + <RadioButton + android:id="@+id/radio_post" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/POST" + /> + <RadioButton + android:id="@+id/radio_put" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/PUT" + /> + </RadioGroup> + <!--<Button--> + <!--android:id="@+id/button_choose_file"--> + <!--android:layout_width="match_parent"--> + <!--android:layout_height="wrap_content"--> + <!--android:text="@string/submit"--> + <!--/>--> + <Button + android:id="@+id/button_submit" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/submit" + /> +</LinearLayout> |