添加应用设置活动窗口

This commit is contained in:
2025-12-05 19:59:19 +08:00
parent 2a74fd2c30
commit 3dba7b1e45
9 changed files with 95 additions and 17 deletions

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<cc.winboll.studio.libaes.views.ASupportToolbar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/toolbar"/>
</LinearLayout>

View File

@@ -4,4 +4,7 @@
<item
android:id="@+id/item_home"
android:title="HOME"/>
<item
android:id="@+id/item_settings"
android:title="Settings"/>
</menu>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
<dimen name="toolbar_height">60dp</dimen>
<dimen name="slide_width">76dp</dimen>
<dimen name="text_content_size">18dp</dimen>
<dimen name="text_title_size">24dp</dimen>
<dimen name="text_subtitle_size">16dp</dimen>
-->
</resources>

View File

@@ -1,10 +1,5 @@
<resources>
<!-- Base application theme. -->
<style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<style name="MyAppTheme" parent="AESTheme">
</style>
</resources>