summaryrefslogtreecommitdiffstats
path: root/api/current.xml
diff options
context:
space:
mode:
authorMark Wagner <mxw@google.com>2009-10-16 11:44:23 -0700
committerMark Wagner <mxw@google.com>2009-10-16 15:26:31 -0700
commit7b5676e4d40a09ccdbc8b6f691a3d8be23e480d3 (patch)
tree7a5d57d1320df4e46acd77ad329f723487e2a911 /api/current.xml
parent055e4ea56c42e714dc471d86311f64437f4ed786 (diff)
downloadframeworks_base-7b5676e4d40a09ccdbc8b6f691a3d8be23e480d3.zip
frameworks_base-7b5676e4d40a09ccdbc8b6f691a3d8be23e480d3.tar.gz
frameworks_base-7b5676e4d40a09ccdbc8b6f691a3d8be23e480d3.tar.bz2
support for multiline paragraph style indentation
This change is likely incomplete and perhaps not right in other ways. The gist of the change is that the span can return the number of lines to which to apply the "leading margin". Some specific things that should be looked at: 1) if the user has nested multiple LeadingMarginSpans then they will inherit the "line count" feature. This is wrong but I didn't want to spend time fixing it until it was clear that this overall approach was acceptible. 2) The units for how many lines should indented is "lines" rather than something like dips. 3) I wasn't sure what our strategy was for binary compatibility so I didn't want to modify the methods in LeadingMarginSpan. Instead I made another interface with extends LeadingMarginSpan that has the extra method to return the line count.
Diffstat (limited to 'api/current.xml')
-rw-r--r--api/current.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index 2a7c516..290bd80 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -143781,6 +143781,29 @@
</parameter>
</method>
</interface>
+<interface name="LeadingMarginSpan.LeadingMarginSpan2"
+ abstract="true"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<implements name="android.text.style.LeadingMarginSpan">
+</implements>
+<implements name="android.text.style.WrapTogetherSpan">
+</implements>
+<method name="getLeadingMarginLineCount"
+ return="int"
+ abstract="true"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+</interface>
<class name="LeadingMarginSpan.Standard"
extends="java.lang.Object"
abstract="false"