Skip to content

Commit 35df2cd

Browse files
authored
activity_library.xml の更新
1 parent c975b4d commit 35df2cd

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed
Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
11
<?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"
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:orientation="vertical"
54
android:layout_width="match_parent"
6-
android:layout_height="match_parent">
5+
android:layout_height="match_parent"
6+
android:padding="8dp"
7+
android:background="@color/black">
78

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"/>
9+
<ImageView
10+
android:id="@+id/btnAddSkin"
11+
android:layout_width="48dp"
12+
android:layout_height="48dp"
13+
android:src="@drawable/ic_add"
14+
android:contentDescription="スキン追加"
15+
android:layout_gravity="end"
16+
android:padding="8dp" />
1817

1918
<androidx.recyclerview.widget.RecyclerView
20-
android:id="@+id/recyclerViewSkins"
21-
android:layout_width="0dp"
19+
android:id="@+id/recyclerView"
20+
android:layout_width="match_parent"
2221
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"/>
22+
android:layout_weight="1" />
2823

29-
</androidx.constraintlayout.widget.ConstraintLayout>
24+
</LinearLayout>

0 commit comments

Comments
 (0)