Skip to content

Commit

Permalink
actually remove LU buttons from sample (#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyaganeh authored Jun 2, 2023
1 parent 69b01f9 commit b2be890
Showing 1 changed file with 2 additions and 69 deletions.
71 changes: 2 additions & 69 deletions sample/src/main/res/layout/fragment_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
android:id="@+id/channel_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:paddingBottom="8dp"
android:text="@string/channel_id"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline6"
Expand Down Expand Up @@ -55,74 +56,6 @@
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.302"
tools:text="a61635e7-60c5-47e7-b9fb-870754e70a86" />


<Button
android:id="@+id/start_live_update"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/channel_title"
app:layout_constraintVertical_bias="0.302"
android:text="Start Live Update"/>

<LinearLayout
android:orientation="horizontal"
android:id="@+id/update_buttons"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/start_live_update"
app:layout_constraintVertical_bias="0">

<Button
android:id="@+id/update_live_update_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_marginHorizontal="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/start_live_update"
app:layout_constraintVertical_bias="0"
android:text="+1 Foxes"/>

<Button
android:id="@+id/update_live_update_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_marginHorizontal="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/start_live_update"
app:layout_constraintVertical_bias="0"
android:text="+1 Tigers"/>

</LinearLayout>

<Button
android:id="@+id/stop_live_update"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/update_buttons"
app:layout_constraintVertical_bias="0"
android:text="Stop Live Update"/>


</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>

0 comments on commit b2be890

Please sign in to comment.