Changeset View
Changeset View
Standalone View
Standalone View
res/layout/activity_runcommand.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
---|---|---|---|---|---|
2 | <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | xmlns:app="http://schemas.android.com/apk/res-auto" | 3 | xmlns:app="http://schemas.android.com/apk/res-auto" | ||
4 | android:layout_width="match_parent" | 4 | android:layout_width="match_parent" | ||
5 | android:layout_height="match_parent"> | 5 | android:layout_height="match_parent"> | ||
6 | 6 | | |||
7 | <ListView | 7 | <ListView | ||
8 | android:id="@+id/runcommandslist" | 8 | android:id="@+id/runcommandslist" | ||
9 | android:layout_width="match_parent" | 9 | android:layout_width="match_parent" | ||
10 | android:layout_height="match_parent" | 10 | android:layout_height="match_parent" | ||
11 | android:layout_margin="4dp" | 11 | android:layout_margin="4dp" | ||
12 | android:addStatesFromChildren="true" | 12 | android:addStatesFromChildren="true" | ||
13 | android:orientation="vertical" /> | 13 | android:orientation="vertical" /> | ||
14 | 14 | | |||
15 | <android.support.design.widget.FloatingActionButton | 15 | <com.google.android.material.floatingactionbutton.FloatingActionButton | ||
16 | android:id="@+id/add_command_button" | 16 | android:id="@+id/add_command_button" | ||
17 | android:layout_width="wrap_content" | 17 | android:layout_width="wrap_content" | ||
18 | android:layout_height="wrap_content" | 18 | android:layout_height="wrap_content" | ||
19 | android:layout_gravity="bottom|end" | 19 | android:layout_gravity="bottom|end" | ||
20 | android:layout_margin="16dp" | 20 | android:layout_margin="16dp" | ||
21 | android:src="@drawable/ic_action_image_edit" | 21 | android:src="@drawable/ic_action_image_edit" | ||
22 | app:backgroundTint="@color/primary" | 22 | app:backgroundTint="@color/primary" | ||
23 | app:layout_anchor="@id/runcommandslist" | 23 | app:layout_anchor="@id/runcommandslist" | ||
24 | app:layout_anchorGravity="bottom|end" /> | 24 | app:layout_anchorGravity="bottom|end" /> | ||
25 | 25 | | |||
26 | <TextView | 26 | <TextView | ||
27 | android:id="@+id/addcomand_explanation" | 27 | android:id="@+id/addcomand_explanation" | ||
28 | android:layout_width="match_parent" | 28 | android:layout_width="match_parent" | ||
29 | android:layout_height="wrap_content" | 29 | android:layout_height="wrap_content" | ||
30 | android:layout_gravity="center" | 30 | android:layout_gravity="center" | ||
31 | android:padding="30dp" | 31 | android:padding="30dp" | ||
32 | android:text="@string/addcommand_explanation" | 32 | android:text="@string/addcommand_explanation" | ||
33 | android:textAlignment="center" | 33 | android:textAlignment="center" | ||
34 | android:textSize="16sp" /> | 34 | android:textSize="16sp" /> | ||
35 | 35 | | |||
36 | </android.support.design.widget.CoordinatorLayout> | 36 | </androidx.coordinatorlayout.widget.CoordinatorLayout> | ||
37 | No newline at end of file | 37 | No newline at end of file |