diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-17 19:02:30 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2015-04-19 19:25:49 -0700 |
commit | 4cea4c830283e017fc36197cfe9d7ce713aec49d (patch) | |
tree | 786e402b2d907cb468ade930ce7a9643ca6b742c /res/layout/widgets_view.xml | |
parent | 7af216ff04b7f0c3852119b476d8f692edfcaaa7 (diff) | |
download | android_packages_apps_Trebuchet-4cea4c830283e017fc36197cfe9d7ce713aec49d.tar.gz android_packages_apps_Trebuchet-4cea4c830283e017fc36197cfe9d7ce713aec49d.tar.bz2 android_packages_apps_Trebuchet-4cea4c830283e017fc36197cfe9d7ce713aec49d.zip |
WidgetTray UI tweak
- set fixed image view width
- fade in when widget bitmap populates
- widget dimension is next to the widget name text.
- elevation of the widgets content and the reveal view is the same
b/19897708
Change-Id: Ia656144412e7d63a491ce67ff15fb58c05d9a9d9
Diffstat (limited to 'res/layout/widgets_view.xml')
-rw-r--r-- | res/layout/widgets_view.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/widgets_view.xml b/res/layout/widgets_view.xml index 8e7ed161a..0800f59aa 100644 --- a/res/layout/widgets_view.xml +++ b/res/layout/widgets_view.xml @@ -25,16 +25,16 @@ android:paddingBottom="@dimen/widget_container_inset" android:descendantFocusability="afterDescendants"> - <!-- Temporary until finalizing on animation. --> - <include + <FrameLayout android:id="@+id/widgets_reveal_view" - layout="@layout/apps_reveal_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_gravity="center" /> + android:layout_gravity="center" + android:visibility="invisible" + android:focusable="false" /> <LinearLayout - android:id="@+id/content" + android:id="@+id/widgets_content" android:layout_width="match_parent" android:layout_height="match_parent" android:clipChildren="false" |