Skip to content

Commit

Permalink
Make Status Bar Black
Browse files Browse the repository at this point in the history
  • Loading branch information
kragleh committed Jun 17, 2023
1 parent f805983 commit 8cd280b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 144 deletions.
118 changes: 0 additions & 118 deletions app/src/main/java/beauty/useless/uselesslauncher/util/AppsUtil.java

This file was deleted.

53 changes: 31 additions & 22 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,35 +39,44 @@
android:layout_height="wrap_content">

<LinearLayout
android:id="@+id/app_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
android:orientation="vertical">

</LinearLayout>
</ScrollView>
<LinearLayout
android:id="@+id/app_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>

<Button
android:id="@+id/add"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:text="+" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<Button
android:id="@+id/remove"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="@android:color/transparent"
android:text="-" />
<Button
android:id="@+id/add"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:text="+"
android:textSize="20sp" />

</LinearLayout>
<Button
android:id="@+id/remove"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="@android:color/transparent"
android:text="-"
android:textSize="20sp" />

</LinearLayout>

</LinearLayout>
</ScrollView>

</LinearLayout>

Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.UselessLauncher" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your dark theme here. -->
<!-- <item name="colorPrimary">@color/my_dark_primary</item> -->
<item name="android:statusBarColor">@color/black</item>
<item name="android:windowBackground">@android:color/black</item>
</style>
</resources>
3 changes: 1 addition & 2 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Base.Theme.UselessLauncher" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your light theme here. -->
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->
<item name="android:statusBarColor">@color/black</item>
<item name="android:windowBackground">@android:color/black</item>
</style>

Expand Down

0 comments on commit 8cd280b

Please sign in to comment.