Switch off build variants to build types

Should be much easier to maintain
This commit is contained in:
Bradlee Speice 2014-11-20 22:57:46 -05:00
parent e9e6d1dacd
commit f51a2515b0
12 changed files with 12 additions and 11 deletions

View File

@ -1,10 +1,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" >
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application>
<activity android:name="org.bspeice.minimalbible.test.activity.FragmentTestActivity"
android:label="@string/title_activity_fragment_test"
>
</activity>
<activity
android:name="org.bspeice.minimalbible.test.activity.FragmentTestActivity"
android:label="@string/title_activity_fragment_test"></activity>
</application>
</manifest>

View File

@ -8,10 +8,11 @@ public class Modules {
public static TestModules testModules = new TestModules();
private Modules() {}
private Modules() {
}
public static Object[] list(MinimalBible app) {
return new Object[] {
return new Object[]{
new MinimalBibleModules(app),
testModules
};

View File

@ -1,9 +1,10 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="org.bspeice.minimalbible.test.activity.FragmentTestActivity" >
<item android:id="@+id/action_settings"
android:title="@string/action_settings"
tools:context="org.bspeice.minimalbible.test.activity.FragmentTestActivity">
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="@string/action_settings"
app:showAsAction="never" />
</menu>

View File

@ -1,5 +1,5 @@
<resources>
<string name="title_activity_fragment_test">FragmentTestActivity</string>
<string name="title_activity_fragment_test">FragmentTestActivity</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
</resources>