-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathactivity_main.xml
38 lines (35 loc) · 1.34 KB
/
activity_main.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/box_body"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
tools:context="com.kongzue.baseframe.MainActivity">
<LinearLayout
android:id="@+id/sys_statusBar"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="#303F9F"
android:orientation="vertical"
android:visibility="gone"></LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#3F51B5"
android:orientation="horizontal">
<TextView
android:id="@+id/txt_title"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_centerHorizontal="true"
android:layout_marginLeft="20dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:text="测试标题"
android:textColor="#ffffff"
android:textSize="20sp" />
</LinearLayout>
</LinearLayout>