mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
73 lines
4.4 KiB
XML
73 lines
4.4 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/. -->
|
|
|
|
<org.mozilla.gecko.widget.AboutHomeView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:gecko="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/abouthome_content"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent">
|
|
|
|
<LinearLayout android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/abouthome_gutter_large"
|
|
android:paddingRight="@dimen/abouthome_gutter_large">
|
|
|
|
<org.mozilla.gecko.GeckoTextView 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"/>
|
|
|
|
<org.mozilla.gecko.widget.TopSitesView android:id="@+id/top_sites_grid"
|
|
style="@style/AboutHome.Thumbnail.Grid"/>
|
|
|
|
<org.mozilla.gecko.widget.PromoBox 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="16sp"
|
|
android:textColor="#FFFFFF"
|
|
android:visibility="gone"
|
|
android:focusable="true"/>
|
|
|
|
<org.mozilla.gecko.widget.LastTabsSection 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.widget.AddonsSection 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.widget.RemoteTabsSection 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>
|
|
|
|
</org.mozilla.gecko.widget.AboutHomeView>
|