diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7df7ca4..925e74c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -26,7 +26,8 @@ android:launchMode="singleTask" android:name="com.fpvout.digiview.MainActivity" android:screenOrientation="sensorLandscape" - android:configChanges="orientation|keyboardHidden"> + android:configChanges="orientation|keyboardHidden" + android:theme="@style/Theme.DigiviewStartup"> diff --git a/app/src/main/java/com/fpvout/digiview/OverlayView.java b/app/src/main/java/com/fpvout/digiview/OverlayView.java index b1327c8..c28b3dd 100644 --- a/app/src/main/java/com/fpvout/digiview/OverlayView.java +++ b/app/src/main/java/com/fpvout/digiview/OverlayView.java @@ -15,11 +15,11 @@ public class OverlayView extends ConstraintLayout { public OverlayView(Context context, AttributeSet attrs) { super(context, attrs); - inflate(getContext(),R.layout.backdrop_view,this); + inflate(getContext(),R.layout.overlay_view,this); - textView = findViewById(R.id.backdrop_text); + textView = findViewById(R.id.overlay_text); - imageView = findViewById(R.id.backdrop_image); + imageView = findViewById(R.id.overlay_image); } public void hide(){ diff --git a/app/src/main/res/drawable-hdpi/ic_splash.png b/app/src/main/res/drawable-hdpi/ic_splash.png index e27cc3d..e9b69f9 100644 Binary files a/app/src/main/res/drawable-hdpi/ic_splash.png and b/app/src/main/res/drawable-hdpi/ic_splash.png differ diff --git a/app/src/main/res/drawable-mdpi/ic_splash.png b/app/src/main/res/drawable-mdpi/ic_splash.png index 688f46a..84b091a 100644 Binary files a/app/src/main/res/drawable-mdpi/ic_splash.png and b/app/src/main/res/drawable-mdpi/ic_splash.png differ diff --git a/app/src/main/res/drawable-xhdpi/ic_splash.png b/app/src/main/res/drawable-xhdpi/ic_splash.png index 5ab9bf0..f5d16d3 100644 Binary files a/app/src/main/res/drawable-xhdpi/ic_splash.png and b/app/src/main/res/drawable-xhdpi/ic_splash.png differ diff --git a/app/src/main/res/drawable-xxhdpi/ic_splash.png b/app/src/main/res/drawable-xxhdpi/ic_splash.png index ed47dc6..bf34c97 100644 Binary files a/app/src/main/res/drawable-xxhdpi/ic_splash.png and b/app/src/main/res/drawable-xxhdpi/ic_splash.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/ic_splash.png b/app/src/main/res/drawable-xxxhdpi/ic_splash.png index bf76809..645ad8a 100644 Binary files a/app/src/main/res/drawable-xxxhdpi/ic_splash.png and b/app/src/main/res/drawable-xxxhdpi/ic_splash.png differ diff --git a/app/src/main/res/drawable/splash.xml b/app/src/main/res/drawable/splash.xml index 4de372d..97d82dc 100644 --- a/app/src/main/res/drawable/splash.xml +++ b/app/src/main/res/drawable/splash.xml @@ -1,12 +1,10 @@ - + - - - + \ No newline at end of file diff --git a/app/src/main/res/layout/backdrop_view.xml b/app/src/main/res/layout/overlay_view.xml similarity index 52% rename from app/src/main/res/layout/backdrop_view.xml rename to app/src/main/res/layout/overlay_view.xml index 1de617f..f793fa2 100644 --- a/app/src/main/res/layout/backdrop_view.xml +++ b/app/src/main/res/layout/overlay_view.xml @@ -7,51 +7,39 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent"/> - - - - \ No newline at end of file diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index ef0ad81..1377382 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -14,4 +14,8 @@ ?attr/colorSecondary + \ No newline at end of file