diff options
author | nicolasroard <nicolasroard@google.com> | 2013-08-13 10:30:06 -0700 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-08-13 10:36:25 -0700 |
commit | a0cd22d21474c112ad78b011fbd6f0be977400e6 (patch) | |
tree | 72c9a5e6e1e6e8230d18575ce0ec0a182d7ca7e9 /res/layout/filtershow_category_panel_new.xml | |
parent | c31d762d7630f2e5edd451ce5ddb200cf5743ee4 (diff) | |
download | android_packages_apps_Gallery2-a0cd22d21474c112ad78b011fbd6f0be977400e6.tar.gz android_packages_apps_Gallery2-a0cd22d21474c112ad78b011fbd6f0be977400e6.tar.bz2 android_packages_apps_Gallery2-a0cd22d21474c112ad78b011fbd6f0be977400e6.zip |
Fix icons rendering to be consistent
Change-Id: Ie9384df9a34a39311dfe7ccc1cff1250d2f3918e
Diffstat (limited to 'res/layout/filtershow_category_panel_new.xml')
-rw-r--r-- | res/layout/filtershow_category_panel_new.xml | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/res/layout/filtershow_category_panel_new.xml b/res/layout/filtershow_category_panel_new.xml index 4e0091aab..8073f68a4 100644 --- a/res/layout/filtershow_category_panel_new.xml +++ b/res/layout/filtershow_category_panel_new.xml @@ -39,29 +39,10 @@ </HorizontalScrollView> - <FrameLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <ImageButton - android:id="@+id/addButton" - android:layout_width="@dimen/category_panel_height" - android:layout_height="@dimen/category_panel_height" - android:src="@drawable/filtershow_add" - style="?android:attr/borderlessButtonStyle" - android:scaleType="fitCenter" - android:padding="16dp" - android:layout_marginBottom="6dp" - android:layout_gravity="center"/> - - <TextView - android:id="@+id/addButtonText" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginBottom="4dp" - android:layout_gravity="bottom|center"/> - - </FrameLayout> + <com.android.gallery3d.filtershow.category.IconView + android:id="@+id/addButton" + android:layout_width="@dimen/category_panel_height" + android:layout_height="@dimen/category_panel_height" + android:src="@drawable/filtershow_add"/> </LinearLayout>
\ No newline at end of file |