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

69 lines
3.2 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:background="@color/theme_background"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.viewpager.widget.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<RelativeLayout
android:id="@+id/header"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="@dimen/main_header_size">
<com.ubt.jimu.main.widget.UserEntryView
android:id="@+id/user"
android:layout_width="@dimen/user_entry_width"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/setting"
android:layout_width="@dimen/home_settings_img"
android:layout_height="@dimen/home_settings_img"
android:src="@drawable/ic_settings"
android:scaleType="centerCrop"
android:layout_alignParentRight="true"/>
<ImageView
android:id="@+id/setting_new"
android:visibility="gone"
android:layout_width="@dimen/home_point"
android:layout_height="@dimen/home_point"
android:layout_marginTop="@dimen/home_point_margin_top"
android:layout_marginRight="@dimen/home_point_margin_right"
android:src="@drawable/little_point"
android:layout_alignTop="@+id/setting"
android:layout_alignRight="@+id/setting"/>
<ImageView
android:id="@+id/msg"
android:visibility="gone"
android:layout_width="@dimen/home_settings_img"
android:layout_height="@dimen/home_settings_img"
android:src="@drawable/ic_msg"
android:scaleType="centerCrop"
android:layout_toLeftOf="@+id/setting"/>
<ImageView
android:id="@+id/new_msg"
android:visibility="gone"
android:layout_width="@dimen/home_point"
android:layout_height="@dimen/home_point"
android:layout_marginTop="@dimen/home_point_margin_top"
android:layout_marginRight="@dimen/home_point_margin_right"
android:src="@drawable/little_point"
android:layout_alignTop="@+id/msg"
android:layout_alignRight="@+id/msg"/>
<com.ubt.jimu.main.widget.TabBarView
android:id="@+id/tab_bar"
android:background="@color/translucent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginStart="@dimen/tab_bar_margin_start"
android:layout_marginEnd="@dimen/tab_bar_margin_end"
android:layout_toStartOf="@+id/msg"
android:layout_toEndOf="@+id/user"
app:tb_textArray="@array/tabbar_titles"
app:tb_textColor="@color/txt_00A9FF"
app:tb_textSelectedColor="@color/theme_txt_orange"
app:tb_textSize="@dimen/theme_16sp"/>
</RelativeLayout>
</RelativeLayout>