diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2015-05-20 14:42:25 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2015-05-20 14:43:18 -0700 |
commit | 99d950fb4dfb5cb9edaae572579fc25b2aca726f (patch) | |
tree | ecfc7db0a38152f8df7c9785bf1a13bd4f7f28a2 | |
parent | c88ae71f66bf8b4f75290e21c5375dbf63a070f0 (diff) | |
download | android_packages_apps_Trebuchet-99d950fb4dfb5cb9edaae572579fc25b2aca726f.tar.gz android_packages_apps_Trebuchet-99d950fb4dfb5cb9edaae572579fc25b2aca726f.tar.bz2 android_packages_apps_Trebuchet-99d950fb4dfb5cb9edaae572579fc25b2aca726f.zip |
Removing unnecessary linear layout
Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263
-rw-r--r-- | res/layout/widgets_view.xml | 21 | ||||
-rw-r--r-- | src/com/android/launcher3/widget/WidgetsContainerView.java | 2 |
2 files changed, 8 insertions, 15 deletions
diff --git a/res/layout/widgets_view.xml b/res/layout/widgets_view.xml index 1857595e8..9d9fa10c2 100644 --- a/res/layout/widgets_view.xml +++ b/res/layout/widgets_view.xml @@ -34,19 +34,12 @@ android:focusable="false" android:visibility="invisible" /> - <LinearLayout - android:id="@+id/widgets_content" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:clipChildren="false" - android:elevation="15dp" - android:visibility="gone" - android:orientation="vertical" > - <com.android.launcher3.widget.WidgetsContainerRecyclerView - android:id="@+id/widgets_list_view" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@drawable/quantum_panel_dark"/> - </LinearLayout> + android:id="@+id/widgets_list_view" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/quantum_panel_dark" + android:elevation="15dp" + android:visibility="gone" /> + </com.android.launcher3.widget.WidgetsContainerView>
\ No newline at end of file diff --git a/src/com/android/launcher3/widget/WidgetsContainerView.java b/src/com/android/launcher3/widget/WidgetsContainerView.java index 181c08a40..7a7895ff8 100644 --- a/src/com/android/launcher3/widget/WidgetsContainerView.java +++ b/src/com/android/launcher3/widget/WidgetsContainerView.java @@ -135,7 +135,7 @@ public class WidgetsContainerView extends BaseContainerView // public View getContentView() { - return findViewById(R.id.widgets_content); + return mView; } public View getRevealView() { |