forked from hzuapps/android-labs-2018
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
102 additions
and
7 deletions.
There are no files selected for viewing
109 changes: 102 additions & 7 deletions
109
soft1614080902231/app/src/main/res/layout/activity_sec.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,110 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
> | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="50dp" | ||
android:background="@android:color/white" | ||
android:orientation="horizontal" | ||
> | ||
<TextView | ||
android:id="@+id/china" | ||
android:layout_width="86dp" | ||
android:layout_height="42dp" | ||
android:text="中超" | ||
android:gravity="center" | ||
android:textColor="#666666" /> | ||
<TextView | ||
android:id="@+id/england" | ||
android:layout_width="86dp" | ||
android:layout_height="42dp" | ||
android:text="英超" | ||
android:gravity="center" | ||
android:textColor="#666666" /> | ||
<TextView | ||
android:id="@+id/Spanish" | ||
android:layout_width="86dp" | ||
android:layout_height="42dp" | ||
android:text="西甲" | ||
android:gravity="center" | ||
android:textColor="#666666" /> | ||
<TextView | ||
android:id="@+id/NBA" | ||
android:layout_width="86dp" | ||
android:layout_height="42dp" | ||
android:text="NBA" | ||
android:gravity="center" | ||
android:textColor="#666666" /> | ||
<SearchView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" /> | ||
</LinearLayout> | ||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_marginTop="50dp" | ||
android:background="@android:color/white" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="fill_parent" | ||
android:layout_height="283dp" | ||
android:text="这是第二页" | ||
/> | ||
<ListView | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:footerDividersEnabled="false" | ||
android:headerDividersEnabled="false" /> | ||
<FrameLayout | ||
android:id="@+id/main_bady" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@android:color/white" /> | ||
</LinearLayout> | ||
<LinearLayout | ||
android:id="@+id/main_bottom_bar" | ||
android:layout_width="match_parent" | ||
android:layout_height="55dp" | ||
android:layout_alignParentBottom="true" | ||
android:background="#F2F2F2" | ||
android:orientation="horizontal"> | ||
|
||
</android.support.design.widget.CoordinatorLayout> | ||
<RelativeLayout | ||
android:id="@+id/bottom_bar_course_btn" | ||
android:layout_width="0dp" | ||
android:layout_height="55dp" | ||
android:layout_weight="1"> | ||
|
||
<TextView | ||
android:id="@+id/bottom_bar_text_course" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_alignParentBottom="true" | ||
android:layout_centerHorizontal="true" | ||
android:gravity="center" | ||
android:singleLine="true" | ||
android:text="文字直播" | ||
android:textColor="#666666" | ||
android:textSize="14sp" /> | ||
</RelativeLayout> | ||
<RelativeLayout | ||
android:id="@+id/bottom_bar_zhipo_btn" | ||
android:layout_width="0dp" | ||
android:layout_height="55dp" | ||
android:layout_weight="1"> | ||
<TextView | ||
android:id="@+id/bottom_bar_huifang_course" | ||
android:layout_width="fill_parent" | ||
android:layout_height="fill_parent" | ||
android:layout_alignParentBottom="true" | ||
android:layout_centerHorizontal="true" | ||
android:layout_marginBottom="3dp" | ||
android:gravity="center" | ||
android:singleLine="true" | ||
android:text="精彩回放" | ||
android:textColor="#666666" | ||
android:textSize="14sp" /> | ||
</RelativeLayout> | ||
</LinearLayout> | ||
</RelativeLayout> |