1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00

Merge branch 'master' into material

Conflicts:
	app/build.gradle
	app/src/main/AndroidManifest.xml
This commit is contained in:
Christophe Beyls 2015-01-08 03:46:28 +01:00
commit 6461d9c464
15 changed files with 20 additions and 21 deletions

View file

@ -175,11 +175,16 @@ public class AlarmIntentService extends IntentService {
} }
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this) NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.ic_launcher).setWhen(event.getStartTime().getTime()) .setSmallIcon(R.drawable.ic_stat_fosdem)
.setContentTitle(event.getTitle()).setContentText(contentText) .setWhen(event.getStartTime().getTime())
.setContentTitle(event.getTitle())
.setContentText(contentText)
.setStyle(new NotificationCompat.BigTextStyle().bigText(bigText).setSummaryText(trackName)) .setStyle(new NotificationCompat.BigTextStyle().bigText(bigText).setSummaryText(trackName))
.setContentInfo(event.getRoomName()).setContentIntent(eventPendingIntent).setAutoCancel(true) .setContentInfo(event.getRoomName())
.setDefaults(defaultFlags).setPriority(NotificationCompat.PRIORITY_HIGH); .setContentIntent(eventPendingIntent)
.setAutoCancel(true)
.setDefaults(defaultFlags)
.setPriority(NotificationCompat.PRIORITY_HIGH);
// Blink the LED with FOSDEM color if enabled in the options // Blink the LED with FOSDEM color if enabled in the options
if (sharedPreferences.getBoolean(SettingsFragment.KEY_PREF_NOTIFICATIONS_LED, false)) { if (sharedPreferences.getBoolean(SettingsFragment.KEY_PREF_NOTIFICATIONS_LED, false)) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -11,21 +11,15 @@
android:layout_gravity="center" android:layout_gravity="center"
android:visibility="gone"/> android:visibility="gone"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<android.support.v4.view.ViewPager <android.support.v4.view.ViewPager
android:id="@+id/pager" android:id="@+id/pager"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="match_parent"/>
android:layout_weight="1" />
<com.viewpagerindicator.UnderlinePageIndicator <com.viewpagerindicator.UnderlinePageIndicator
android:id="@+id/indicator" android:id="@+id/indicator"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="2dp" /> android:layout_height="2dp"
</LinearLayout> android:layout_gravity="bottom"/>
</FrameLayout> </FrameLayout>