summaryrefslogtreecommitdiff
path: root/java/com/android/newbubble/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/android/newbubble/res/layout')
-rw-r--r--java/com/android/newbubble/res/layout/bottom_action_base.xml37
-rw-r--r--java/com/android/newbubble/res/layout/new_bubble_base.xml10
2 files changed, 19 insertions, 28 deletions
diff --git a/java/com/android/newbubble/res/layout/bottom_action_base.xml b/java/com/android/newbubble/res/layout/bottom_action_base.xml
index bf08e1be5..af7f7987f 100644
--- a/java/com/android/newbubble/res/layout/bottom_action_base.xml
+++ b/java/com/android/newbubble/res/layout/bottom_action_base.xml
@@ -18,6 +18,7 @@
android:layout_width="match_parent"
android:layout_height="@dimen/bubble_bottom_action_view_height"
android:orientation="horizontal"
+ android:gravity="center"
android:background="@drawable/bottom_action_scrim">
<LinearLayout
@@ -25,19 +26,19 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
- android:gravity="center_horizontal|center_vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/bubble_button_icon_padding"
- android:src="@drawable/quantum_ic_clear_vd_theme_24"
- android:tint="@color/bubble_button_color_white"/>
+ android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textAllCaps="true"
+ android:layout_marginTop="@dimen/bubble_bottom_action_text_offset"
android:textColor="@color/bubble_button_color_white"
- android:text="Hide"/>
+ android:textSize="16sp"
+ android:fontFamily="roboto-medium"
+ android:text="@string/bubble_bottom_action_hide"
+ android:drawableStart="@drawable/quantum_ic_clear_vd_theme_24"
+ android:drawableTint="@color/bubble_button_color_white"
+ android:drawablePadding="10dp"
+ android:elevation="2dp"/>
</LinearLayout>
<LinearLayout
@@ -45,19 +46,19 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
- android:gravity="center_horizontal|center_vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/bubble_button_icon_padding"
- android:src="@drawable/quantum_ic_call_end_vd_theme_24"
- android:tint="@color/bubble_button_color_white"/>
+ android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textAllCaps="true"
+ android:layout_marginTop="@dimen/bubble_bottom_action_text_offset"
android:textColor="@color/bubble_button_color_white"
- android:text="End call"/>
+ android:textSize="16sp"
+ android:fontFamily="roboto-medium"
+ android:text="@string/bubble_bottom_action_end_call"
+ android:drawableStart="@drawable/quantum_ic_call_end_vd_theme_24"
+ android:drawableTint="@color/bubble_button_color_white"
+ android:drawablePadding="10dp"
+ android:elevation="2dp"/>
</LinearLayout>
</LinearLayout> \ No newline at end of file
diff --git a/java/com/android/newbubble/res/layout/new_bubble_base.xml b/java/com/android/newbubble/res/layout/new_bubble_base.xml
index f6ce26dd1..2b53b360e 100644
--- a/java/com/android/newbubble/res/layout/new_bubble_base.xml
+++ b/java/com/android/newbubble/res/layout/new_bubble_base.xml
@@ -66,16 +66,6 @@
tools:backgroundTint="#FF0000AA"
tools:src="@android:drawable/ic_btn_speak_now"/>
</FrameLayout>
- <TextView
- android:id="@+id/bubble_text"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/bubble_size"
- android:paddingStart="@dimen/bubble_icon_padding"
- android:paddingEnd="@dimen/bubble_icon_padding"
- android:gravity="center"
- android:minWidth="@dimen/bubble_size"
- android:textAppearance="@style/TextAppearance.AppCompat"
- tools:text="Call ended"/>
</ViewAnimator>
</RelativeLayout>
<!-- The RelativeLayout below serves as boundary for @id/bubble_expanded_layout during animation -->