summaryrefslogtreecommitdiffstats
path: root/res/layout/filtershow_control_color_chooser.xml
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-08-15 16:06:26 -0700
committerJohn Hoford <hoford@google.com>2013-08-19 09:04:00 -0700
commita4f38c0f8f70c998391780b672eea5d5e49277c7 (patch)
treebcd3443ff8baf1404e60b120ebbd91766e828076 /res/layout/filtershow_control_color_chooser.xml
parent9c5d6700209699c3f1a47b6fa37618ddcd2f24c3 (diff)
downloadandroid_packages_apps_Gallery2-a4f38c0f8f70c998391780b672eea5d5e49277c7.tar.gz
android_packages_apps_Gallery2-a4f38c0f8f70c998391780b672eea5d5e49277c7.tar.bz2
android_packages_apps_Gallery2-a4f38c0f8f70c998391780b672eea5d5e49277c7.zip
fix first draw bug
bug:8579593 Change-Id: Ifb4727fcf23b0696db14427f00aa2a911b4a367b
Diffstat (limited to 'res/layout/filtershow_control_color_chooser.xml')
-rw-r--r--res/layout/filtershow_control_color_chooser.xml83
1 files changed, 83 insertions, 0 deletions
diff --git a/res/layout/filtershow_control_color_chooser.xml b/res/layout/filtershow_control_color_chooser.xml
new file mode 100644
index 000000000..088286a3f
--- /dev/null
+++ b/res/layout/filtershow_control_color_chooser.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res/com.example.imagefilterharness"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+ <HorizontalScrollView
+ android:id="@+id/scrollList"
+ android:layout_width="0dp"
+ android:layout_weight="5"
+ android:layout_height="match_parent"
+ android:scrollbars="none" >
+
+ <LinearLayout
+ android:id="@+id/listStyles"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="horizontal" >
+
+ <Button
+ android:id="@+id/draw_color_button01"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_color_picker_circle"
+ android:layout_margin="2dp" />
+ <Button
+ android:id="@+id/draw_color_button02"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_color_picker_circle"
+ android:layout_margin="2dp" />
+ <Button
+ android:id="@+id/draw_color_button03"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_color_picker_circle"
+ android:layout_margin="2dp" />
+ <Button
+ android:id="@+id/draw_color_button04"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_color_picker_circle"
+ android:layout_margin="2dp" />
+ <Button
+ android:id="@+id/draw_color_button05"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@drawable/filtershow_color_picker_circle"
+ android:layout_margin="2dp" />
+
+ </LinearLayout>
+ </HorizontalScrollView>
+ <Button
+ android:id="@+id/draw_color_popupbutton"
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:background="@android:drawable/ic_menu_more"
+ android:layout_margin="1dp"
+ />
+</LinearLayout>
+