mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
76072d8ddc
--HG-- rename : mobile/android/base/resources/color/abouthome_section_more_text.xml.in => mobile/android/base/resources/color/abouthome_section_more_text.xml rename : mobile/android/base/resources/color/abouthome_section_subtitle.xml.in => mobile/android/base/resources/color/abouthome_section_subtitle.xml rename : mobile/android/base/resources/color/abouthome_section_title.xml.in => mobile/android/base/resources/color/abouthome_section_title.xml rename : mobile/android/base/resources/color/awesome_bar_title.xml.in => mobile/android/base/resources/color/awesome_bar_title.xml rename : mobile/android/base/resources/color/awesome_bar_title_hint.xml.in => mobile/android/base/resources/color/awesome_bar_title_hint.xml rename : mobile/android/base/resources/drawable/abouthome_logo.xml.in => mobile/android/base/resources/drawable/abouthome_logo.xml rename : mobile/android/base/resources/drawable/address_bar_bg.xml.in => mobile/android/base/resources/drawable/address_bar_bg.xml rename : mobile/android/base/resources/drawable/address_bar_nav_button.xml.in => mobile/android/base/resources/drawable/address_bar_nav_button.xml rename : mobile/android/base/resources/drawable/address_bar_url.xml.in => mobile/android/base/resources/drawable/address_bar_url.xml rename : mobile/android/base/resources/drawable/menu_item_state.xml.in => mobile/android/base/resources/drawable/menu_item_state.xml rename : mobile/android/base/resources/drawable/menu_level.xml.in => mobile/android/base/resources/drawable/menu_level.xml rename : mobile/android/base/resources/layout-land-v14/browser_toolbar.xml.in => mobile/android/base/resources/layout-land-v14/browser_toolbar.xml rename : mobile/android/base/resources/layout-land-v14/browser_toolbar_menu.xml.in => mobile/android/base/resources/layout-land-v14/browser_toolbar_menu.xml rename : mobile/android/base/resources/layout-large-land-v11/tabs_panel.xml.in => mobile/android/base/resources/layout-large-land-v11/tabs_panel.xml rename : mobile/android/base/resources/layout-large-v11/awesomebar_search.xml.in => mobile/android/base/resources/layout-large-v11/awesomebar_search.xml rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml.in => mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml rename : mobile/android/base/resources/layout-xlarge-land-v11/abouthome_content.xml.in => mobile/android/base/resources/layout-xlarge-land-v11/abouthome_content.xml rename : mobile/android/base/resources/layout-xlarge-v11/awesomebar_search.xml.in => mobile/android/base/resources/layout-xlarge-v11/awesomebar_search.xml rename : mobile/android/base/resources/layout/abouthome_content.xml.in => mobile/android/base/resources/layout/abouthome_content.xml rename : mobile/android/base/resources/layout/awesomebar_search.xml.in => mobile/android/base/resources/layout/awesomebar_search.xml rename : mobile/android/base/resources/layout/awesomebar_suggestion_row.xml.in => mobile/android/base/resources/layout/awesomebar_suggestion_row.xml rename : mobile/android/base/resources/layout/awesomebar_tab_indicator.xml.in => mobile/android/base/resources/layout/awesomebar_tab_indicator.xml rename : mobile/android/base/resources/layout/browser_toolbar.xml.in => mobile/android/base/resources/layout/browser_toolbar.xml rename : mobile/android/base/resources/layout/browser_toolbar_menu.xml.in => mobile/android/base/resources/layout/browser_toolbar_menu.xml rename : mobile/android/base/resources/layout/gecko_app.xml.in => mobile/android/base/resources/layout/gecko_app.xml rename : mobile/android/base/resources/layout/tabs_panel.xml.in => mobile/android/base/resources/layout/tabs_panel.xml rename : mobile/android/base/resources/layout/text_selection_handles.xml.in => mobile/android/base/resources/layout/text_selection_handles.xml rename : mobile/android/base/resources/menu-large-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-large-v11/browser_app_menu.xml rename : mobile/android/base/resources/menu-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-v11/browser_app_menu.xml rename : mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml.in => mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml rename : mobile/android/base/resources/menu/browser_app_menu.xml.in => mobile/android/base/resources/menu/browser_app_menu.xml
109 lines
6.1 KiB
XML
109 lines
6.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- 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/. -->
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:gecko="http://schemas.android.com/apk/res-auto">
|
|
|
|
<LinearLayout android:orientation="horizontal"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="0.6"
|
|
android:layout_marginLeft="@dimen/abouthome_gutter_large"
|
|
android:layout_marginRight="@dimen/abouthome_gutter_small">
|
|
|
|
<Gecko.ImageView android:id="@+id/abouthome_logo"
|
|
android:src="@drawable/abouthome_logo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="24dip"
|
|
android:layout_marginTop="16dip"
|
|
android:layout_marginBottom="10dip"
|
|
android:layout_marginLeft="12dip"/>
|
|
|
|
<Gecko.TextView android:id="@+id/top_sites_title"
|
|
android:text="@string/abouthome_top_sites_title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="26dip"
|
|
android:background="#34FFFFFF"
|
|
android:paddingLeft="12dip"
|
|
android:textSize="12sp"
|
|
android:textColor="@color/abouthome_section_title"
|
|
android:textStyle="bold"
|
|
android:gravity="left|center_vertical"/>
|
|
|
|
<view class="org.mozilla.gecko.AboutHomeContent$TopSitesGridView"
|
|
android:id="@+id/top_sites_grid"
|
|
style="@style/AboutHome.Thumbnail.Grid"/>
|
|
|
|
<org.mozilla.gecko.AboutHomePromoBox android:id="@+id/promo_box"
|
|
android:background="@drawable/abouthome_promo_box"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="12dp"
|
|
android:layout_marginRight="12dp"
|
|
android:layout_marginTop="17dp"
|
|
android:layout_marginBottom="14dp"
|
|
android:drawablePadding="7dp"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:textSize="15sp"
|
|
android:textColor="#FFFFFF"
|
|
android:visibility="gone"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout android:layout_width="0dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_weight="0.4"
|
|
android:layout_marginLeft="@dimen/abouthome_gutter_small"
|
|
android:layout_marginRight="@dimen/abouthome_gutter_large">
|
|
|
|
<ImageView android:src="@drawable/abouthome_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
<!-- marginTop is abouthome_logo height & vertical margins: 24dip + 16dip + 10dip = 50dip -->
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_marginTop="50dip">
|
|
|
|
<org.mozilla.gecko.AboutHomeSection android:id="@+id/last_tabs"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
gecko:title="@string/abouthome_last_tabs_title"
|
|
gecko:more_text="@string/abouthome_last_tabs_open"/>
|
|
|
|
<org.mozilla.gecko.AboutHomeSection android:id="@+id/recommended_addons"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
gecko:title="@string/abouthome_addons_title"
|
|
gecko:more_text="@string/abouthome_addons_browse"/>
|
|
|
|
<org.mozilla.gecko.AboutHomeSection android:id="@+id/remote_tabs"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
gecko:title="@string/remote_tabs"
|
|
gecko:more_text="@string/remote_tabs_show_all"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</merge>
|