material design stuff

This commit is contained in:
ligi 2014-10-19 19:56:35 +02:00
parent 9de13bd678
commit 95c1bff32c
4 changed files with 13 additions and 9 deletions

View file

@ -84,7 +84,8 @@ dependencies {
compile 'com.google.code.gson:gson:2.3'
compile 'com.android.support:support-v4:21.0.0'
compile 'net.lingala.zip4j:zip4j:1.3.2'
compile 'com.android.support:appcompat-v7:20.0.0'
compile 'com.android.support:appcompat-v7:21.0.0'
compile 'com.android.support:cardview-v7:21.0.0'
compile 'com.jakewharton:butterknife:5.1.2'
compile 'joda-time:joda-time:2.5'
compile 'com.squareup:otto:1.3.5'
@ -101,7 +102,7 @@ dependencies {
compile fileTree(dir: 'libs', include: 'zxing-core-2.3.0-SNAPSHOT.jar')
def play_services = 'com.google.android.gms:play-services:5.0.89'
def play_services = 'com.google.android.gms:play-services:6.1.+'
withAnalyticsCompile play_services
withMapsCompile play_services

View file

@ -11,11 +11,8 @@
android:animateLayoutChanges="true">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#ffe3e3e3"
android:text="@string/nav_sort"
android:padding="7dp" />
style="@style/nav_topic"
android:text="@string/nav_sort" />
<RadioGroup

View file

@ -3,6 +3,8 @@
<color name="window_bg">#dfdfdf</color>
<color name="highlight_color">#FF4eacc6</color>
<color name="dividing_color">#ff0099cc</color>
<color name="primary">#ff366ce8</color>
<color name="secondary">#ff2c51a7</color>
<color name="icon_blue">#ff6ea0f2</color>
<color name="icon_green">#ffbfdf00</color>

View file

@ -1,7 +1,10 @@
<resources>
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="android:windowBackground">@color/window_bg</item>
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/secondary</item>
<item name="android:statusBarColor">@color/secondary</item>
</style>
<style name="AppTheme" parent="AppBaseTheme" />
@ -37,7 +40,8 @@
<style name="nav_topic">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:background">#ffe3e3e3</item>
<item name="android:background">@color/primary</item>
<item name="android:textColor">@color/primary_text_default_material_dark</item>
<item name="android:padding">7dp</item>
</style>
</resources>