diff --git a/app/src/main/java/com/keylesspalace/tusky/db/MediaEntity.java b/app/src/main/java/com/keylesspalace/tusky/db/MediaEntity.java deleted file mode 100644 index 398b1d1ce..000000000 --- a/app/src/main/java/com/keylesspalace/tusky/db/MediaEntity.java +++ /dev/null @@ -1,47 +0,0 @@ -package com.keylesspalace.tusky.db; - -import android.arch.persistence.room.ColumnInfo; -import android.arch.persistence.room.Entity; -import android.arch.persistence.room.ForeignKey; -import android.arch.persistence.room.PrimaryKey; - -/** - * Media model - */ - -@Entity(foreignKeys = @ForeignKey(entity = TootEntity.class, - parentColumns = "uid", - childColumns = "toot_id")) -public class MediaEntity { - @ColumnInfo(name = "toot_id") - private int toot_id; - @PrimaryKey(autoGenerate = true) - private int uid; - @ColumnInfo(name = "url") - private String url; - - // getter setter - public int getToot_id() { - return toot_id; - } - - public void setToot_id(int toot_id) { - this.toot_id = toot_id; - } - - public int getUid() { - return uid; - } - - public void setUid(int uid) { - this.uid = uid; - } - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } -} diff --git a/app/src/main/res/drawable-hdpi/splash.png b/app/src/main/res/drawable-hdpi/splash.png new file mode 100644 index 000000000..965c97d30 Binary files /dev/null and b/app/src/main/res/drawable-hdpi/splash.png differ diff --git a/app/src/main/res/drawable-mdpi/splash.png b/app/src/main/res/drawable-mdpi/splash.png new file mode 100644 index 000000000..019fc271f Binary files /dev/null and b/app/src/main/res/drawable-mdpi/splash.png differ diff --git a/app/src/main/res/drawable-xhdpi/splash.png b/app/src/main/res/drawable-xhdpi/splash.png new file mode 100644 index 000000000..b7ed665bd Binary files /dev/null and b/app/src/main/res/drawable-xhdpi/splash.png differ diff --git a/app/src/main/res/drawable-xxhdpi/splash.png b/app/src/main/res/drawable-xxhdpi/splash.png new file mode 100644 index 000000000..0ba150ca1 Binary files /dev/null and b/app/src/main/res/drawable-xxhdpi/splash.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/splash.png b/app/src/main/res/drawable-xxxhdpi/splash.png new file mode 100644 index 000000000..0b656a305 Binary files /dev/null and b/app/src/main/res/drawable-xxxhdpi/splash.png differ diff --git a/app/src/main/res/drawable/background_splash.xml b/app/src/main/res/drawable/background_splash.xml index 548f87bad..6f0a29fb9 100644 --- a/app/src/main/res/drawable/background_splash.xml +++ b/app/src/main/res/drawable/background_splash.xml @@ -1,14 +1,11 @@ - + + android:src="@drawable/splash" + android:gravity="center" /> \ No newline at end of file diff --git a/app/src/main/res/drawable/splash_pattern.png b/app/src/main/res/drawable/splash_pattern.png deleted file mode 100644 index dcc6f6476..000000000 Binary files a/app/src/main/res/drawable/splash_pattern.png and /dev/null differ diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 02b838532..4f912a7e1 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -11,8 +11,6 @@ - - diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 0b6dff588..cbf79699a 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -17,6 +17,7 @@ @@ -41,8 +42,6 @@ @style/AppTheme.BottomSheetDialog.Dark - @color/color_background_dark - @color/color_primary_dark @color/toolbar_background_dark @color/toolbar_icon_dark @style/AppTheme.ImageButton.Dark @@ -119,8 +118,6 @@ @style/AppTheme.BottomSheetDialog.Light - @color/color_background_light - @color/color_primary_light @color/toolbar_background_light @color/toolbar_icon_light @style/AppTheme.ImageButton.Light diff --git a/assets/splash.xcf b/assets/splash.xcf new file mode 100644 index 000000000..1a7961419 Binary files /dev/null and b/assets/splash.xcf differ