2012-03-19 16:15:05 -07:00
|
|
|
#filter substitution
|
2011-11-28 22:38:35 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-05-21 04:12:37 -07:00
|
|
|
<!-- 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/. -->
|
|
|
|
|
2012-03-19 16:15:05 -07:00
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:gecko="http://schemas.android.com/apk/res/@ANDROID_PACKAGE_NAME@">
|
2011-12-13 12:15:17 -08:00
|
|
|
|
2012-08-01 19:23:51 -07:00
|
|
|
<RelativeLayout android:layout_width="fill_parent"
|
2012-08-01 19:23:51 -07:00
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:paddingLeft="@dimen/abouthome_gutter_large"
|
|
|
|
android:paddingRight="@dimen/abouthome_gutter_large">
|
2012-08-01 19:23:51 -07:00
|
|
|
|
2012-08-20 16:04:49 -07:00
|
|
|
<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"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentLeft="true"/>
|
|
|
|
|
|
|
|
<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="#000000"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:gravity="left|center_vertical"
|
|
|
|
android:layout_below="@id/abouthome_logo"/>
|
|
|
|
|
2012-08-01 19:23:51 -07:00
|
|
|
<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"/>
|
|
|
|
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2012-08-20 16:04:49 -07:00
|
|
|
android:layout_below="@id/top_sites_title">
|
2011-12-13 12:15:17 -08:00
|
|
|
|
2012-01-24 06:03:28 -08:00
|
|
|
<TextView android:id="@+id/no_top_sites_text"
|
2012-08-01 19:23:51 -07:00
|
|
|
android:text="@string/abouthome_no_top_sites"
|
2012-01-24 06:03:28 -08:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="47dp"
|
|
|
|
android:paddingBottom="47dp"
|
|
|
|
android:paddingLeft="60dp"
|
|
|
|
android:paddingRight="60dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="12sp"
|
|
|
|
android:textColor="#666666"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2011-12-13 12:15:17 -08:00
|
|
|
<view class="org.mozilla.gecko.AboutHomeContent$TopSitesGridView"
|
|
|
|
android:id="@+id/top_sites_grid"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-07-19 11:42:56 -07:00
|
|
|
android:layout_marginTop="12dp"
|
2011-12-13 12:15:17 -08:00
|
|
|
android:verticalSpacing="8dip"
|
|
|
|
android:horizontalSpacing="0dip"
|
|
|
|
android:isScrollContainer="false"
|
2012-07-20 16:21:14 -07:00
|
|
|
android:gravity="center"
|
|
|
|
android:listSelector="@drawable/action_bar_button"/>
|
2011-12-13 12:15:17 -08:00
|
|
|
|
2012-03-09 10:42:43 -08:00
|
|
|
<org.mozilla.gecko.LinkTextView android:id="@+id/all_top_sites_text"
|
2012-08-01 19:23:51 -07:00
|
|
|
android:text="@string/abouthome_top_sites_browse"
|
2012-03-09 10:42:43 -08:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="30dip"
|
|
|
|
android:layout_marginTop="7dip"
|
|
|
|
android:textColor="#22629e"
|
|
|
|
android:textSize="12sp"
|
2012-08-01 19:23:51 -07:00
|
|
|
android:gravity="top|center_horizontal"/>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/sync_box"
|
|
|
|
android:background="@drawable/abouthome_sync_box"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
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:gravity="center"
|
|
|
|
android:clickable="true"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/sync_logo"
|
|
|
|
android:src="@drawable/abouthome_sync_logo"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:gravity="left|center_vertical"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/sync_text"
|
|
|
|
android:text="@string/abouthome_about_sync"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginLeft="7dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:textColor="#FFFFFF"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<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>
|
2011-12-13 12:15:17 -08:00
|
|
|
|
2011-11-28 22:38:35 -08:00
|
|
|
</merge>
|