OSDN Git Service

An ugly hack to render CalendarView. [DO NOT MERGE]
authorDeepanshu Gupta <deepanshu@google.com>
Tue, 25 Aug 2015 23:06:57 +0000 (16:06 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Tue, 25 Aug 2015 23:06:57 +0000 (16:06 -0700)
commitc9862b4429b32985d5267fa6ae28025278bdd603
treedbf9c08c4d76c631728fcd270c2384bab7496964
parentb1ad4a155957160de9c4ad5c5beb39ce00ef6799
An ugly hack to render CalendarView. [DO NOT MERGE]

This is an ugly hack to switch the field
android.widget.SimpleMonthView.mDayFormatter from
java.text.SimpleDateFormat to icu's version of the same class. The hack
is only for the L version of the LayoutLib. It's done in a better way in
M and even better in N.

Change-Id: Id84a1d32040211c46b20cdaf3a77119676e748b6
tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmAnalyzer.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/SimpleMonthViewAdapter.java [new file with mode: 0644]