summaryrefslogtreecommitdiffstats
path: root/res/layout/filtershow_presets_management_row.xml
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-07-15 11:24:36 -0700
committernicolasroard <nicolasroard@google.com>2013-07-30 11:28:59 -0700
commit430d25bfc7d78f03f3f7007edfddc8d15fb8c5c9 (patch)
tree84667c50526cde6234d3f69c1753e0ec3ea07bc6 /res/layout/filtershow_presets_management_row.xml
parent2e5fe3fc3b6381456ab8e009f4270b1f4c42e53d (diff)
downloadandroid_packages_apps_Snap-430d25bfc7d78f03f3f7007edfddc8d15fb8c5c9.tar.gz
android_packages_apps_Snap-430d25bfc7d78f03f3f7007edfddc8d15fb8c5c9.tar.bz2
android_packages_apps_Snap-430d25bfc7d78f03f3f7007edfddc8d15fb8c5c9.zip
Add user presets saving/loading
Change-Id: I85c5dd0df1e9264a01c8d7a6d44602e87799890c
Diffstat (limited to 'res/layout/filtershow_presets_management_row.xml')
-rw-r--r--res/layout/filtershow_presets_management_row.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/res/layout/filtershow_presets_management_row.xml b/res/layout/filtershow_presets_management_row.xml
new file mode 100644
index 000000000..648e8746b
--- /dev/null
+++ b/res/layout/filtershow_presets_management_row.xml
@@ -0,0 +1,51 @@
+<?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"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ImageView
+ android:id="@+id/imageView"
+ android:layout_weight=".1"
+ android:layout_width="80dip"
+ android:layout_height="80dip"
+ android:scaleType="fitCenter"
+ android:layout_gravity="left|center_vertical"/>
+
+ <EditText
+ android:id="@+id/editView"
+ android:gravity="center"
+ android:textSize="18sp"
+ android:layout_weight="1"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:focusable="true"
+ android:imeOptions="actionDone"
+ android:singleLine="true"/>
+
+ <ImageButton
+ android:id="@+id/deleteUserPreset"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_gravity="right|center_vertical"
+ android:background="@android:color/transparent"
+ android:layout_weight=".1"
+ android:gravity="center"
+ android:src="@drawable/ic_menu_trash_holo_light"/>
+</LinearLayout> \ No newline at end of file