diff options
author | Adam Cohen <adamcohen@google.com> | 2011-07-22 14:36:03 -0700 |
---|---|---|
committer | Adam Cohen <adamcohen@google.com> | 2011-07-22 14:37:20 -0700 |
commit | f4bb1cdecd3cf866a1d87b7b8560234fa7dd4cc5 (patch) | |
tree | be58b63b45d721b38fd76ae88161c92a70159c35 /res | |
parent | 1228b3bc8e523ad07bcac602d89890690c9f06ef (diff) | |
download | packages_apps_trebuchet-f4bb1cdecd3cf866a1d87b7b8560234fa7dd4cc5.zip packages_apps_trebuchet-f4bb1cdecd3cf866a1d87b7b8560234fa7dd4cc5.tar.gz packages_apps_trebuchet-f4bb1cdecd3cf866a1d87b7b8560234fa7dd4cc5.tar.bz2 |
Cleaning up folder layout, still pending final assets / cell size
-> see bug 5044356
Change-Id: I80a3cd90145de2a774565aae04809d8c1d04ccd5
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/user_folder.xml | 13 | ||||
-rw-r--r-- | res/values/dimens.xml | 5 |
2 files changed, 7 insertions, 11 deletions
diff --git a/res/layout/user_folder.xml b/res/layout/user_folder.xml index 548a39e..6b19603 100644 --- a/res/layout/user_folder.xml +++ b/res/layout/user_folder.xml @@ -19,10 +19,6 @@ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:paddingLeft="@dimen/folder_padding" - android:paddingRight="@dimen/folder_padding" - android:paddingTop="@dimen/folder_padding" - android:paddingBottom="0dp" android:orientation="vertical" android:background="@drawable/portal_container_holo"> @@ -32,14 +28,14 @@ android:layout_height="wrap_content" android:paddingLeft="0dip" android:paddingRight="0dip" - android:paddingTop="8dip" - android:paddingBottom="8dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" android:cacheColorHint="#ff333333" android:hapticFeedbackEnabled="false" launcher:widthGap="@dimen/folder_width_gap" launcher:heightGap="@dimen/folder_height_gap" - launcher:cellWidth="@dimen/workspace_cell_width" - launcher:cellHeight="@dimen/workspace_cell_height" /> + launcher:cellWidth="@dimen/folder_cell_width" + launcher:cellHeight="@dimen/folder_cell_height" /> <EditText android:id="@+id/folder_name" @@ -47,7 +43,6 @@ android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:paddingTop="@dimen/folder_content_name_gap" - android:paddingBottom="@dimen/folder_padding" android:background="#00000000" android:hint="@string/folder_hint_text" android:textSize="16sp" diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 75786eb..44da352 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -22,6 +22,8 @@ <dimen name="workspace_width_gap">-1dp</dimen> <dimen name="workspace_height_gap">-1dp</dimen> <dimen name="workspace_max_gap">8dp</dimen> + <dimen name="folder_cell_width">74dp</dimen> + <dimen name="folder_cell_height">80dp</dimen> <dimen name="scroll_track_padding_left">12dp</dimen> <dimen name="scroll_track_padding_right">12dp</dimen> @@ -84,8 +86,7 @@ <dimen name="folder_preview_size">64dp</dimen> <!-- The amount that the preview contents are inset from the preview background --> <dimen name="folder_preview_padding">4dp</dimen> - <dimen name="folder_padding">18dp</dimen> - <dimen name="folder_content_name_gap">10dp</dimen> + <dimen name="folder_content_name_gap">8dp</dimen> <dimen name="folder_width_gap">0dp</dimen> <dimen name="folder_height_gap">0dp</dimen> </resources> |