diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /mobile/android/base/resources/layout/activity_stream_contextmenu_bottomsheet.xml | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'mobile/android/base/resources/layout/activity_stream_contextmenu_bottomsheet.xml')
-rw-r--r-- | mobile/android/base/resources/layout/activity_stream_contextmenu_bottomsheet.xml | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/activity_stream_contextmenu_bottomsheet.xml b/mobile/android/base/resources/layout/activity_stream_contextmenu_bottomsheet.xml new file mode 100644 index 000000000..327587e6e --- /dev/null +++ b/mobile/android/base/resources/layout/activity_stream_contextmenu_bottomsheet.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:gecko="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <RelativeLayout + android:id="@+id/info_wrapper" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="10dp"> + + <org.mozilla.gecko.widget.FaviconView + android:id="@+id/icon" + android:layout_width="@dimen/favicon_bg" + android:layout_height="@dimen/favicon_bg" + android:layout_gravity="center" + gecko:enableRoundCorners="false" + tools:background="@drawable/favicon_globe"/> + + <TextView + android:id="@+id/url" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_toEndOf="@id/icon" + android:layout_toRightOf="@id/icon" + android:paddingLeft="@dimen/activity_stream_base_margin" + android:paddingStart="@dimen/activity_stream_base_margin" + android:textColor="@color/activity_stream_subtitle" + android:textSize="12sp" + tools:text="twitter"/> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/url" + android:layout_toEndOf="@id/icon" + android:layout_toRightOf="@id/icon" + android:ellipsize="end" + android:maxLines="3" + android:paddingLeft="@dimen/activity_stream_base_margin" + android:paddingStart="@dimen/activity_stream_base_margin" + android:textColor="#ff000000" + android:textSize="14sp" + android:textStyle="bold" + tools:text="Descriptive title of a page that is veeeeeeery long - maybe even too long?"/> + </RelativeLayout> + + <View + android:layout_width="match_parent" + android:layout_height="0.5dp" + android:layout_marginTop="4dp" + android:background="@color/disabled_grey" + android:padding="4dp"/> + + <android.support.v4.widget.NestedScrollView + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <android.support.design.widget.NavigationView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/menu" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:itemTextAppearance="@style/ActivityStreamContextMenuText" + android:theme="@style/ActivityStreamContextMenuStyle" + app:menu="@menu/activitystream_contextmenu"/> + + </android.support.v4.widget.NestedScrollView> + + +</LinearLayout> |