Skip to content

Commit 562584a

Browse files
authored
activity_library.xml の更新
1 parent 4bf175c commit 562584a

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed
Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
1-
<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:id="@+id/recyclerView"
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<androidx.constraintlayout.widget.ConstraintLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:app="http://schemas.android.com/apk/res-auto"
35
android:layout_width="match_parent"
4-
android:layout_height="match_parent"
5-
android:padding="8dp"
6-
android:background="@color/white"/>
6+
android:layout_height="match_parent">
7+
8+
<ImageButton
9+
android:id="@+id/btnAddCurrentSkin"
10+
android:layout_width="wrap_content"
11+
android:layout_height="wrap_content"
12+
android:src="@android:drawable/ic_input_add"
13+
android:contentDescription="Add Skin"
14+
app:layout_constraintTop_toTopOf="parent"
15+
app:layout_constraintEnd_toEndOf="parent"
16+
android:background="?attr/selectableItemBackgroundBorderless"
17+
android:padding="8dp"/>
18+
19+
<androidx.recyclerview.widget.RecyclerView
20+
android:id="@+id/recyclerViewSkins"
21+
android:layout_width="0dp"
22+
android:layout_height="0dp"
23+
android:padding="8dp"
24+
app:layout_constraintTop_toBottomOf="@id/btnAddCurrentSkin"
25+
app:layout_constraintBottom_toBottomOf="parent"
26+
app:layout_constraintStart_toStartOf="parent"
27+
app:layout_constraintEnd_toEndOf="parent"/>
28+
29+
</androidx.constraintlayout.widget.ConstraintLayout>

0 commit comments

Comments
 (0)