瀏覽代碼

Загрузить файлы ''

Позднякова Виолетта Павловна 4 年之前
父節點
當前提交
895e4c800c
共有 1 個文件被更改,包括 26 次插入0 次删除
  1. 26 0
      activity_main.xml

+ 26 - 0
activity_main.xml

@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout 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"
+    tools:context=".MainActivity">
+
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="Hello World!"
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintRight_toRightOf="parent"
+        app:layout_constraintTop_toTopOf="parent" />
+
+    <Button
+        android:id="@+id/button"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="PussyButton"
+        tools:layout_editor_absoluteX="144dp"
+        tools:layout_editor_absoluteY="197dp" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>