summaryrefslogtreecommitdiff
path: root/res/layout/gestures_item.xml
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-05-04 19:31:11 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-05-04 19:31:11 -0400
commit665330a5eda56339a078944dbfde2efbf84d2a03 (patch)
tree4a6ed8f4f61ce17b834113209c8f777ac8cae0e5 /res/layout/gestures_item.xml
parent1a95ab399441cdf3e67d357df43f1ae1c3616ddd (diff)
Add gesture editor (taken mostly from the SDK gesture editor)
Diffstat (limited to 'res/layout/gestures_item.xml')
-rw-r--r--res/layout/gestures_item.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/res/layout/gestures_item.xml b/res/layout/gestures_item.xml
new file mode 100644
index 0000000..36c93b8
--- /dev/null
+++ b/res/layout/gestures_item.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 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.
+-->
+
+<TextView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/text1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+
+ android:gravity="center_vertical"
+ android:minHeight="?android:attr/listPreferredItemHeight"
+
+ android:drawablePadding="12dip"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip"
+
+ android:ellipsize="marquee"
+ android:singleLine="true"
+ android:textAppearance="?android:attr/textAppearanceLarge" />