去掉标题栏

zhenghaoyuan_branch
zhenghaoyuan20 2 years ago
parent f67f485172
commit 7421c7cc50

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

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

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