回答編集履歴
1
layout_gravityの右詰めはrightに代わってendが推奨されていた
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
これでできませんか?TextViewに`android:layout_weight="1"`を、ImageViewを囲っているLinearLayoutに`android:layout_gravity="
|
1
|
+
これでできませんか?TextViewに`android:layout_weight="1"`を、ImageViewを囲っているLinearLayoutに`android:layout_gravity="end"`を追加しています。
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
android:layout_height="wrap_content"
|
52
52
|
|
53
|
-
android:layout_gravity="
|
53
|
+
android:layout_gravity="end"
|
54
54
|
|
55
55
|
android:background="@color/line_gray"
|
56
56
|
|