Minor improvements and preparations for the release

This commit is contained in:
2016-01-01 15:35:16 +01:00
parent 6d21a99b3d
commit eb322d94a2
17 changed files with 208 additions and 55 deletions

View File

@ -12,10 +12,19 @@ android {
versionCode 1
versionName "1.0"
}
signingConfigs {
release {
storeFile file(keyStoreFile)
storePassword keyStorePassword
keyAlias signingKeyAlias
keyPassword signingKeyPassword
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
}
@ -42,7 +51,7 @@ dependencies {
compile 'com.mikepenz:iconics:1.6.2@aar'
compile 'com.mikepenz:community-material-typeface:1.1.71@aar'
}
5
idea.module {
downloadJavadoc = true
downloadSources = true

View File

@ -33,6 +33,7 @@ public class SettingsFragment
@Override
public boolean onPreferenceClick(Preference preference) {
new LibsBuilder()
.withActivityTitle(getActivity().getString(R.string.about))
.withActivityStyle(Libs.ActivityStyle.LIGHT_DARK_TOOLBAR)
.withAboutIconShown(true)
.withAboutVersionShown(true)

View File

@ -27,7 +27,7 @@
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@color/accent"
android:src="@color/colorAccent"
android:layout_margin="16dp"/>
<TextView

View File

@ -26,7 +26,7 @@
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@color/accent"
android:src="@color/colorAccent"
android:layout_margin="16dp"/>
<EditText

View File

@ -38,7 +38,7 @@
android:layout_alignParentStart="true"
android:layout_below="@+id/divider"
android:layout_margin="16dp"
android:src="@color/accent" />
android:src="@color/colorAccent" />
<TextView
android:id="@+id/sender"

View File

@ -25,7 +25,7 @@
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@color/accent"
android:src="@color/colorAccent"
android:layout_margin="16dp"/>
<TextView

View File

@ -27,7 +27,7 @@
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@color/accent"
android:src="@color/colorAccent"
android:layout_margin="16dp"/>
<TextView

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="about">Über Abit</string>
<string name="about_app">Ein Bitmessage-Client für Android</string>
<string name="about_summary">Open Source Abhängigkeiten.</string>
<string name="library_jabit_libraryDescription">Jabit hat das Ziel eine einfach zu benutzende Bitmessage-Bibliothek für Java-Entwickler zu sein, um schnell eigene Bitmessage-Anwendungen zu implementieren.</string>
</resources>

View File

@ -5,11 +5,11 @@
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">@color/primary</item>
<item name="android:colorPrimary">@color/colorPrimary</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<item name="android:colorPrimaryDark">@color/colorPrimaryDark</item>
<!-- theme UI controls like checkboxes and text fields -->
<item name="android:colorAccent">@color/accent</item>
<item name="android:colorAccent">@color/colorAccent</item>
<item name="android:windowContentTransitions">true</item>
<item name="android:windowAllowEnterTransitionOverlap">true</item>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="connection_modes">
<item>full</item>
<item>trusted</item>
<item>offline</item>
</string-array>
<string-array name="connection_mode_values">
<item>A full node, receiving and relaying objects all the time.</item>
<item>Connect to a trusted node from time to time to get new objects.</item>
<item>Don\'t connect to the network.</item>
</string-array>
</resources>

View File

@ -1,18 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Palette generated by Material Palette - materialpalette.com/blue-grey/orange -->
<resources>
<color name="primary">#FFC107</color>
<color name="primary_dark">#FFA000</color>
<color name="primary_dark_text">#DEFFFFFF</color>
<color name="primary_light">#FFECB3</color>
<color name="accent">#607D8B</color>
<color name="primary_text">#212121</color>
<color name="secondary_text">#727272</color>
<color name="colorPrimary">#FFC107</color>
<color name="colorPrimaryDark">#FFA000</color>
<color name="colorPrimaryDarkText">#DEFFFFFF</color>
<color name="colorPrimaryLight">#FFECB3</color>
<color name="colorAccent">#607D8B</color>
<color name="colorPrimaryText">#212121</color>
<color name="colorSecondaryText">#727272</color>
<color name="icons">#212121</color>
<color name="divider">#B6B6B6</color>
<!-- Used for AboutLibraries -->
<color name="colorPrimary">@color/primary</color>
<color name="colorPrimaryDark">@color/primary_dark</color>
<color name="colorAccent">@color/accent</color>
</resources>

View File

@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="define_jabit"></string>
<string name="define_jabit" translatable="false"></string>
<!-- Author section -->
<string name="library_jabit_author">Christian Basler</string>
<string name="library_jabit_authorWebsite">dissem.ch</string>
<string name="library_jabit_author" translatable="false">Christian Basler</string>
<string name="library_jabit_authorWebsite" translatable="false">dissem.ch</string>
<!-- Library section -->
<string name="library_jabit_libraryName">Jabit</string>
<string name="library_jabit_libraryName" translatable="false">Jabit</string>
<string name="library_jabit_libraryDescription">Jabit strives to be an easy to use Bitmessage library for Java developers to quickly implement their own Bitmessage clients.</string>
<string name="library_jabit_libraryWebsite">https://github.com/Dissem/Jabit/wiki</string>
<string name="library_jabit_libraryVersion">1.0.0</string>
<string name="library_jabit_libraryWebsite" translatable="false">https://github.com/Dissem/Jabit/wiki</string>
<string name="library_jabit_libraryVersion" translatable="false">1.0.0</string>
<!-- OpenSource section -->
<string name="library_jabit_isOpenSource">true</string>
<string name="library_jabit_repositoryLink">https://github.com/Dissem/Jabit</string>
<string name="library_jabit_isOpenSource" translatable="false">true</string>
<string name="library_jabit_repositoryLink" translatable="false">https://github.com/Dissem/Jabit</string>
<!-- ClassPath for autoDetect section -->
<string name="library_jabit_classPath">ch.dissem.bitmessage.BitmessageContext</string>
<string name="library_jabit_classPath" translatable="false">ch.dissem.bitmessage.BitmessageContext</string>
<!-- License section -->
<string name="library_jabit_licenseId">apache_2_0</string>
<string name="library_jabit_licenseId" translatable="false">apache_2_0</string>
<!-- Custom variables section -->
</resources>

View File

@ -3,21 +3,21 @@
<!-- Base application theme. -->
<style name="AppTheme.Base" parent="MaterialDrawerTheme.Light.DarkToolbar.TranslucentStatus">
<item name="android:activatedBackgroundIndicator">@color/primary_light</item>
<item name="android:textColor">@color/primary_text</item>
<item name="android:textColorSecondary">@color/secondary_text</item>
<item name="android:activatedBackgroundIndicator">@color/colorPrimaryLight</item>
<item name="android:textColor">@color/colorPrimaryText</item>
<item name="android:textColorSecondary">@color/colorSecondaryText</item>
<!-- MaterialDrawer specific values -->
<item name="material_drawer_background">@color/primary_dark</item>
<item name="material_drawer_icons">@color/primary_text</item>
<item name="material_drawer_background">@color/colorPrimaryDark</item>
<item name="material_drawer_icons">@color/colorPrimaryText</item>
<item name="material_drawer_primary_icon">@color/icons</item>
<item name="material_drawer_primary_text">@color/primary_text</item>
<item name="material_drawer_secondary_text">@color/secondary_text</item>
<item name="material_drawer_hint_text">@color/secondary_text</item>
<item name="material_drawer_primary_text">@color/colorPrimaryText</item>
<item name="material_drawer_secondary_text">@color/colorSecondaryText</item>
<item name="material_drawer_hint_text">@color/colorSecondaryText</item>
<item name="material_drawer_divider">@color/divider</item>
<item name="material_drawer_selected">@color/primary</item>
<item name="material_drawer_selected_text">@color/primary_text</item>
<item name="material_drawer_header_selection_text">@color/primary_text</item>
<item name="material_drawer_selected_text">@color/colorPrimaryText</item>
<item name="material_drawer_header_selection_text">@color/colorPrimaryText</item>
</style>