summaryrefslogtreecommitdiffstats
path: root/res/layout/filtershow_category_panel_new.xml
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-08-08 20:47:28 -0700
committernicolasroard <nicolasroard@google.com>2013-08-08 21:22:31 -0700
commit860af325f2030a03c526e8551a85230d17df7b15 (patch)
treed8dca2a774d52055ea3d65a0b71fcc74dd9422c3 /res/layout/filtershow_category_panel_new.xml
parent430e46b06f8e7ee1ca3e7ecdcef3e0a978637c03 (diff)
downloadandroid_packages_apps_Gallery2-860af325f2030a03c526e8551a85230d17df7b15.tar.gz
android_packages_apps_Gallery2-860af325f2030a03c526e8551a85230d17df7b15.tar.bz2
android_packages_apps_Gallery2-860af325f2030a03c526e8551a85230d17df7b15.zip
Add version category
Fix bugs when loading Add info panel Change-Id: I28966f2419b902405bc60e9cc927b109777a6a2d
Diffstat (limited to 'res/layout/filtershow_category_panel_new.xml')
-rw-r--r--res/layout/filtershow_category_panel_new.xml34
1 files changed, 30 insertions, 4 deletions
diff --git a/res/layout/filtershow_category_panel_new.xml b/res/layout/filtershow_category_panel_new.xml
index e98f29ea6..4e0091aab 100644
--- a/res/layout/filtershow_category_panel_new.xml
+++ b/res/layout/filtershow_category_panel_new.xml
@@ -19,13 +19,14 @@
xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d"
android:orientation="horizontal"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:background="@color/filtershow_categoryview_background">
<HorizontalScrollView
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:scrollbars="none"
- android:background="@color/background_main_toolbar" >
+ android:layout_weight="1"
+ android:scrollbars="none" >
<com.android.gallery3d.filtershow.category.CategoryTrack
android:id="@+id/listItems"
@@ -38,4 +39,29 @@
</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>
+
</LinearLayout> \ No newline at end of file