mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-05 03:54:35 +00:00
Bug 706667 - Change indentation of about:home layout files for consistency (r=blassey, a=mfinkle)
This commit is contained in:
parent
135af01549
commit
0c421cadc7
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dip"
|
||||
android:textColor="#FF000000"
|
||||
android:background="@drawable/rounded_grey_border" />
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dip"
|
||||
android:textColor="#FF000000"
|
||||
android:background="@drawable/rounded_grey_border"/>
|
||||
|
@ -1,36 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="100dip"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/icon" />
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dip"
|
||||
android:textColor="#FF202020"
|
||||
android:textStyle="bold"
|
||||
android:text="Recommended Addons"
|
||||
android:isScrollContainer="false" />
|
||||
<ListView
|
||||
android:id="@+id/recommended_addon_list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@android:color/transparent"
|
||||
android:isScrollContainer="false"
|
||||
android:dividerHeight="8dip" />
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dip"
|
||||
android:textColor="#FF202020"
|
||||
android:textStyle="bold"
|
||||
android:isScrollContainer="false"
|
||||
android:text="Favorite Sites" />
|
||||
<GridView
|
||||
android:id="@+id/grid"
|
||||
android:layout_width="fill_parent"
|
||||
android:isScrollContainer="false"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<ImageView android:layout_width="fill_parent"
|
||||
android:layout_height="100dip"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:src="@drawable/icon"/>
|
||||
|
||||
<TextView android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dip"
|
||||
android:textColor="#FF202020"
|
||||
android:textStyle="bold"
|
||||
android:text="Recommended Addons"
|
||||
android:isScrollContainer="false"/>
|
||||
|
||||
<ListView android:id="@+id/recommended_addon_list"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@android:color/transparent"
|
||||
android:isScrollContainer="false"
|
||||
android:dividerHeight="8dip"/>
|
||||
|
||||
<TextView android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dip"
|
||||
android:textColor="#FF202020"
|
||||
android:textStyle="bold"
|
||||
android:isScrollContainer="false"
|
||||
android:text="Favorite Sites"/>
|
||||
|
||||
<GridView android:id="@+id/grid"
|
||||
android:layout_width="fill_parent"
|
||||
android:isScrollContainer="false"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</merge>
|
||||
|
@ -1,41 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="100dip"
|
||||
android:layout_height="150dip"
|
||||
android:padding="6dip"
|
||||
android:gravity="center_horizontal">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@drawable/rounded_grey_box" >
|
||||
<ImageView
|
||||
android:id="@+id/screenshot"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="80dip" />
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent" >
|
||||
<ImageView
|
||||
android:id="@+id/bookmark_icon"
|
||||
android:layout_width="16dip"
|
||||
android:layout_height="16dip"
|
||||
android:layout_marginRight="6dip" />
|
||||
<TextView
|
||||
android:id="@+id/bookmark_title"
|
||||
android:singleLine="true"
|
||||
android:textColor="#FF202020"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="100dip"
|
||||
android:layout_height="150dip"
|
||||
android:padding="6dip"
|
||||
android:gravity="center_horizontal">
|
||||
|
||||
<LinearLayout android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@drawable/rounded_grey_box">
|
||||
|
||||
<ImageView android:id="@+id/screenshot"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="80dip" />
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent">
|
||||
|
||||
<ImageView android:id="@+id/bookmark_icon"
|
||||
android:layout_width="16dip"
|
||||
android:layout_height="16dip"
|
||||
android:layout_marginRight="6dip"/>
|
||||
|
||||
<TextView android:id="@+id/bookmark_title"
|
||||
android:singleLine="true"
|
||||
android:textColor="#FF202020"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView android:id="@+id/bookmark_url"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#FF202020"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"/>
|
||||
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#FF202020"
|
||||
android:id="@+id/bookmark_url"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user