Files
labs-mobile-applications/app/src/main/res/layout/activity_main.xml
T

26 lines
888 B
XML
Raw Normal View History

2025-09-24 13:25:08 +04:00
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2025-09-24 12:26:38 +04:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2025-09-24 13:25:08 +04:00
android:orientation="vertical"
android:padding="16dp">
2025-09-24 12:26:38 +04:00
2025-09-24 15:48:24 +04:00
<EditText
android:id="@+id/etInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Введите заметку" />
2025-09-24 14:29:16 +04:00
<Button
2025-09-24 15:48:24 +04:00
android:id="@+id/btnAdd"
2025-09-24 14:29:16 +04:00
android:layout_width="wrap_content"
2025-09-24 14:18:44 +04:00
android:layout_height="wrap_content"
2025-09-24 15:48:24 +04:00
android:layout_marginTop="12dp"
android:text="Добавить" />
2025-09-24 14:18:44 +04:00
2025-09-24 15:48:24 +04:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
2025-09-24 14:18:44 +04:00
android:layout_width="match_parent"
2025-09-24 14:29:16 +04:00
android:layout_height="0dp"
android:layout_marginTop="16dp"
2025-09-24 15:48:24 +04:00
android:layout_weight="1" />
2025-09-24 13:25:08 +04:00
</LinearLayout>