commit | eae390a94ee63676bc6cbe3b36dbe5bb48e82f6b | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Fri Jan 02 11:20:19 2015 -0800 |
committer | Deepanshu Gupta <deepanshu@google.com> | Fri Jan 02 11:20:19 2015 -0800 |
tree | 0f67de8096b45dad100858095898536f2929b131 | |
parent | e64a5bd2fb54d84d6fd2119ef831df1eba4185ff [diff] |
Add DatePicker, CalendarView to LayoutLib tests Change-Id: Ice8c41ff90ccb0ffe90fcbfcccc91ea24225a3d9
diff --git a/tools/layoutlib/.idea/codeStyleSettings.xml b/tools/layoutlib/.idea/codeStyleSettings.xml index b324213..a04e440 100644 --- a/tools/layoutlib/.idea/codeStyleSettings.xml +++ b/tools/layoutlib/.idea/codeStyleSettings.xml
@@ -67,9 +67,13 @@ </groups> </arrangement> </codeStyleSettings> + <codeStyleSettings language="XML"> + <indentOptions> + <option name="CONTINUATION_INDENT_SIZE" value="4" /> + </indentOptions> + </codeStyleSettings> </value> </option> <option name="USE_PER_PROJECT_SETTINGS" value="true" /> </component> -</project> - +</project> \ No newline at end of file
diff --git a/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml b/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml index 2704c07..b8ec5661 100644 --- a/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml +++ b/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/res/layout/layout.xml
@@ -8,4 +8,10 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Some text"/> + <DatePicker + android:layout_width="100dp" + android:layout_height="100dp"/> + <CalendarView + android:layout_width="100dp" + android:layout_height="100dp"/> </LinearLayout> \ No newline at end of file