jimu-decompiled/resources/res/layout/fragment_diy_center_phone.xml
2025-05-13 19:24:51 +02:00

68 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="#2e3b55"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:gravity="bottom"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginTop="8dp">
<ImageView
android:id="@+id/imgBack"
android:layout_width="@dimen/diy_icon_back"
android:layout_height="@dimen/diy_icon_back"
android:layout_marginLeft="8dp"
android:src="@drawable/diy_title_back"/>
<androidx.legacy.widget.Space
android:layout_width="48dp"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"/>
<LinearLayout
android:gravity="center_horizontal"
android:orientation="horizontal"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
<TextView
android:textSize="22sp"
android:textColor="@color/txt_FEAA06"
android:gravity="center"
android:id="@+id/tvOfficialDiy"
android:background="@drawable/diy_tab_bg_official"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_diy_official"/>
<TextView
android:textSize="22sp"
android:textColor="@android:color/white"
android:gravity="center"
android:id="@+id/tvUserDiy"
android:background="@drawable/diy_tab_bg_my"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_diy_user"/>
</LinearLayout>
<ImageView
android:gravity="center"
android:id="@+id/tvPublishHistory"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginRight="8dp"
android:src="@drawable/diy_tab_icon_history"/>
<ImageView
android:gravity="center"
android:id="@+id/tvEdit"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginRight="8dp"
android:src="@drawable/diy_tab_icon_edit_nor"/>
</LinearLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>