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

71 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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">
<RelativeLayout
android:id="@+id/ll_diy_title"
android:layout_width="match_parent"
android:layout_height="@dimen/dp80w">
<ImageView
android:id="@+id/imgBack"
android:layout_width="@dimen/dp65w"
android:layout_height="@dimen/dp65w"
android:layout_marginLeft="@dimen/diy_icon_back_margin_left"
android:src="@drawable/diy_title_back"
android:layout_centerVertical="true"/>
<LinearLayout
android:gravity="center"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true">
<TextView
android:textSize="@dimen/dp25"
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="@dimen/dp25"
android:textColor="@color/bg_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:id="@+id/tvEdit"
android:layout_width="@dimen/dp65w"
android:layout_height="@dimen/dp65w"
android:layout_marginRight="@dimen/diy_icon_back_margin_left"
android:src="@drawable/ic_diy_edit"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/tvPublishHistory"
android:layout_width="@dimen/dp65w"
android:layout_height="@dimen/dp65w"
android:layout_marginRight="16dp"
android:src="@drawable/diy_tab_icon_history"
android:layout_centerVertical="true"
android:layout_toStartOf="@+id/tvEdit"/>
</RelativeLayout>
<com.ubt.jimu.utils.CustomViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/ll_diy_title"/>
<ViewStub
android:id="@+id/viewStub"
android:layout="@layout/include_diy_guide_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>