Skip to content

Commit f0b10c7

Browse files
committedFeb 20, 2016
Add new module which is library-ui-test.
1 parent 8908aaa commit f0b10c7

16 files changed

+511
-2
lines changed
 

‎build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ buildscript {
77
dependencies {
88
classpath 'com.android.tools.build:gradle:1.3.1'
99
classpath 'com.novoda:bintray-release:0.3.4'
10+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
1011
}
1112
}
1213

‎gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ VERSION_NAME=1.4.2
77
SUPPORT_TEST_VERSION=0.4.1
88
HAMCREST_VERSION=1.3
99
ESPRESSO_VERSION=2.2.1
10+
KOTLIN_VERSION=1.0.0
1011

1112
SUPPORT_APP_COMPAT_VERSION=23.0.1
1213

‎library-ui-test/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

‎library-ui-test/build.gradle

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
4+
android {
5+
compileSdkVersion COMPILE_SDK_VERSION as int
6+
buildToolsVersion BUILD_TOOLS_VERSION
7+
8+
defaultConfig {
9+
minSdkVersion MIN_SDK_VERSION as int
10+
targetSdkVersion TARGET_SDK_VERSION as int
11+
versionCode VERSION_CODE as int
12+
versionName VERSION_NAME
13+
14+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
15+
}
16+
buildTypes {
17+
release {
18+
minifyEnabled false
19+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
20+
}
21+
}
22+
}
23+
24+
dependencies {
25+
compile project(':library')
26+
27+
compile "com.android.support:appcompat-v7:$SUPPORT_APP_COMPAT_VERSION"
28+
compile "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
29+
androidTestCompile "com.android.support:support-annotations:$SUPPORT_APP_COMPAT_VERSION"
30+
androidTestCompile "com.android.support.test:runner:$SUPPORT_TEST_VERSION"
31+
androidTestCompile "com.android.support.test:rules:$SUPPORT_TEST_VERSION"
32+
androidTestCompile "com.android.support.test.espresso:espresso-core:$ESPRESSO_VERSION"
33+
}

‎library-ui-test/proguard-rules.pro

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /Applications/android-sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.github.aakira.expandablelayout.uitest">
4+
5+
<application
6+
android:allowBackup="true"
7+
android:icon="@mipmap/ic_launcher"
8+
android:label="@string/app_name"
9+
android:supportsRtl="true"
10+
android:theme="@style/AppTheme">
11+
<activity android:name=".TestActivity">
12+
<intent-filter>
13+
<action android:name="android.intent.action.MAIN"/>
14+
15+
<category android:name="android.intent.category.LAUNCHER"/>
16+
</intent-filter>
17+
</activity>
18+
</application>
19+
20+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package com.github.aakira.expandablelayout.uitest
2+
3+
import android.support.v7.app.AppCompatActivity
4+
import android.os.Bundle
5+
6+
class TestActivity : AppCompatActivity() {
7+
8+
override fun onCreate(savedInstanceState: Bundle?) {
9+
super.onCreate(savedInstanceState)
10+
setContentView(R.layout.activity_test)
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<RelativeLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:app="http://schemas.android.com/apk/res-auto"
5+
android:layout_width="match_parent"
6+
android:layout_height="match_parent">
7+
8+
<LinearLayout
9+
android:id="@+id/column1"
10+
android:layout_width="match_parent"
11+
android:layout_height="wrap_content"
12+
android:background="@color/gray_light"
13+
android:orientation="horizontal"
14+
android:padding="1dp">
15+
16+
<Button
17+
android:id="@+id/expandButton"
18+
android:layout_width="0dp"
19+
android:layout_height="wrap_content"
20+
android:layout_marginRight="1dp"
21+
android:layout_weight="1"
22+
android:text="Toggle"/>
23+
24+
<Button
25+
android:id="@+id/moveChildButton"
26+
android:layout_width="0dp"
27+
android:layout_height="wrap_content"
28+
android:layout_marginRight="1dp"
29+
android:layout_weight="1"
30+
android:text="Move child1"/>
31+
32+
<Button
33+
android:id="@+id/moveChildButton2"
34+
android:layout_width="0dp"
35+
android:layout_height="wrap_content"
36+
android:layout_weight="1"
37+
android:text="Move child2"/>
38+
</LinearLayout>
39+
40+
<LinearLayout
41+
android:id="@+id/column2"
42+
android:layout_width="match_parent"
43+
android:layout_height="wrap_content"
44+
android:layout_below="@id/column1"
45+
android:background="@color/gray_light"
46+
android:orientation="horizontal"
47+
android:paddingBottom="1dp"
48+
android:paddingLeft="1dp"
49+
android:paddingRight="1dp">
50+
51+
<Button
52+
android:id="@+id/moveTopButton"
53+
android:layout_width="0dp"
54+
android:layout_height="wrap_content"
55+
android:layout_marginRight="1dp"
56+
android:layout_weight="1"
57+
android:text="Top"/>
58+
59+
<Button
60+
android:id="@+id/setCloseHeightButton"
61+
android:layout_width="0dp"
62+
android:layout_height="wrap_content"
63+
android:layout_weight="2"
64+
android:text="Set close height"/>
65+
</LinearLayout>
66+
67+
<com.github.aakira.expandablelayout.ExpandableRelativeLayout
68+
android:id="@+id/expandableLayout"
69+
android:layout_width="match_parent"
70+
android:layout_height="match_parent"
71+
android:layout_below="@id/column2"
72+
android:background="@color/material_light_blue_500"
73+
app:ael_duration="500"
74+
app:ael_interpolator="bounce"
75+
app:ael_orientation="vertical">
76+
77+
<TextView
78+
android:id="@+id/one"
79+
android:layout_width="match_parent"
80+
android:layout_height="wrap_content"
81+
android:background="@color/material_cyan_500"
82+
android:padding="@dimen/margin_small"
83+
android:text="
84+
sample.sample.sample.sample.sample.sample.sample.sample.sample.sample.\n
85+
sample.sample.sample.sample.sample.sample.sample.sample.sample.sample.\n
86+
"
87+
android:textColor="@color/white"/>
88+
89+
<TextView
90+
android:id="@+id/two"
91+
android:layout_width="match_parent"
92+
android:layout_height="wrap_content"
93+
android:layout_below="@id/one"
94+
android:background="@color/material_blue_500"
95+
android:padding="@dimen/margin_small"
96+
android:text="
97+
sample.sample.sample.sample.sample.sample.sample.sample.sample.sample.\n
98+
sample.sample.sample.sample.sample.sample.sample.sample.sample.sample.\n
99+
"
100+
android:textColor="@color/white"/>
101+
102+
<TextView
103+
android:layout_width="match_parent"
104+
android:layout_height="wrap_content"
105+
android:layout_below="@id/two"
106+
android:background="@color/material_indigo_500"
107+
android:padding="@dimen/margin_small"
108+
android:text="
109+
sample.sample.sample.sample.sample.sample.sample.sample.sample.sample.\n
110+
sample.sample.sample.sample.sample.sample.sample.sample.sample.sample.\n
111+
"
112+
android:textColor="@color/white"/>
113+
</com.github.aakira.expandablelayout.ExpandableRelativeLayout>
114+
</RelativeLayout>
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="transparent">#0fff</color>
4+
<color name="white">#fff</color>
5+
<color name="gray">#333</color>
6+
<color name="gray_light">#dfdfdf</color>
7+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,294 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<!-- red -->
4+
<color name="material_red_50">#ffffebee</color>
5+
<color name="material_red_100">#fff4c7c3</color>
6+
<color name="material_red_200">#ffef9a9a</color>
7+
<color name="material_red_300">#ffe67c73</color>
8+
<color name="material_red_400">#ffef5350</color>
9+
<color name="material_red_500">#ffdb4437</color>
10+
<color name="material_red_600">#ffe53935</color>
11+
<color name="material_red_700">#ffc53929</color>
12+
<color name="material_red_800">#ffc62828</color>
13+
<color name="material_red_900">#ffb71c1c</color>
14+
<color name="material_red_A100">#ffff8a80</color>
15+
<color name="material_red_A200">#ffff5252</color>
16+
<color name="material_red_A400">#ffff1744</color>
17+
<color name="material_red_A700">#ffd50000</color>
18+
19+
<!-- pink -->
20+
<color name="material_pink_50">#fffce4ec</color>
21+
<color name="material_pink_100">#fff8bbd0</color>
22+
<color name="material_pink_200">#fff48fb1</color>
23+
<color name="material_pink_300">#fff06292</color>
24+
<color name="material_pink_400">#ffec407a</color>
25+
<color name="material_pink_500">#ffe91e63</color>
26+
<color name="material_pink_600">#ffd81b60</color>
27+
<color name="material_pink_700">#ffc2185b</color>
28+
<color name="material_pink_800">#ffad1457</color>
29+
<color name="material_pink_900">#ff880e4f</color>
30+
<color name="material_pink_A100">#ffff80ab</color>
31+
<color name="material_pink_A200">#ffff4081</color>
32+
<color name="material_pink_A400">#fff50057</color>
33+
<color name="material_pink_A700">#ffc51162</color>
34+
35+
<!-- purple -->
36+
<color name="material_purple_50">#fff3e5f5</color>
37+
<color name="material_purple_100">#ffe1bee7</color>
38+
<color name="material_purple_200">#ffce93d8</color>
39+
<color name="material_purple_300">#ffba68c8</color>
40+
<color name="material_purple_400">#ffab47bc</color>
41+
<color name="material_purple_500">#ff9c27b0</color>
42+
<color name="material_purple_600">#ff8e24aa</color>
43+
<color name="material_purple_700">#ff7b1fa2</color>
44+
<color name="material_purple_800">#ff6a1b9a</color>
45+
<color name="material_purple_900">#ff4a148c</color>
46+
<color name="material_purple_A100">#ffea80fc</color>
47+
<color name="material_purple_A200">#ffe040fb</color>
48+
<color name="material_purple_A400">#ffd500f9</color>
49+
<color name="material_purple_A700">#ffaa00ff</color>
50+
51+
<!-- deep purple -->
52+
<color name="material_deep_purple_50">#ffede7f6</color>
53+
<color name="material_deep_purple_100">#ffd1c4e9</color>
54+
<color name="material_deep_purple_200">#ffb39ddb</color>
55+
<color name="material_deep_purple_300">#ff9575cd</color>
56+
<color name="material_deep_purple_400">#ff7e57c2</color>
57+
<color name="material_deep_purple_500">#ff673ab7</color>
58+
<color name="material_deep_purple_600">#ff5e35b1</color>
59+
<color name="material_deep_purple_700">#ff512da8</color>
60+
<color name="material_deep_purple_800">#ff4527a0</color>
61+
<color name="material_deep_purple_900">#ff311b92</color>
62+
<color name="material_deep_purple_A100">#ffb388ff</color>
63+
<color name="material_deep_purple_A200">#ff7c4dff</color>
64+
<color name="material_deep_purple_A400">#ff651fff</color>
65+
<color name="material_deep_purple_A700">#ff6200ea</color>
66+
67+
<!-- indigo -->
68+
<color name="material_indigo_50">#ffe8eaf6</color>
69+
<color name="material_indigo_100">#ffc5cae9</color>
70+
<color name="material_indigo_200">#ff9fa8da</color>
71+
<color name="material_indigo_300">#ff7986cb</color>
72+
<color name="material_indigo_400">#ff5c6bc0</color>
73+
<color name="material_indigo_500">#ff3f51b5</color>
74+
<color name="material_indigo_600">#ff3949ab</color>
75+
<color name="material_indigo_700">#ff303f9f</color>
76+
<color name="material_indigo_800">#ff283593</color>
77+
<color name="material_indigo_900">#ff1a237e</color>
78+
<color name="material_indigo_A100">#ff8c9eff</color>
79+
<color name="material_indigo_A200">#ff536dfe</color>
80+
<color name="material_indigo_A400">#ff3d5afe</color>
81+
<color name="material_indigo_A700">#ff304ffe</color>
82+
83+
<!-- blue -->
84+
<color name="material_blue_50">#ffe3f2fd</color>
85+
<color name="material_blue_100">#ffbbdefb</color>
86+
<color name="material_blue_200">#ff90caf9</color>
87+
<color name="material_blue_300">#ff64b5f6</color>
88+
<color name="material_blue_400">#ff42a5f5</color>
89+
<color name="material_blue_500">#ff2196f3</color>
90+
<color name="material_blue_600">#ff1e88e5</color>
91+
<color name="material_blue_700">#ff1976d2</color>
92+
<color name="material_blue_800">#ff1565c0</color>
93+
<color name="material_blue_900">#ff0d47a1</color>
94+
<color name="material_blue_A100">#ff82b1ff</color>
95+
<color name="material_blue_A200">#ff448aff</color>
96+
<color name="material_blue_A400">#ff2979ff</color>
97+
<color name="material_blue_A700">#ff2962ff</color>
98+
99+
<!-- light blue -->
100+
<color name="material_light_blue_50">#ffe1f5fe</color>
101+
<color name="material_light_blue_100">#ffb3e5fc</color>
102+
<color name="material_light_blue_200">#ff81d4fa</color>
103+
<color name="material_light_blue_300">#ff4fc3f7</color>
104+
<color name="material_light_blue_400">#ff29b6f6</color>
105+
<color name="material_light_blue_500">#ff03a9f4</color>
106+
<color name="material_light_blue_600">#ff039be5</color>
107+
<color name="material_light_blue_700">#ff0288d1</color>
108+
<color name="material_light_blue_800">#ff0277bd</color>
109+
<color name="material_light_blue_900">#ff01579b</color>
110+
<color name="material_light_blue_A100">#ff80d8ff</color>
111+
<color name="material_light_blue_A200">#ff40c4ff</color>
112+
<color name="material_light_blue_A400">#ff00b0ff</color>
113+
<color name="material_light_blue_A700">#ff0091ea</color>
114+
115+
<!-- cyan -->
116+
<color name="material_cyan_50">#ffe0f7fa</color>
117+
<color name="material_cyan_100">#ffb2ebf2</color>
118+
<color name="material_cyan_200">#ff80deea</color>
119+
<color name="material_cyan_300">#ff4dd0e1</color>
120+
<color name="material_cyan_400">#ff26c6da</color>
121+
<color name="material_cyan_500">#ff00bcd4</color>
122+
<color name="material_cyan_600">#ff00acc1</color>
123+
<color name="material_cyan_700">#ff0097a7</color>
124+
<color name="material_cyan_800">#ff00838f</color>
125+
<color name="material_cyan_900">#ff006064</color>
126+
<color name="material_cyan_A100">#ff84ffff</color>
127+
<color name="material_cyan_A200">#ff18ffff</color>
128+
<color name="material_cyan_A400">#ff00e5ff</color>
129+
<color name="material_cyan_A700">#ff00b8d4</color>
130+
131+
<!-- teal -->
132+
<color name="material_teal_50">#ffe0f2f1</color>
133+
<color name="material_teal_100">#ffb2dfdb</color>
134+
<color name="material_teal_200">#ff80cbc4</color>
135+
<color name="material_teal_300">#ff4db6ac</color>
136+
<color name="material_teal_400">#ff26a69a</color>
137+
<color name="material_teal_500">#ff009688</color>
138+
<color name="material_teal_600">#ff00897b</color>
139+
<color name="material_teal_700">#ff00796b</color>
140+
<color name="material_teal_800">#ff00695c</color>
141+
<color name="material_teal_900">#ff004d40</color>
142+
<color name="material_teal_A100">#ffa7ffeb</color>
143+
<color name="material_teal_A200">#ff64ffda</color>
144+
<color name="material_teal_A400">#ff1de9b6</color>
145+
<color name="material_teal_A700">#ff00bfa5</color>
146+
147+
<!-- green -->
148+
<color name="material_green_50">#ffe8f5e9</color>
149+
<color name="material_green_100">#ffc8e6c9</color>
150+
<color name="material_green_200">#ffa5d6a7</color>
151+
<color name="material_green_300">#ff81c784</color>
152+
<color name="material_green_400">#ff66bb6a</color>
153+
<color name="material_green_500">#ff4caf50</color>
154+
<color name="material_green_600">#ff43a047</color>
155+
<color name="material_green_700">#ff388e3c</color>
156+
<color name="material_green_800">#ff2e7d32</color>
157+
<color name="material_green_900">#ff1b5e20</color>
158+
<color name="material_green_A100">#ffb9f6ca</color>
159+
<color name="material_green_A200">#ff69f0ae</color>
160+
<color name="material_green_A400">#ff00e676</color>
161+
<color name="material_green_A700">#ff00c853</color>
162+
163+
<!--light green-->
164+
<color name="material_light_green_50">#fff1f8e9</color>
165+
<color name="material_light_green_100">#ffdcedc8</color>
166+
<color name="material_light_green_200">#ffc5e1a5</color>
167+
<color name="material_light_green_300">#ffaed581</color>
168+
<color name="material_light_green_400">#ff9ccc65</color>
169+
<color name="material_light_green_500">#ff8bc34a</color>
170+
<color name="material_light_green_600">#ff7cb342</color>
171+
<color name="material_light_green_700">#ff689f38</color>
172+
<color name="material_light_green_800">#ff558b2f</color>
173+
<color name="material_light_green_900">#ff33691e</color>
174+
<color name="material_light_green_A100">#ffccff90</color>
175+
<color name="material_light_green_A200">#ffb2ff59</color>
176+
<color name="material_light_green_A400">#ff76ff03</color>
177+
<color name="material_light_green_A700">#ff64dd17</color>
178+
179+
<!-- lime -->
180+
<color name="material_lime_50">#fff9fbe7</color>
181+
<color name="material_lime_100">#fff0f4c3</color>
182+
<color name="material_lime_200">#ffe6ee9c</color>
183+
<color name="material_lime_300">#ffdce775</color>
184+
<color name="material_lime_400">#ffd4e157</color>
185+
<color name="material_lime_500">#ffcddc39</color>
186+
<color name="material_lime_600">#ffc0ca33</color>
187+
<color name="material_lime_700">#ffafb42b</color>
188+
<color name="material_lime_800">#ff9e9d24</color>
189+
<color name="material_lime_900">#ff827717</color>
190+
<color name="material_lime_A100">#fff4ff81</color>
191+
<color name="material_lime_A200">#ffeeff41</color>
192+
<color name="material_lime_A400">#ffc6ff00</color>
193+
<color name="material_lime_A700">#ffaeea00</color>
194+
195+
<!-- yellow -->
196+
<color name="material_yellow_50">#fffffde7</color>
197+
<color name="material_yellow_100">#fffff9c4</color>
198+
<color name="material_yellow_200">#fffff59d</color>
199+
<color name="material_yellow_300">#fffff176</color>
200+
<color name="material_yellow_400">#ffffee58</color>
201+
<color name="material_yellow_500">#ffffeb3b</color>
202+
<color name="material_yellow_600">#fffdd835</color>
203+
<color name="material_yellow_700">#fffbc02d</color>
204+
<color name="material_yellow_800">#fff9a825</color>
205+
<color name="material_yellow_900">#fff57f17</color>
206+
<color name="material_yellow_A100">#ffffff8d</color>
207+
<color name="material_yellow_A200">#ffffff00</color>
208+
<color name="material_yellow_A400">#ffffea00</color>
209+
<color name="material_yellow_A700">#ffffd600</color>
210+
211+
<!-- amber -->
212+
<color name="material_amber_50">#fffff8e1</color>
213+
<color name="material_amber_100">#ffffecb3</color>
214+
<color name="material_amber_200">#ffffe082</color>
215+
<color name="material_amber_300">#ffffd54f</color>
216+
<color name="material_amber_400">#ffffca28</color>
217+
<color name="material_amber_500">#ffffc107</color>
218+
<color name="material_amber_600">#ffffb300</color>
219+
<color name="material_amber_700">#ffffa000</color>
220+
<color name="material_amber_800">#ffff8f00</color>
221+
<color name="material_amber_900">#ffff6f00</color>
222+
<color name="material_amber_A100">#ffffe57f</color>
223+
<color name="material_amber_A200">#ffffd740</color>
224+
<color name="material_amber_A400">#ffffc400</color>
225+
<color name="material_amber_A700">#ffffab00</color>
226+
227+
<!-- orange -->
228+
<color name="material_orange_50">#fffff3e0</color>
229+
<color name="material_orange_100">#ffffe0b2</color>
230+
<color name="material_orange_200">#ffffcc80</color>
231+
<color name="material_orange_300">#ffffb74d</color>
232+
<color name="material_orange_400">#ffffa726</color>
233+
<color name="material_orange_500">#ffff9800</color>
234+
<color name="material_orange_600">#fffb8c00</color>
235+
<color name="material_orange_700">#fff57c00</color>
236+
<color name="material_orange_800">#ffef6c00</color>
237+
<color name="material_orange_900">#ffe65100</color>
238+
<color name="material_orange_A100">#ffffd180</color>
239+
<color name="material_orange_A200">#ffffab40</color>
240+
<color name="material_orange_A400">#ffff9100</color>
241+
<color name="material_orange_A700">#ffff6d00</color>
242+
243+
<!-- deep orange -->
244+
<color name="material_deep_orange_50">#fffbe9e7</color>
245+
<color name="material_deep_orange_100">#ffffccbc</color>
246+
<color name="material_deep_orange_200">#ffffab91</color>
247+
<color name="material_deep_orange_300">#ffff8a65</color>
248+
<color name="material_deep_orange_400">#ffff7043</color>
249+
<color name="material_deep_orange_500">#ffff5722</color>
250+
<color name="material_deep_orange_600">#fff4511e</color>
251+
<color name="material_deep_orange_700">#ffe64a19</color>
252+
<color name="material_deep_orange_800">#ffd84315</color>
253+
<color name="material_deep_orange_900">#ffbf360c</color>
254+
<color name="material_deep_orange_A100">#ffff9e80</color>
255+
<color name="material_deep_orange_A200">#ffff6e40</color>
256+
<color name="material_deep_orange_A400">#ffff3d00</color>
257+
<color name="material_deep_orange_A700">#ffdd2c00</color>
258+
259+
<!-- brown -->
260+
<color name="material_brown_50">#ffefebe9</color>
261+
<color name="material_brown_100">#ffd7ccc8</color>
262+
<color name="material_brown_200">#ffbcaaa4</color>
263+
<color name="material_brown_300">#ffa1887f</color>
264+
<color name="material_brown_400">#ff8d6e63</color>
265+
<color name="material_brown_500">#ff795548</color>
266+
<color name="material_brown_600">#ff6d4c41</color>
267+
<color name="material_brown_700">#ff5d4037</color>
268+
<color name="material_brown_800">#ff4e342e</color>
269+
<color name="material_brown_900">#ff3e2723</color>
270+
271+
<!-- grey -->
272+
<color name="material_grey_50">#fffafafa</color>
273+
<color name="material_grey_100">#fff5f5f5</color>
274+
<color name="material_grey_200">#ffeeeeee</color>
275+
<color name="material_grey_300">#ffe0e0e0</color>
276+
<color name="material_grey_400">#ffbdbdbd</color>
277+
<color name="material_grey_500">#ff9e9e9e</color>
278+
<color name="material_grey_600">#ff757575</color>
279+
<color name="material_grey_700">#ff616161</color>
280+
<color name="material_grey_800">#ff424242</color>
281+
<color name="material_grey_900">#ff212121</color>
282+
283+
<!-- blue grey -->
284+
<color name="material_blue_grey_50">#ffeceff1</color>
285+
<color name="material_blue_grey_100">#ffcfd8dc</color>
286+
<color name="material_blue_grey_200">#ffb0bec5</color>
287+
<color name="material_blue_grey_300">#ff90a4ae</color>
288+
<color name="material_blue_grey_400">#ff78909c</color>
289+
<color name="material_blue_grey_500">#ff607d8b</color>
290+
<color name="material_blue_grey_600">#ff546e7a</color>
291+
<color name="material_blue_grey_700">#ff455a64</color>
292+
<color name="material_blue_grey_800">#ff37474f</color>
293+
<color name="material_blue_grey_900">#ff263238</color>
294+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<resources>
2+
<dimen name="margin_small">8dp</dimen>
3+
<dimen name="margin_normal">16dp</dimen>
4+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<resources>
2+
<string name="app_name">UI Test</string>
3+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<resources>
2+
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"/>
3+
</resources>

‎library/build.gradle

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ dependencies {
2020
androidTestCompile "com.android.support:support-annotations:$SUPPORT_APP_COMPAT_VERSION"
2121
androidTestCompile "com.android.support.test:runner:$SUPPORT_TEST_VERSION"
2222
androidTestCompile "com.android.support.test:rules:$SUPPORT_TEST_VERSION"
23-
androidTestCompile "com.android.support.test.espresso:espresso-core:$ESPRESSO_VERSION"
2423
}
2524

2625
def getBintrayUserProperty() {

‎settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ':sample', ':library'
1+
include ':sample', ':library', ':library-ui-test'

0 commit comments

Comments
 (0)
Please sign in to comment.