去掉标题栏

zhenghaoyuan_branch
zhenghaoyuan20 2 years ago
parent f67f485172
commit 7421c7cc50

@ -19,10 +19,10 @@
android:dataExtractionRules="@xml/data_extraction_rules" android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules" android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="哨兵软件系统"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.Sixaunyi" android:theme="@style/Theme.Sixaunyi.NoActionBar"
tools:targetApi="31"> tools:targetApi="31">
<activity <activity
android:name=".SettingActivity" android:name=".SettingActivity"
@ -47,7 +47,7 @@
android:name=".MainActivity" android:name=".MainActivity"
android:exported="true" android:exported="true"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/Theme.AppCompat"> android:theme="@style/Theme.AppCompat.NoActionBar">
</activity> </activity>
<activity <activity
android:name=".VideoActivity" android:name=".VideoActivity"
@ -63,6 +63,7 @@
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
</application> </application>

@ -29,8 +29,7 @@
android:hint="密码:" android:hint="密码:"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:layout_marginLeft="30dp" android:layout_marginLeft="30dp"
android:layout_marginRight="30dp" android:layout_marginRight="30dp"/>
android:maxLines="1"/>
<CheckBox <CheckBox
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -40,17 +39,17 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="vertical">
<Button <Button
android:id="@+id/login" android:id="@+id/login"
android:layout_width="295dp" android:layout_width="100dp"
android:layout_height="57dp" android:layout_height="57dp"
android:layout_marginLeft="175dp" android:gravity="center"
android:text="登录" android:layout_gravity="center_horizontal"
android:maxLines="1"/> android:text="登录" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

@ -16,7 +16,7 @@
<style name="AppTheme" parent="Theme.AppCompat.Light"> <style name="AppTheme" parent="Theme.AppCompat.Light">
<item name="android:windowNoTitle">true</item> <item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item> <item name="android:windowIsTranslucent">false</item>
<item name="windowActionBar">false</item>
</style> </style>
</resources> </resources>
Loading…
Cancel
Save