mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 1130203 - Add drop shadow to overlay share dialog result toast. r=margaret
--HG-- extra : rebase_source : 9baa0977c10afb4844a3a11294232b57b33c8cd9 extra : histedit_source : cddf4b8c7f3aabd106d733af0a17a4af31da47fb
This commit is contained in:
parent
658b6db4a8
commit
3b0a245d27
@ -4,32 +4,40 @@
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/toolbar_grey_round"
|
||||
android:orientation="horizontal"
|
||||
android:padding="20dp">
|
||||
android:background="@drawable/dropshadow"
|
||||
android:padding="3dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/overlay_toast_message"
|
||||
android:layout_width="wrap_content"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="2"
|
||||
android:layout_marginRight="10dp"
|
||||
android:textColor="@color/text_and_tabs_tray_grey"
|
||||
android:textSize="14sp"
|
||||
android:drawablePadding="15dp"
|
||||
android:drawableLeft="@drawable/overlay_check"/>
|
||||
android:background="@drawable/toolbar_grey_round"
|
||||
android:orientation="horizontal"
|
||||
android:padding="20dp">
|
||||
|
||||
<!-- Retry button -->
|
||||
<Button
|
||||
android:id="@+id/overlay_toast_retry_btn"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/overlay_share_retry"
|
||||
android:onClick="selfDestruct" />
|
||||
<TextView
|
||||
android:id="@+id/overlay_toast_message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="2"
|
||||
android:layout_marginRight="10dp"
|
||||
android:textColor="@color/text_and_tabs_tray_grey"
|
||||
android:textSize="14sp"
|
||||
android:drawablePadding="15dp"
|
||||
android:drawableLeft="@drawable/overlay_check"/>
|
||||
|
||||
</LinearLayout>
|
||||
<!-- Retry button -->
|
||||
<Button
|
||||
android:id="@+id/overlay_toast_retry_btn"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/overlay_share_retry"
|
||||
android:onClick="selfDestruct" />
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user