Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit ac7c3cc

Browse files
committed
Merge pull request #725 from staber/dev
AppCompat Themes
2 parents 4932382 + 064a186 commit ac7c3cc

File tree

139 files changed

+778
-567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+778
-567
lines changed

AndroidManifest.xml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
android:theme="@style/Theme.Andlytics" >
3232
<activity
3333
android:name=".LoginActivity"
34+
android:theme="@style/Theme.Andlytics.ActionBar"
3435
android:label="@string/app_name" >
3536
<intent-filter>
3637
<action android:name="android.intent.action.MAIN" />
@@ -40,11 +41,11 @@
4041
</activity>
4142
<activity
4243
android:name=".Main"
43-
android:label="@string/app_name"
44-
android:uiOptions="splitActionBarWhenNarrow" >
44+
android:label="@string/app_name">
4545
</activity>
4646
<activity
4747
android:name=".AppInfoActivity"
48+
android:theme="@style/Theme.Andlytics.ActionBar"
4849
android:label="@string/appinfo" >
4950
</activity>
5051
<activity
@@ -54,7 +55,10 @@
5455
android:theme="@android:style/Theme.Dialog" />
5556
<activity
5657
android:name=".AndlyticsPreferenceActivity"
58+
android:theme="@style/Theme.Andlytics.ColoredStatusBar"
5759
android:label="@string/preferences" >
60+
<meta-data android:name="android.support.PARENT_ACTIVITY"
61+
android:value=".Main" />
5862
<intent-filter>
5963
<action android:name="com.github.andlyticsproject.PREFERENCES" />
6064

@@ -63,17 +67,24 @@
6367
</activity>
6468
<activity
6569
android:name=".NotificationPreferenceActivity"
70+
android:theme="@style/Theme.Andlytics.ColoredStatusBar"
6671
android:label="@string/notifications" >
72+
<meta-data android:name="android.support.PARENT_ACTIVITY"
73+
android:value=".AndlyticsPreferenceActivity" />
6774
<action android:name="android.intent.action.MAIN" />
6875

6976
<category android:name="android.intent.category.NOTIFICATION_PREFERENCES" />
7077
</activity>
7178
<activity
7279
android:name=".AccountSpecificPreferenceActivity"
80+
android:theme="@style/Theme.Andlytics.ColoredStatusBar"
7381
android:label="@string/notifications" >
82+
<meta-data android:name="android.support.PARENT_ACTIVITY"
83+
android:value=".AndlyticsPreferenceActivity" />
7484
</activity>
7585
<activity
7686
android:name=".ImportActivity"
87+
android:theme="@style/Theme.Andlytics.ActionBar"
7788
android:label="@string/statistics_import"
7889
tools:ignore="ExportedActivity" >
7990
<intent-filter>
@@ -100,15 +111,20 @@
100111
</activity>
101112
<activity
102113
android:name=".ExportActivity"
114+
android:theme="@style/Theme.Andlytics.ActionBar"
103115
android:label="@string/statistics_export" >
104116
</activity>
105117
<activity
106118
android:name=".about.AboutActivity"
119+
android:theme="@style/Theme.Andlytics.ActionBar"
107120
android:label="@string/about_title" >
108121
</activity>
109122
<activity
110123
android:name=".DetailsActivity"
124+
android:theme="@style/Theme.Andlytics.ActionBar"
111125
android:label="@string/app_name" >
126+
<meta-data android:name="android.support.PARENT_ACTIVITY"
127+
android:value=".Main" />
112128
</activity>
113129

114130
<service

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repositories {
1717
}
1818

1919
dependencies {
20-
compile "com.android.support:support-v4:22.2.1"
20+
compile "com.android.support:design:22.2.1"
2121
compile "org.achartengine:achartengine:1.1.0"
2222
compile "ch.acra:acra:4.6.1"
2323
compile 'com.google.android.gms:play-services:4.0.30'

res/drawable-hdpi/icon_about.png

-1.28 KB
252 Bytes

res/drawable-hdpi/icon_add.png

-1015 Bytes

res/drawable-hdpi/icon_calendar.png

-1.05 KB

res/drawable-hdpi/icon_comments.png

-1 KB

res/drawable-hdpi/icon_delete.png

161 Bytes

res/drawable-hdpi/icon_downloads.png

-1.3 KB
Binary file not shown.
210 Bytes

0 commit comments

Comments
 (0)