Created
October 30, 2015 18:02
-
-
Save riontech-xten/7e2a340d9681b544a12e to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<classpath> | |
<classpathentry kind="src" path="src"/> | |
<classpathentry kind="src" path="gen"/> | |
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | |
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | |
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | |
<classpathentry kind="output" path="bin/classes"/> | |
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AutoSpanTextGridView |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="JAVA_MODULE" version="4"> | |
<component name="NewModuleRootManager" inherit-compiler-output="true"> | |
<exclude-output /> | |
<content url="file://$MODULE_DIR$" /> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="CompilerConfiguration"> | |
<resourceExtensions /> | |
<wildcardResourcePatterns> | |
<entry name="!?*.java" /> | |
<entry name="!?*.form" /> | |
<entry name="!?*.class" /> | |
<entry name="!?*.groovy" /> | |
<entry name="!?*.scala" /> | |
<entry name="!?*.flex" /> | |
<entry name="!?*.kt" /> | |
<entry name="!?*.clj" /> | |
<entry name="!?*.aj" /> | |
</wildcardResourcePatterns> | |
<annotationProcessing> | |
<profile default="true" name="Default" enabled="false"> | |
<processorPath useClasspath="true" /> | |
</profile> | |
</annotationProcessing> | |
</component> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="CopyrightManager"> | |
<settings default="" /> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectLevelVcsManager" settingsEditedManually="false"> | |
<OptionsSetting value="true" id="Add" /> | |
<OptionsSetting value="true" id="Remove" /> | |
<OptionsSetting value="true" id="Checkout" /> | |
<OptionsSetting value="true" id="Update" /> | |
<OptionsSetting value="true" id="Status" /> | |
<OptionsSetting value="true" id="Edit" /> | |
<ConfirmationsSetting value="0" id="Add" /> | |
<ConfirmationsSetting value="0" id="Remove" /> | |
</component> | |
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" default="true" assert-keyword="true" jdk-15="true" /> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectModuleManager"> | |
<modules> | |
<module fileurl="file://$PROJECT_DIR$/.idea/AutoSpanTextGridView.iml" filepath="$PROJECT_DIR$/.idea/AutoSpanTextGridView.iml" /> | |
</modules> | |
</component> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="VcsDirectoryMappings"> | |
<mapping directory="" vcs="" /> | |
</component> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<projectDescription> | |
<name>AutoSpanTextGridView</name> | |
<comment></comment> | |
<projects> | |
</projects> | |
<buildSpec> | |
<buildCommand> | |
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | |
<arguments> | |
</arguments> | |
</buildCommand> | |
<buildCommand> | |
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | |
<arguments> | |
</arguments> | |
</buildCommand> | |
<buildCommand> | |
<name>org.eclipse.jdt.core.javabuilder</name> | |
<arguments> | |
</arguments> | |
</buildCommand> | |
<buildCommand> | |
<name>com.android.ide.eclipse.adt.ApkBuilder</name> | |
<arguments> | |
</arguments> | |
</buildCommand> | |
</buildSpec> | |
<natures> | |
<nature>com.android.ide.eclipse.adt.AndroidNature</nature> | |
<nature>org.eclipse.jdt.core.javanature</nature> | |
</natures> | |
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eclipse.preferences.version=1 | |
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 | |
org.eclipse.jdt.core.compiler.compliance=1.6 | |
org.eclipse.jdt.core.compiler.source=1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.xten.autospantextgridview" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="8" | |
android:targetSdkVersion="23" /> | |
<application /> | |
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.xten.autospantextgridview" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="8" | |
android:targetSdkVersion="23" /> | |
<application /> | |
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PK ·^LG META-INF/MANIFEST.MFþÊ ãå PK¬…¢ PK pKG : com/xten/autospantextgridview/AutoSpanTextGridView$1.class�UmSU~n,lš•¢ÔF »kk ¢@#!©ƒ´µå&¹ K7»qw¨ú3übÕvìèøYG‚cgüþ | |
ÿˆŒçnBy‹mf6÷ܳçõ9/û÷ΟÅ× | |
N1\ÉÚ}Ó–ÎKží¹å‰M/ï¹²!6ôIb¦ˆ¹DÌ9b¦‰QÐÀ\çe®›ÜÊëÉ̺Èz | |
šÈ·rŽmät_]Š/9B$3®pÊ %9ÓÎp3ÎÚ%/n¸äY8MÞšá†.“~üÅŠ24—¹’ñ#!�@›È®fŽ´³‚�ÅÈë¸aÞÃ|øeÜÖqL34LÛ9ц³4KªCCTI½¢á44tkhEC ,•ÎÄ K$J…Œp–xƤÛãv–›iîò^c6H ®¾D¼¡‰ƒ} ½‹%Ë3 | |
"f• × “–e{Ü3l‹ü\xž#ÎÖS¥bÑ®K{d²‘ -QhM ±1Y4T\Ä› | |
B”þ|4¼…ªV^xËFÎ[ó“�I05D0T}5mr—|w„ã{=æ3£*Þ†®àáu蕆Ëah%ý”Q(š"ÁTç#)Ï1¬|TÁ;݇ÙS%êá4ã]2ã·ŠãØØ„JãrMVë=ª_ø¨½Á´”ÓÅ8áÀ‹Eaå·cG�×¼D¥Æ„†dÐÍT,ÿ¥ŠIL+˜¢éÚŮ䦷ón`†Ú¶Ì0P'„:AÅÌ1„w m9ÂF—mÆ�jõCÕã&wxÁU1‹˜Lòc*i8F�ÜBœ¸†hÄÙ�XÈÚ&5ÜÄ'T WxûõÉUøèDÌ9v©xÀOTNáSK=» | |
¶«ûÈ„Ò3‹©X2¡!-Ý*©ó÷b‰%éø3 +¸E}Ai^,Ô©Tècw!~w|ÎÐw¬ †{X¥ê9¢`—EuZ’Öá�u½N²'Xu~¯ÜAFCvŸ“ÿ[‹ê^R_k8Gâ')MgkÊãÙ¼X[ jÊ.9Y1kÈ˹z{â’l%ªïŒ•5m—ZiAxkvN�É0úâkGƒ›ÌÑÆ ÑÞ—Ow«T‹Y”¾?ÖÂUàì‡Ý>¡Ö¨uŠ‚ÃÅ4žú:tÕ$Ÿ{¹«~I|E+óøÑO;>@O#Á \ÿ@°].ÿ¤ÕOßSô´¢�¤Î5E÷:;#C[F†·ÐéÛ¢ë6º~õ¥ÏÑ¿êkI�oð*QѤƒ^œ÷ù}è!‰×ˆ–v_§§ÿ6˜‹¾�ÈC€Îû‘ßÑ^Áã‘ | |
Â?ÃèJû•m\íàzïÿ�—Ÿav%¸ÜÙÆGý¤Ð¹TW·0/u‡+Hü†Åàé§8[µµL¦nÿ‚¶½—Qü¨Gý|¿%ч|�Aü€!¢u<Æ8žÐ^ûq<Å-ü�Ÿýìú«ÑÖ²kÆ]äüŒu\#™û”i¾ŠÉ¿´ÌÊOÈš�•�u:𠉊P%Rø.ÕÀC›t6Ò>l’ëíKÿ.‘¤ßPK+ƒ&cs PK pKG 8 com/xten/autospantextgridview/AutoSpanTextGridView.class�X xTÕþo2áM† !†� ²M&À²& P0˜ ’Æ ^2�äÁd&Î’ .Õ—j[mmëR[±ZE2£Fµ‹u©ÖÖî¶vµµÖ®ÖZèï{™ÌL&±¾äÝw—sþsþsÎ=�§�=|Àb±FCžÀâÎp�oÌù�x,í5B1so¬+bú,³ßßÈÉVN¶qr'·qRƒK Â"a+àï·]fÌßÚ ƒrY@3FoÌŒLkÎڶƈš�öj½Àø€ÙgušÛ@¬[@4 ¸#á~ç5ŸC�ªl ÍVÈ4"Íƾp<Fãz�ˆŠQigXA'´Ô5Šù×ÚKrû*+dňÌ;ꮚm®µá€éA>Ju¡¸e:&`¢‡£r'¡‚›¤,õÊEئxO‡i3:‚¦@Is¸Ón3"–|w&]±n+*°¤ù½û�ðWŽŽ:µ�YAc,±:â1³ÕŒÕ75I€•[㡘Õc6…ú¬¨E0�¡P8fĬpˆ€f¦Î©ik¼·7bF£4M:¯ ÏÆiøMfc¯%Ý3[º§šKRLå0ô€¹«5¶�ª9¯è·_·š<ºâÄl«Ù&qÔJ5ËOHˆ-c¡”1_Ã)4#cï:+Ú4öµ˜<ÒõÀ�Årk…†%“S~ëíõ7vƬ>+¶ÏƒS±LÇr¬(fÔn·B�p‹2ºdZT{kRhÝëõãQ‡Uè°©£ïÒ±ŒãI”¾ÎÜeă1¦ÀIÙâ�•zNÓ¾1 uúºŽµX'à¡HÇV�Þæ1|AÏÒëul€›„öËÔÝbí5ƒQ™2M:4¸5œ)0/+�×GŒÓÎâÙöc‹Á)zw#Z¤w71¨¼MŠ^�-:ÎÂV&YÔŒ¥ïðz3M•‰²!Ž÷fH%N mi¼æ(&´¢T¢Þ®CÇxùÚ®ã\œ'0‘j7G,F“Êf±WkʼnîB;°SÕ½€]§ä@¥êÊÄ€í¿ž!ÿV�é^»¾)Ck²áhä!ñ6ÕàéÞ±Š°$P [GÆI[vëØ#k[Y—2#óƒU($k—´Áƒ„5„Ò"s¤L½¸ˆÞà´í�FoSwŒÂ[}MŽ½è�ò,•²6Ú â:ú@U:XMÂñH§¬)3Ó2a¨° ùS[ê±kØ/0g슼uv€Å3¤ãéS 'Ówt‡#Ö~Š6‚;zŒH—òà2\®áýävLÕ:®À”£™¹”ed©Ôiµö›vˆ5IÐq%®²ýÙ3{x„KÍ»�>Ã4B]þÍ»ÍÎ}t ‹Íðt+C(ÔåA×ê¸æåJ [KÞ–SÓ#ÍTÎTk,Åõ>Æ(νCÇÇñ &{�iDã³M]ºeÞælÕõ5ë=¸7iød0¯ŽOáÓ6¦µA#J²J½éV©I‚¹ŸÓðY¦~Ö’ŽÏã� <ßjõôÍML¶! ·1|²§×Ä`ÀŒ¸ñÆÍÖpÿÕxÔÕ5xp+¾(kЗF±KåÌA…p˽_Öñ|•¹Ê+ÀdsÑ4…£®^ž¸Gǽ½›·¼CÓ}8¤á~:*£4‡»t<€ÃìŽ(w^09à5¹‘�¥f¸¹¢Qn<È’d)#xXÇ ±ãÊæpj&ÝF¤Õ¼(n†:Múˆ4ó1�Þ‘Á7º¹n<N÷ZÜa$O | |
,;‘™êßÐñM|‹Þ–©.[ÄéÞµ1£I”d}[‡GÖt�gt<‹ç‰Åzm71Ú5ª<WÅvnŸçu¼ k¢¼}ÖǃAeUËàB™¢ßÓñ}¼äs8²›B¶³Âb"÷)Ù‡ÊëµÖK0ô™l)U†—ŒdU 0åD†}kÌèÜÓbôª¶RyYÇ+ƒLe—âƯ ³‡‰;Þ÷á×:~£¢ªÏ�ßñP§<ÁRßi*‚þÀ8ŒÊ·f›3¢fÿHQJô%[‰jÅë:þŒ7ì¶A6ÆäØ”«ŽKo¾©ã¯’€"VCç„BæÆßÙ¯>�Ö¢4‰dØš–a«LNXoã ÿa;5bQÇqŒÇœÛ¬-bš›;¢f¤O | |
›™Ýieo©×èc,yïÍþìEy¬B"_àLï‰|/ŒÑ¢@hš—v?å„®·(”z�ÀæІ`¸ÃÚ ÕlEc²9ÈøÉ)bvßb¼.t1�qÍ@à•§r¹<g« ;'wÈ´¿s¢X“D c¨+»œ—‹‘ ¡&&³y£ldl/¥bŠ.ÊÅI¬;ý¦ÕÕÍëÙ¢öÛ!ç«e·gšB»‚l†:^!ªtQ-¦;94ô[™£yú˜ñˆ™b–&NNki•µ¶&G>)œ-氨슄{ÆüÀÊòY¦”úB1OÔhÂ+0÷Ýz¤ :©Ÿl’Jø¿CrgÈ”•Š¸çëb�XȪgÙ | |
æb}ônÐ#JÑB³‚*d<ªŸZoÉÏëŠ\‰°PSVü&bˆ¨æÁŒjb©À¬ÿ#R4±<ÊÜH™™[ë˜ë'’Ô�{A«GöÚi�¿&Nãø.¬0LUïÊصùÁL¥| ã�'Žòä—šz:OÞ—ê©;Ï ˜È§Î“E(æßI|ÛÌù<>‹|µI”øj0Ù—Ä”ûÕ�©ü[ÿN£’* | |
¬¦ˆé¨äÌûWª 5’â…^͵霓ï3ø;ó<ˆ(NV | |
/¢¤>K}µó«Ê\IÌUéZ2—BæñÝ«”.±�¦”–:Jåh÷æ©Ñ<ÚŸ¯F^Ž\ | |
RÍ�Lî‘ú&IHIøF´�.öÓ�§Ð}‹ Ÿ}0hR | |
Ф I c¾ãösù.!SeFÕ¸”Ô.#}Ëyv…Ò8Ã>—ÒXœÒXìhÌ“ÿ·åèyžRä~sþö$5ûcòQœšÀÒ‡°R 6�Ó|µ‡ñ¾œ1ˆ�íyyI4·øæ'°Ù7ˆÖv¹=‰³°�£m®ÎQ»Š�©mœâÎó}r�ÀÃàÓIÀ*š½åh ðÓ1k± 븶�8Mü׆�8g"€æ4ãLÇ87.€�š²€ÆwrWÇ&v9Æwb×#Ý×E÷YÃ&*I›/[Eg¥…¬'å:�ÊÁÙ=CoÓaÌ&15ÕA¡Ó°®JáK x‘>c‡°7�KÔB<Š«ë\ôÁ‡*è›�Tt_Õqݲn¼!�ÏâÖö’Û“¸ƒ»ïLà®î~_Ûž¾:`¯ž‘{5ÉU | |
(�Gs¬åjYÁˆ“%OÈ—Ê›Qæ£K¾>€§|óË | |
’xú VJ e;¥Æ;0!5?“¿#IäïS |7ëà!*¥Á ¼xû±7¤�ó•�/$· ‡8›¹¶�ijÑNÞÏc€Ÿ�½äï&î:„xŒL>I.Ÿ!�/’É—Èã«dò5táutãMXx»…{Äx´‰ | |
„g 6gy¢?`\°›Ã[ø!~DîªyþÇ*ÁjÙ?ÿ?%ƒ«ø?ã\~ÎSsQð | |
ÄqNŽÓxWkˆð÷jæLùqŠÍ“sP±ôB*®·ã ¯H_I·VUÚÞùEpõШ·!��_’�Ê!:^Í ê·\š–{é÷\ªÊ½ôšRÓð†üe®ƒXXuÊÊ\΢+p´iU;WË÷2âŸê | |
|Ó’øË—Hm»ýø³¾üÜ9'“â†Ù\Ãô1+ú1™ÜUc?Vâbò{ ¹¸×ã2²y9î¸�Ä•8¹çp ½/ãºaÆȄ͘‡|ýC16™_mÿäH2öþ¥»uŠO¥iäó-‡±ä§²ÉŒ�ä”Mæ9~t8™ßF2¿KX¿þ=ˆãí¾ÚiI!Â5\<*Ûoäþ»ÒjKI*ûK”>¡F6®<ù]éh8Û)ÐEÒyµ2'¦Õ&…'»ÀÜ̓÷p|ošŠô;qHE‘˜h«� ³£âZî–5Þ§øEGEé&_;Cr'YZà°vÕ€(“Ã,´ÃÚ«é.0±\x€£C¼!£l¼ê’iw“/…ÆǤr+4>…+�§¦£“É•Ï1¿Ès]‘¢Ra½Ú¹Gj| 1íA1ã�˜Ko×Ekó (U‚ð·ÔÊÛ 6Ÿ·Dí})¨sY�AÂ|„ | |
éíGY‰�0Ó%°ÇxåùxškÈ%(§ð¿sxŸH Ò�‹TX,N峚X"–‰(+ùUT?®Å*õ^ʯ>qöÏ>Ñ NG;áшŠÿPK™Ép�“ F PK ½KG 8 com/xten/autospantextgridview/utils/ColorGenerator.class�T]lUþ†Ûv»Û¡Ý�ÒR@ »[èbE¶kiqë.ÕþºÖfwÇí”ín�™-/ÒDñÁø_|SI|©D"ýb51Q¢1ÑDž|"‘W£j|�ñÜ;Û¥[£tÓ¹gæÞó}ç|çœûÍí«Ë Ú0í mÉÜDhÚÒ²!5oåÌI5kiÓVÚÐSSºv&”·ôŒêÊerÆ -«ª•3\(“àW§ÔPFͦC}‰q-iIpïîéŠJ8ýÿ¨a •±ÎÁîþHg”°&Ä®IDQÁÄ]BQÝ´èœ{@OgU+ohš×l·Gï!Ö´f„;°_ͦr”UÎ7NÝžÌèYÝê�Àü�a e]¹”æ‚"Áw ³K¦<ð¡NF=6ø”šÉk}/J¨÷GëDÀìßÏÅ™ý×…fÿüU+³ÓŸ[ÌŽ°ÌìÆw¾cölj�˜}vdÖƒ&ìva׊¾"ÈNÃPgL÷£YB…jò4)qÿhtm Â�µby a¯?äš44Õ"Ízük�î¥`nÂn‘QŽ | |
fß2Mfÿšx›ÙWÇ®3ûÝ<%5óÚ·ÌNÍÿÁì¾/ÿdvìû›ôX˜cöìׯ2ûâ�Yfÿxs„ÙÙo^¸ÈñÂ2\¨�PÕ³ÚÉüDB3ÕDFãeË%ÕÌ°jèü½ðqtm&ë—ÿžÒãÒ=*£�‘tí…樽[:jw’»:u©/�sfr%VÿŒu؆œ¸†+‘Q ·O”ô„Ó¸ÄÐçÂÉ’q˜1-mBÆ“xŠš7™7-k êZLÏdtS4x¯½à4eþÞÀ0§–!c#}°Æø¹ê´f9<Bá©Â(žsáYÚ.ÍFÆ󈓯©¿¬qôS2T$h6²¤4¥Çy"ŽJ†FêJG¦ÐÉ|¼Ædè³RÏZÃ|ÂÈ$—B4uþuú?ÂÅ£ä³ÂoL5Çø{0 º¶^Z Z¸ÄT‹L#S\—ÓÚLñzX�*Á3�ËIGç…¬-m”V~žæ– è^-ƒ›OYnÞÉ´*¼~´ë!{ªè�D&»œ¾W£†v¼€ôyò¿Û^÷gðÅ™R»„Mñ2¥A¬åʱV([ÅêR¶‰µR¹O¬Þ | |
e»c¸”ŽQ©ìäÆ—°çS½>x_x¸µ * ( ?°Ü¶üà | |
ðAÇp+9†G9äU¾×5Ç’•‡c£ïFŸcUûcŽU£v¯rduŒG/ �Úé9…íB;jI£MØŒ:ì¤Ûv/Y!4à0¶P÷n¥FÛ†8�=…£“hÄ4Uã,vá<vã-º6ßC3>ÄÌ‘÷<Ý…Ëà:‚ø-ø ûpûñZñ7à¯Ý™d9Uëà5B7UXâ{× Åƒ‹8ö ½0n…Ø8$Üeçºè8^ò¥JÀÑ�R„îÐãÔœ¶�`{‚-óx<x ½ñ%DÑ?�¡KE&E4Êz%Ä0ÉÑ.X댈¦ãV—h»;ü ‚_¢ßÓ$™h;’ÏI©1x™(/cˆ¯WðŒ„¼pÉ ø¾¤çŠ…q2=¶*ÓƧDYœ.à.�§‰ãµ, ³„\zò_€»V%ÓTL¦ ò"ô)qþÌ?PKçC;Ì Æ PK ·^LG¬…¢ META-INF/MANIFEST.MFþÊ PK pKG+ƒ&cs : J com/xten/autospantextgridview/AutoSpanTextGridView$1.classPK pKG™Ép�“ F 8 % com/xten/autospantextgridview/AutoSpanTextGridView.classPK ½KGçC;Ì Æ 8 com/xten/autospantextgridview/utils/ColorGenerator.classPK z P |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
import android.annotation.SuppressLint; | |
import android.os.Build.VERSION; | |
import android.util.Log; | |
import android.view.View; | |
import android.view.ViewTreeObserver.OnGlobalLayoutListener; | |
import android.widget.LinearLayout.LayoutParams; | |
import com.xten.autospantextgridview.AutoSpanTextGridView; | |
class AutoSpanTextGridView$1 implements OnGlobalLayoutListener { | |
AutoSpanTextGridView$1(AutoSpanTextGridView var1, View var2, int var3) { | |
this.this$0 = var1; | |
this.val$view = var2; | |
this.val$childSpace = var3; | |
} | |
@SuppressLint({"NewApi"}) | |
public void onGlobalLayout() { | |
int childWidth = this.val$view.getWidth(); | |
Log.v(this.getClass().getSimpleName(), "childWidth::>" + childWidth); | |
LayoutParams params = new LayoutParams(-2, -2); | |
params.width = childWidth + this.val$childSpace + 10; | |
this.val$view.setLayoutParams(params); | |
if(VERSION.SDK_INT < 11) { | |
this.val$view.getViewTreeObserver().removeGlobalOnLayoutListener(this); | |
} else { | |
this.val$view.getViewTreeObserver().removeOnGlobalLayoutListener(this); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
import android.annotation.SuppressLint; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.os.Build.VERSION; | |
import android.util.AttributeSet; | |
import android.util.DisplayMetrics; | |
import android.util.Log; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.view.ViewTreeObserver.OnGlobalLayoutListener; | |
import android.widget.BaseAdapter; | |
import android.widget.LinearLayout; | |
import android.widget.ScrollView; | |
import android.widget.TextView; | |
import android.widget.FrameLayout.LayoutParams; | |
import com.xten.autospantextgridview.R.dimen; | |
import com.xten.autospantextgridview.R.layout; | |
public class AutoSpanTextGridView extends ScrollView { | |
private BaseAdapter adapter; | |
private int deviceWidth; | |
private int rowWidth; | |
private LinearLayout row; | |
private LinearLayout parent; | |
private Context context; | |
public AutoSpanTextGridView(Context context) { | |
super(context); | |
this.context = context; | |
this.init(); | |
} | |
@SuppressLint({"NewApi"}) | |
public AutoSpanTextGridView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { | |
super(context, attrs, defStyleAttr, defStyleRes); | |
this.context = context; | |
this.init(); | |
} | |
@SuppressLint({"NewApi"}) | |
public AutoSpanTextGridView(Context context, AttributeSet attrs, int defStyleAttr) { | |
super(context, attrs, defStyleAttr); | |
this.context = context; | |
this.init(); | |
} | |
public AutoSpanTextGridView(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
this.context = context; | |
this.init(); | |
} | |
private void init() { | |
DisplayMetrics displaymetrics = new DisplayMetrics(); | |
((Activity)this.context).getWindowManager().getDefaultDisplay().getMetrics(displaymetrics); | |
this.deviceWidth = displaymetrics.widthPixels; | |
LayoutParams params = new LayoutParams(-1, -1); | |
this.setLayoutParams(params); | |
this.parent = new LinearLayout(this.context); | |
this.parent.setOrientation(1); | |
params = new LayoutParams(-1, -2); | |
this.parent.setLayoutParams(params); | |
this.addView(this.parent); | |
} | |
public void setAdapter(BaseAdapter adapter) { | |
this.adapter = adapter; | |
this.generateSpannableView(); | |
} | |
private void generateSpannableView() { | |
for(int i = 0; i < this.adapter.getCount(); ++i) { | |
TextView view = (TextView)this.adapter.getView(i, (View)null, this); | |
int padding = this.getResources().getDimensionPixelSize(dimen.activity_horizontal_margin); | |
String item = (String)this.adapter.getItem(i); | |
int itemWidth = (int)(view.getPaint().measureText(item) + (float)(padding * 2)); | |
Log.d(this.getClass().getSimpleName(), "Row Width::>" + this.rowWidth); | |
Log.d(this.getClass().getSimpleName(), "deviceWidth::>" + this.deviceWidth); | |
Log.d(this.getClass().getSimpleName(), "Text::>" + view.getText()); | |
Log.d(this.getClass().getSimpleName(), "itemWidth::>" + itemWidth); | |
Log.d(this.getClass().getSimpleName(), ":::::::::::::::::::::::::::::::::::::::::::::::::::::"); | |
if(i == 0) { | |
this.row = this.getRow(); | |
this.addChildView(view, itemWidth); | |
} else if(this.rowWidth + itemWidth <= this.deviceWidth) { | |
this.addChildView(view, itemWidth); | |
} else { | |
this.setFullWidthRow(); | |
this.parent.addView(this.row); | |
this.row = this.getRow(); | |
this.addChildView(view, itemWidth); | |
} | |
} | |
} | |
private void setFullWidthRow() { | |
int remainWidth = this.deviceWidth - this.rowWidth; | |
int childSpace = remainWidth / this.row.getChildCount(); | |
int spaceReminder = remainWidth % this.row.getChildCount(); | |
Log.v(this.getClass().getSimpleName(), "remainWidth::>" + remainWidth); | |
Log.v(this.getClass().getSimpleName(), "childSpace::>" + childSpace); | |
Log.v(this.getClass().getSimpleName(), "spaceReminder::>" + spaceReminder); | |
Log.v(this.getClass().getSimpleName(), "Child Count::>" + this.row.getChildCount()); | |
for(int i = 0; i < this.row.getChildCount(); ++i) { | |
if(spaceReminder > 0 && i == this.row.getChildCount() - 1) { | |
childSpace += spaceReminder; | |
} | |
View view = this.row.getChildAt(i); | |
this.resetChildWidth(view, childSpace); | |
} | |
this.rowWidth = 0; | |
Log.v(this.getClass().getSimpleName(), "===================================================="); | |
} | |
private void resetChildWidth(final View view, final int childSpace) { | |
view.getViewTreeObserver().addOnGlobalLayoutListener(new OnGlobalLayoutListener() { | |
@SuppressLint({"NewApi"}) | |
public void onGlobalLayout() { | |
int childWidth = view.getWidth(); | |
Log.v(this.getClass().getSimpleName(), "childWidth::>" + childWidth); | |
android.widget.LinearLayout.LayoutParams params = new android.widget.LinearLayout.LayoutParams(-2, -2); | |
params.width = childWidth + childSpace + 10; | |
view.setLayoutParams(params); | |
if(VERSION.SDK_INT < 11) { | |
view.getViewTreeObserver().removeGlobalOnLayoutListener(this); | |
} else { | |
view.getViewTreeObserver().removeOnGlobalLayoutListener(this); | |
} | |
} | |
}); | |
} | |
private void addChildView(View view, int newWidth) { | |
this.row.addView(view); | |
this.resizeRow(newWidth, view); | |
} | |
private void resizeRow(int width, View view) { | |
android.widget.LinearLayout.LayoutParams params = (android.widget.LinearLayout.LayoutParams)this.row.getLayoutParams(); | |
this.rowWidth += width; | |
params.weight = (float)this.row.getChildCount(); | |
this.row.setLayoutParams(params); | |
} | |
@SuppressLint({"InflateParams"}) | |
private LinearLayout getRow() { | |
LinearLayout lRow = (LinearLayout)LayoutInflater.from(this.getContext()).inflate(layout.row_item_spanneble, (ViewGroup)null); | |
android.widget.LinearLayout.LayoutParams params = new android.widget.LinearLayout.LayoutParams(-1, -2); | |
lRow.setLayoutParams(params); | |
lRow.setOrientation(0); | |
return lRow; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
public final class BuildConfig { | |
public static final boolean DEBUG = true; | |
public BuildConfig() { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
public final class R$attr { | |
public R$attr() { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
public final class R$dimen { | |
public static int activity_horizontal_margin = 2130903040; | |
public static int activity_vertical_margin = 2130903041; | |
public R$dimen() { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
public final class R$layout { | |
public static int auto_span_text_grid_view = 2130837504; | |
public static int row_item_spanneble = 2130837505; | |
public R$layout() { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
public final class R$string { | |
public static int action_settings = 2130968578; | |
public static int app_name = 2130968576; | |
public static int hello_world = 2130968577; | |
public R$string() { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview; | |
public final class R { | |
public R() { | |
} | |
public static final class attr { | |
public attr() { | |
} | |
} | |
public static final class dimen { | |
public static int activity_horizontal_margin = 2130903040; | |
public static int activity_vertical_margin = 2130903041; | |
public dimen() { | |
} | |
} | |
public static final class layout { | |
public static int auto_span_text_grid_view = 2130837504; | |
public static int row_item_spanneble = 2130837505; | |
public layout() { | |
} | |
} | |
public static final class string { | |
public static int action_settings = 2130968578; | |
public static int app_name = 2130968576; | |
public static int hello_world = 2130968577; | |
public string() { | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Source code recreated from a .class file by IntelliJ IDEA | |
// (powered by Fernflower decompiler) | |
// | |
package com.xten.autospantextgridview.utils; | |
import java.util.Arrays; | |
import java.util.List; | |
import java.util.Random; | |
public class ColorGenerator { | |
public static ColorGenerator DEFAULT = create(Arrays.asList(new Integer[]{Integer.valueOf(-957596), Integer.valueOf(-686759), Integer.valueOf(-416706), Integer.valueOf(-1784274), Integer.valueOf(-9977996), Integer.valueOf(-10902850), Integer.valueOf(-14642227), Integer.valueOf(-5414233), Integer.valueOf(-8366207)})); | |
public static ColorGenerator MATERIAL = create(Arrays.asList(new Integer[]{Integer.valueOf(-1739917), Integer.valueOf(-1023342), Integer.valueOf(-4560696), Integer.valueOf(-6982195), Integer.valueOf(-8812853), Integer.valueOf(-10177034), Integer.valueOf(-11549705), Integer.valueOf(-11677471), Integer.valueOf(-11684180), Integer.valueOf(-8271996), Integer.valueOf(-5319295), Integer.valueOf(-30107), Integer.valueOf(-2825897), Integer.valueOf(-10929), Integer.valueOf(-18611), Integer.valueOf(-6190977), Integer.valueOf(-7297874)})); | |
private final List<Integer> mColors; | |
private final Random mRandom; | |
public static ColorGenerator create(List<Integer> colorList) { | |
return new ColorGenerator(colorList); | |
} | |
private ColorGenerator(List<Integer> colorList) { | |
this.mColors = colorList; | |
this.mRandom = new Random(System.currentTimeMillis()); | |
} | |
public int getRandomColor() { | |
return ((Integer)this.mColors.get(this.mRandom.nextInt(this.mColors.size()))).intValue(); | |
} | |
public int getColor(Object key) { | |
return ((Integer)this.mColors.get(Math.abs(key.hashCode()) % this.mColors.size())).intValue(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cache for current jar dependency. DO NOT EDIT. | |
# format is <lastModified> <length> <SHA-1> <path> | |
# Encoding is UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int dimen activity_horizontal_margin 0x7f030000 | |
int dimen activity_vertical_margin 0x7f030001 | |
int layout auto_span_text_grid_view 0x7f020000 | |
int layout row_item_spanneble 0x7f020001 | |
int string action_settings 0x7f040002 | |
int string app_name 0x7f040000 | |
int string hello_world 0x7f040001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Automatically generated file. DO NOT MODIFY */ | |
package com.xten.autospantextgridview; | |
public final class BuildConfig { | |
public final static boolean DEBUG = true; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* AUTO-GENERATED FILE. DO NOT MODIFY. | |
* | |
* This class was automatically generated by the | |
* aapt tool from the resource data it found. It | |
* should not be modified by hand. | |
*/ | |
package com.xten.autospantextgridview; | |
public final class R { | |
public static final class attr { | |
} | |
public static final class dimen { | |
/** Default screen margins, per the Android Design guidelines. | |
Example customization of dimensions originally defined in res/values/dimens.xml | |
(such as screen margins) for screens with more than 820dp of available width. This | |
would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). | |
*/ | |
public static int activity_horizontal_margin=0x7f030000; | |
public static int activity_vertical_margin=0x7f030001; | |
} | |
public static final class layout { | |
public static int auto_span_text_grid_view=0x7f020000; | |
public static int row_item_spanneble=0x7f020001; | |
} | |
public static final class string { | |
public static int action_settings=0x7f040002; | |
public static int app_name=0x7f040000; | |
public static int hello_world=0x7f040001; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
‰PNG | |