mirror of
https://gitea.winboll.cc/ZhanGSKen/MyWinBoLL.git
synced 2026-08-14 21:47:11 +08:00
08a47768a1
- MainActivity 新增 onCreateOptionsMenu/onOptionsItemSelected, 使用 AESThemeUtil.inflateCompatThemeMenu 加载主题菜单、 DevelopUtils.inflateMenu 加载调试菜单 - 布局文件 Toolbar 替换为 cc.winboll.studio.libaes.views.ASupportToolbar, 移除 AppBarLayout 包裹层 - MyAppTheme 日间/夜间主题增加 aSupportToolbar 属性引用 AESASupportToolbar 样式
44 lines
1.1 KiB
XML
44 lines
1.1 KiB
XML
<?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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<cc.winboll.studio.libaes.views.ASupportToolbar
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/toolbar"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1.0"
|
|
android:gravity="center_vertical|center_horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="MyWinBoLL"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1.0">
|
|
|
|
<cc.winboll.studio.libappbase.LogView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/logview"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|