diff options
author | Android Dialer <noreply@google.com> | 2017-12-07 10:57:50 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-07 18:32:32 -0800 |
commit | 25f45be4e54aa5aec3f20fae3bab9e5f803079ca (patch) | |
tree | 1d6ebc5792ea0816aebbb05372362d8f151dae63 /java/com/android/bubble/res | |
parent | 17edc22de11f772a1efe91a9c6b7b4fd7e5d3416 (diff) |
Bug: 68953167
Test: Bubble.show
PiperOrigin-RevId: 178265418
Change-Id: Iad3b85b10aae736953a64824bac1631d506892c8
Diffstat (limited to 'java/com/android/bubble/res')
-rw-r--r-- | java/com/android/bubble/res/layout/bubble_base.xml | 67 |
1 files changed, 66 insertions, 1 deletions
diff --git a/java/com/android/bubble/res/layout/bubble_base.xml b/java/com/android/bubble/res/layout/bubble_base.xml index 3b5735cd0..0712db603 100644 --- a/java/com/android/bubble/res/layout/bubble_base.xml +++ b/java/com/android/bubble/res/layout/bubble_base.xml @@ -33,6 +33,19 @@ android:elevation="10dp" android:visibility="invisible" /> + <View + android:id="@+id/bubble_drawer_shadow_provider_rtl" + android:layout_width="@dimen/bubble_size" + android:layout_height="@dimen/bubble_size" + android:layout_marginTop="@dimen/bubble_shadow_padding_size" + android:layout_marginBottom="@dimen/bubble_shadow_padding_size" + android:layout_marginRight="@dimen/bubble_shadow_padding_size" + android:layout_gravity="right" + android:background="@drawable/bubble_ripple_circle" + android:backgroundTint="@android:color/transparent" + android:elevation="10dp" + android:visibility="invisible" + /> <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -49,7 +62,7 @@ android:paddingStart="32dp" android:paddingEnd="8dp" android:background="@drawable/bubble_background_pill_ltr" - android:layoutDirection="inherit" + android:layoutDirection="ltr" android:orientation="horizontal" android:visibility="gone" tools:backgroundTint="#FF0000FF" @@ -87,6 +100,58 @@ </LinearLayout> </FrameLayout> <FrameLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="48dp" + android:elevation="10dp" + android:paddingTop="@dimen/bubble_shadow_padding_size" + android:paddingBottom="@dimen/bubble_shadow_padding_size" + android:paddingLeft="@dimen/bubble_shadow_padding_size"> + <LinearLayout + android:id="@+id/bubble_expanded_layout_rtl" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingRight="32dp" + android:paddingLeft="8dp" + android:background="@drawable/bubble_background_pill_rtl" + android:layoutDirection="rtl" + android:orientation="horizontal" + android:visibility="gone" + tools:backgroundTint="#FF0000FF" + tools:visibility="invisible"> + <com.android.bubble.CheckableImageButton + android:id="@+id/bubble_icon_first_rtl" + android:layout_width="@dimen/bubble_size" + android:layout_height="@dimen/bubble_size" + android:layout_marginRight="4dp" + android:padding="@dimen/bubble_icon_padding" + android:tint="@color/bubble_icon_tint_states" + android:tintMode="src_in" + tools:background="@drawable/bubble_ripple_checkable_circle" + tools:src="@android:drawable/ic_lock_idle_lock"/> + <com.android.bubble.CheckableImageButton + android:id="@+id/bubble_icon_second_rtl" + android:layout_width="@dimen/bubble_size" + android:layout_height="@dimen/bubble_size" + android:layout_marginRight="4dp" + android:padding="@dimen/bubble_icon_padding" + android:tint="@color/bubble_icon_tint_states" + android:tintMode="src_in" + tools:background="@drawable/bubble_ripple_checkable_circle" + tools:src="@android:drawable/ic_input_add"/> + <com.android.bubble.CheckableImageButton + android:id="@+id/bubble_icon_third_rtl" + android:layout_width="@dimen/bubble_size" + android:layout_height="@dimen/bubble_size" + android:layout_marginRight="4dp" + android:padding="@dimen/bubble_icon_padding" + android:tint="@color/bubble_icon_tint_states" + android:tintMode="src_in" + tools:background="@drawable/bubble_ripple_checkable_circle" + tools:src="@android:drawable/ic_menu_call"/> + </LinearLayout> + </FrameLayout> + <FrameLayout android:id="@+id/bubble_primary_container" android:layout_width="wrap_content" android:layout_height="wrap_content" |