Commit cc84830b authored by fallenstardust's avatar fallenstardust

微调布局

parent 878f70f4
......@@ -12,7 +12,7 @@ public class SettingsActivity extends BaseActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.fragment_settings);
setContentView(R.layout.activity_settings);
getSupportActionBar().hide();
enableBackHome();
getFragmentManager().beginTransaction().replace(R.id.fragment, new SettingFragment()).commit();
......
......@@ -11,7 +11,9 @@
android:id="@+id/fragment_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
android:layout_weight="1"
android:background="#80000000">
</FrameLayout>
<com.ashokvarma.bottomnavigation.BottomNavigationBar
......
......@@ -3,8 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/fragment_search"
android:background="@drawable/bg3">
android:id="@+id/fragment_search">
<androidx.drawerlayout.widget.DrawerLayout
android:id="@+id/drawer_layout"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment