Skip to content

Commit

Permalink
implement material button
Browse files Browse the repository at this point in the history
Signed-off-by: sowjanyakch <[email protected]>
  • Loading branch information
sowjanyakch committed Oct 29, 2024
1 parent b85b556 commit 3c145ea
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions app/src/main/res/layout/call_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,20 @@
app:justifyContent="flex_end"
app:alignItems="center">

<Button
android:id="@+id/popup_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/end_call_for_everyone"
android:layout_marginEnd="8dp"
android:visibility="gone"
tools:visibility ="visible"/>
<com.google.android.material.button.MaterialButton
android:id="@+id/popup_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/end_call_for_everyone"
android:layout_marginEnd="8dp"
android:visibility="gone"
tools:visibility="visible"
android:backgroundTint="@android:color/darker_gray"
android:textColor="@android:color/holo_red_light"
app:icon="@drawable/ic_call_end_white_24px"
app:iconTint="@android:color/holo_red_light"
app:iconGravity="textEnd"
app:iconPadding="16dp" />

<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/lower_hand_button"
Expand Down

0 comments on commit 3c145ea

Please sign in to comment.