mirror of
https://github.com/gsantner/dandelion
synced 2024-11-22 12:22:08 +01:00
Added flavour secondlion*
This commit is contained in:
parent
a31a530c7c
commit
165626fc6c
8 changed files with 25 additions and 13 deletions
|
@ -22,6 +22,18 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
productFlavors {
|
||||||
|
flavorDandelion {
|
||||||
|
applicationId "com.github.dfa.diaspora_android"
|
||||||
|
manifestPlaceholders = [appName: "dandelion*"]
|
||||||
|
}
|
||||||
|
|
||||||
|
flavorSecondlion {
|
||||||
|
applicationId "com.github.dfa.diaspora_android2"
|
||||||
|
manifestPlaceholders = [appName: "secondlion*"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
disable 'MissingTranslation'
|
disable 'MissingTranslation'
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,12 +12,12 @@
|
||||||
android:allowBackup="false"
|
android:allowBackup="false"
|
||||||
android:icon="@drawable/ic_launcher"
|
android:icon="@drawable/ic_launcher"
|
||||||
android:name="com.github.dfa.diaspora_android.App"
|
android:name="com.github.dfa.diaspora_android.App"
|
||||||
android:label="@string/app_name"
|
android:label="${appName}"
|
||||||
android:theme="@style/DiasporaLight" >
|
android:theme="@style/DiasporaLight" >
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name="com.github.dfa.diaspora_android.service.HashtagContentProvider"
|
android:name="com.github.dfa.diaspora_android.service.HashtagContentProvider"
|
||||||
android:authorities="com.github.dfa.diaspora_android.mainactivity"
|
android:authorities="${applicationId}.mainactivity"
|
||||||
android:exported="false"/>
|
android:exported="false"/>
|
||||||
|
|
||||||
<service
|
<service
|
||||||
|
@ -26,24 +26,24 @@
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".activity.SettingsActivity"
|
android:name="com.github.dfa.diaspora_android.activity.SettingsActivity"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||||
android:theme="@style/DiasporaLight.NoActionBar"
|
android:theme="@style/DiasporaLight.NoActionBar"
|
||||||
android:label="@string/settings" />
|
android:label="@string/settings" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".activity.AboutActivity"
|
android:name="com.github.dfa.diaspora_android.activity.AboutActivity"
|
||||||
android:label="@string/about_activity__title_about_app"
|
android:label="@string/about_activity__title_about_app"
|
||||||
android:theme="@style/DiasporaLight.NoActionBar"/>
|
android:theme="@style/DiasporaLight.NoActionBar"/>
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".activity.MainActivity"
|
android:name="com.github.dfa.diaspora_android.activity.MainActivity"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:windowSoftInputMode="adjustResize"
|
android:windowSoftInputMode="adjustResize"
|
||||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||||
android:theme="@style/DiasporaLight.NoActionBar"
|
android:theme="@style/DiasporaLight.NoActionBar"
|
||||||
android:label="@string/app_name">
|
android:label="${appName}">
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:context=".activity.MainActivity">
|
tools:context="com.github.dfa.diaspora_android.activity.MainActivity">
|
||||||
|
|
||||||
<com.github.dfa.diaspora_android.web.ContextMenuWebView
|
<com.github.dfa.diaspora_android.web.ContextMenuWebView
|
||||||
android:id="@+id/webView"
|
android:id="@+id/webView"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".activity.MainActivity">
|
tools:context="com.github.dfa.diaspora_android.activity.MainActivity">
|
||||||
|
|
||||||
<android.support.design.widget.AppBarLayout
|
<android.support.design.widget.AppBarLayout
|
||||||
android:id="@+id/main__appbar"
|
android:id="@+id/main__appbar"
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="bottom|end"
|
android:layout_gravity="bottom|end"
|
||||||
android:theme="@style/AppTheme.AppBarOverlay"
|
android:theme="@style/AppTheme.AppBarOverlay"
|
||||||
app:layout_behavior=".ui.BottomBarBehavior">
|
app:layout_behavior="com.github.dfa.diaspora_android.ui.BottomBarBehavior">
|
||||||
|
|
||||||
<android.support.v7.widget.ActionMenuView
|
<android.support.v7.widget.ActionMenuView
|
||||||
android:id="@+id/main__bottombar"
|
android:id="@+id/main__bottombar"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:context=".activity.MainActivity"
|
tools:context="com.github.dfa.diaspora_android.activity.MainActivity"
|
||||||
tools:ignore="AlwaysShowAction">
|
tools:ignore="AlwaysShowAction">
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:context=".activity.MainActivity"
|
tools:context="com.github.dfa.diaspora_android.activity.MainActivity"
|
||||||
tools:ignore="AlwaysShowAction">
|
tools:ignore="AlwaysShowAction">
|
||||||
|
|
||||||
<item
|
<item
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
tools:context=".activity.MainActivity"
|
tools:context="com.github.dfa.diaspora_android22.activity.MainActivity"
|
||||||
tools:ignore="AlwaysShowAction">
|
tools:ignore="AlwaysShowAction">
|
||||||
|
|
||||||
<item
|
<item
|
||||||
|
|
|
@ -16,9 +16,9 @@ files:
|
||||||
kn: kn # Kannada (Asian)
|
kn: kn # Kannada (Asian)
|
||||||
nl: nl # Dutch
|
nl: nl # Dutch
|
||||||
hu: hu # Hungarian
|
hu: hu # Hungarian
|
||||||
|
cs: cs # Czech
|
||||||
# hi: hi # Hindi
|
# hi: hi # Hindi
|
||||||
# el: el # Greel
|
# el: el # Greel
|
||||||
# cs: cs # Czeck
|
|
||||||
# "no": 'no' # Norwegian
|
# "no": 'no' # Norwegian
|
||||||
# tr: tr # Turkish
|
# tr: tr # Turkish
|
||||||
# ca: ca # Catalan
|
# ca: ca # Catalan
|
||||||
|
|
Loading…
Reference in a new issue