use proper height resource for support actionbar spacer
This commit is contained in:
parent
6e4ab99134
commit
8484fa22e6
@ -1,15 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="327"
|
||||
android:versionName="1.101" >
|
||||
android:versionCode="328"
|
||||
android:versionName="1.102" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="15"
|
||||
android:targetSdkVersion="21" />
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
|
||||
|
@ -108,11 +108,11 @@ public class OfflineDownloadService extends Service {
|
||||
.setLargeIcon(BitmapFactory.decodeResource(getApplicationContext().getResources(),
|
||||
R.drawable.ic_launcher))
|
||||
.setOngoing(true)
|
||||
.setOnlyAlertOnce(true)
|
||||
.setVibrate(new long[0]);
|
||||
.setOnlyAlertOnce(true);
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
builder.setCategory(Notification.CATEGORY_PROGRESS)
|
||||
.setVibrate(new long[0])
|
||||
.setVisibility(Notification.VISIBILITY_PUBLIC)
|
||||
.setColor(0x88b0f0)
|
||||
.setGroup("org.fox.ttrss");
|
||||
|
@ -26,7 +26,7 @@
|
||||
<FrameLayout
|
||||
android:id="@+id/article_heading_spacer"
|
||||
android:visibility="gone"
|
||||
android:layout_marginTop="?android:attr/actionBarSize"
|
||||
android:layout_marginTop="@dimen/abc_action_bar_default_height_material"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/headlines_heading_spacer"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="?android:attr/actionBarSize">
|
||||
android:layout_height="@dimen/abc_action_bar_default_height_material">
|
||||
|
||||
</FrameLayout>
|
Loading…
Reference in New Issue
Block a user