summaryrefslogtreecommitdiffstats
path: root/res/layout/filtershow_control_action_slider.xml
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-03-12 16:30:10 -0700
committerJohn Hoford <hoford@google.com>2013-03-29 12:11:16 -0700
commit235d2179374bec14040f20af91dc753e38ea3639 (patch)
treef067eecb58085585dd520d7d5c4eb9dc8e9df69e /res/layout/filtershow_control_action_slider.xml
parent62cc2aa4400a4ad03cfc6025e9d25c61015cdef4 (diff)
downloadandroid_packages_apps_Gallery2-235d2179374bec14040f20af91dc753e38ea3639.tar.gz
android_packages_apps_Gallery2-235d2179374bec14040f20af91dc753e38ea3639.tar.bz2
android_packages_apps_Gallery2-235d2179374bec14040f20af91dc753e38ea3639.zip
add flexable ui for parameters
Change-Id: Ifa9862ceb7f9a12b1b9b985fdc737dc1bb679921
Diffstat (limited to 'res/layout/filtershow_control_action_slider.xml')
-rw-r--r--res/layout/filtershow_control_action_slider.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/res/layout/filtershow_control_action_slider.xml b/res/layout/filtershow_control_action_slider.xml
new file mode 100644
index 000000000..7caf96dca
--- /dev/null
+++ b/res/layout/filtershow_control_action_slider.xml
@@ -0,0 +1,40 @@
+<?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="150dp"
+ android:orientation="horizontal" >
+
+ <ImageButton
+ android:id="@+id/actionButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:scaleType="centerInside"
+ android:background="@drawable/filtershow_button_background"
+ android:src="@drawable/filtershow_addpoint"
+ android:paddingBottom="8dp" />
+
+ <SeekBar
+ android:id="@+id/controlValueSeekBar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="fill_horizontal"
+ style="@style/FilterShowSlider" />
+</LinearLayout>
+