Skip to content

Commit

Permalink
Bug 686528 - (3 of 5) Set padding for about:home tablet layout. r=sri…
Browse files Browse the repository at this point in the history
…ram a=lsblakk

--HG--
extra : rebase_source : 22b6710ce39d9a6ecc682dd259cbc8609ac1bf37
  • Loading branch information
mcomella committed Aug 2, 2012
1 parent d8d5084 commit 6fd3a05
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
Expand Up @@ -14,7 +14,9 @@
<LinearLayout android:orientation="vertical"
android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="0.6">
android:layout_weight="0.6"
android:layout_marginLeft="@dimen/abouthome_gutter_large"
android:layout_marginRight="@dimen/abouthome_gutter_small">

<ImageView android:src="@drawable/abouthome_logo"
android:layout_width="wrap_content"
Expand Down Expand Up @@ -103,7 +105,9 @@

<RelativeLayout android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="0.4">
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"
Expand Down
Expand Up @@ -8,7 +8,9 @@
xmlns:gecko="http://schemas.android.com/apk/res/@ANDROID_PACKAGE_NAME@">

<RelativeLayout android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:layout_height="fill_parent"
android:paddingLeft="@dimen/abouthome_gutter_large"
android:paddingRight="@dimen/abouthome_gutter_large">

<ImageView android:src="@drawable/abouthome_icon"
android:layout_width="wrap_content"
Expand Down
2 changes: 2 additions & 0 deletions mobile/android/base/resources/values-xlarge-v11/dimens.xml
Expand Up @@ -5,6 +5,8 @@

<resources>

<dimen name="abouthome_gutter_small">20dp</dimen>
<dimen name="abouthome_gutter_large">40dp</dimen>
<dimen name="awesomebar_header_row_height">24dp</dimen>
<dimen name="awesomebar_row_height">66dp</dimen>
<dimen name="awesomebar_suggestion_item_height">32dp</dimen>
Expand Down
2 changes: 2 additions & 0 deletions mobile/android/base/resources/values/dimens.xml
Expand Up @@ -5,6 +5,8 @@

<resources>

<dimen name="abouthome_gutter_small">0dp</dimen>
<dimen name="abouthome_gutter_large">0dp</dimen>
<dimen name="awesomebar_header_row_height">20dp</dimen>
<dimen name="awesomebar_row_height">48dp</dimen>
<dimen name="awesomebar_tab_transparency_height">38dp</dimen>
Expand Down

0 comments on commit 6fd3a05

Please sign in to comment.