Skip to content

Commit

Permalink
Added new buttons to CommunicatorUI
Browse files Browse the repository at this point in the history
  • Loading branch information
km2442 committed Jun 18, 2019
1 parent 40e5887 commit 9a915d5
Showing 1 changed file with 49 additions and 6 deletions.
55 changes: 49 additions & 6 deletions Android/app/src/main/res/layout/activity_communicator_ui.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,21 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"
android:text="What do you want to do?"
android:textAlignment="center"
android:textSize="14sp"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/divider" />

<View
android:id="@+id/divider3"
android:id="@+id/divider4"
android:layout_width="395dp"
android:layout_height="1dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"
android:background="#000000"
android:visibility="visible"
Expand All @@ -79,6 +79,47 @@
app:layout_constraintTop_toBottomOf="@+id/textView10"
tools:visibility="visible" />

<Button
android:id="@+id/commUI_CustomAction"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="4dp"
android:text="Add custom action"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/divider4" />

<Button
android:id="@+id/commUI_ManageTasks"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="4dp"
android:enabled="false"
android:text="Show current tasks"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/commUI_CustomAction" />

<View
android:id="@+id/divider3"
android:layout_width="395dp"
android:layout_height="1dp"
android:layout_marginStart="8dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"
android:background="#000000"
android:visibility="visible"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/commUI_ManageTasks"
tools:visibility="visible" />

<Button
android:id="@+id/commUI_Shutdown"
android:layout_width="0dp"
Expand All @@ -101,7 +142,8 @@
app:layout_constraintBottom_toBottomOf="@id/commUI_Shutdown"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/commUI_Shutdown"
app:layout_constraintTop_toTopOf="@+id/commUI_Shutdown" />
app:layout_constraintTop_toTopOf="@+id/commUI_Shutdown"
app:layout_constraintVertical_bias="0.0" />

<Button
android:id="@+id/commUI_Sleep"
Expand Down Expand Up @@ -171,7 +213,8 @@
android:layout_marginStart="4dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="4dp"
android:text="Settings"
android:enabled="false"
android:text="PC Settings"
app:layout_constraintBottom_toTopOf="@+id/divider2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
Expand Down

0 comments on commit 9a915d5

Please sign in to comment.