Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa30960437 |
@@ -5,443 +5,457 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:background="@drawable/bg_gradient">
|
android:background="@drawable/bg_gradient">
|
||||||
|
|
||||||
<!-- 顶部欢迎区域 -->
|
<!-- 可滚动内容区域 -->
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dp"
|
||||||
android:orientation="vertical"
|
android:layout_weight="1"
|
||||||
android:padding="24dp"
|
android:fillViewport="true">
|
||||||
android:layout_marginTop="8dp"
|
|
||||||
android:layout_marginBottom="8dp">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="早上好"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:textColor="#6B7280"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="ARKJ"
|
|
||||||
android:textSize="28sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textColor="#1F2937"
|
|
||||||
android:layout_marginTop="2dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 轮播图区域(含加载指示器) -->
|
|
||||||
<FrameLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="180dp"
|
|
||||||
android:layout_marginHorizontal="24dp"
|
|
||||||
android:layout_marginBottom="20dp">
|
|
||||||
|
|
||||||
<!-- 加载指示器 -->
|
|
||||||
<ProgressBar
|
|
||||||
android:id="@+id/carouselLoading"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:indeterminateTint="#6366F1"/>
|
|
||||||
|
|
||||||
<!-- WebView 初始隐藏,加载完成后显示 -->
|
|
||||||
<WebView
|
|
||||||
android:id="@+id/carouselWebView"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:background="@drawable/bg_carousel"
|
|
||||||
android:elevation="4dp"
|
|
||||||
android:visibility="invisible"/>
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
<!-- 功能网格标题 -->
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="功能"
|
|
||||||
android:textSize="18sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textColor="#1F2937"
|
|
||||||
android:layout_marginStart="24dp"
|
|
||||||
android:layout_marginBottom="12dp"/>
|
|
||||||
|
|
||||||
<!-- 功能网格 -->
|
|
||||||
<GridLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:rowCount="2"
|
|
||||||
android:columnCount="4"
|
|
||||||
android:paddingHorizontal="16dp"
|
|
||||||
android:alignmentMode="alignMargins">
|
|
||||||
|
|
||||||
<!-- 备忘录 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnMemo"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_memo"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/memo"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 二维码 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnQRCode"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_qrcode"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/qrcode"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 谁在干活 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnWhoWorking"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_star"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/who_working"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- PVE -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnPVE"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_pve"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/pve"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 快递 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnExpress"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_express"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/express"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 纪念日 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnAnniversary"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_anniversary"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/anniversary"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 记账 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnAccounting"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_accounting"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/accounting"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 更多 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btnMore"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_columnWeight="1"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:gravity="center"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:src="@drawable/ic_more"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="更多"
|
|
||||||
android:textColor="#374151"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:layout_marginTop="6dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
</GridLayout>
|
|
||||||
|
|
||||||
<!-- 博客标题 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:layout_marginTop="24dp"
|
|
||||||
android:layout_marginStart="24dp"
|
|
||||||
android:layout_marginEnd="24dp"
|
|
||||||
android:layout_marginBottom="12dp">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="24dp"
|
|
||||||
android:layout_height="24dp"
|
|
||||||
android:src="@drawable/ic_blog"
|
|
||||||
android:layout_marginEnd="8dp"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:text="@string/blog_title"
|
|
||||||
android:textSize="18sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textColor="#1F2937"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="更多 >"
|
|
||||||
android:textColor="#6366F1"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:clickable="true"
|
|
||||||
android:focusable="true"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 博客列表占位 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:paddingHorizontal="24dp"
|
|
||||||
android:layout_marginBottom="80dp">
|
|
||||||
|
|
||||||
<!-- 博客占位 1 -->
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="80dp"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="vertical">
|
||||||
android:background="@drawable/bg_blog_card"
|
|
||||||
android:elevation="2dp"
|
|
||||||
android:layout_marginBottom="12dp"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:gravity="center_vertical">
|
|
||||||
|
|
||||||
|
<!-- 顶部欢迎区域 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center_vertical">
|
android:padding="24dp"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:layout_marginBottom="8dp">
|
||||||
|
|
||||||
<View
|
<TextView
|
||||||
android:layout_width="120dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="16dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="#E5E7EB"
|
android:text="早上好"
|
||||||
android:layout_marginBottom="8dp"/>
|
android:textSize="14sp"
|
||||||
|
android:textColor="#6B7280"/>
|
||||||
|
|
||||||
<View
|
<TextView
|
||||||
android:layout_width="200dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="12dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="#F3F4F6"/>
|
android:text="ARKJ"
|
||||||
|
android:textSize="28sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="#1F2937"
|
||||||
|
android:layout_marginTop="2dp"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<!-- 轮播图区域(含加载指示器) -->
|
||||||
android:layout_width="60dp"
|
<FrameLayout
|
||||||
android:layout_height="60dp"
|
android:layout_width="match_parent"
|
||||||
android:background="#E5E7EB"
|
android:layout_height="180dp"
|
||||||
android:layout_marginStart="12dp"/>
|
android:layout_marginHorizontal="24dp"
|
||||||
</LinearLayout>
|
android:layout_marginBottom="20dp">
|
||||||
|
|
||||||
<!-- 博客占位 2 -->
|
<!-- 加载指示器 -->
|
||||||
<LinearLayout
|
<ProgressBar
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/carouselLoading"
|
||||||
android:layout_height="80dp"
|
android:layout_width="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_blog_card"
|
android:layout_gravity="center"
|
||||||
android:elevation="2dp"
|
android:indeterminateTint="#6366F1"/>
|
||||||
android:layout_marginBottom="12dp"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:gravity="center_vertical">
|
|
||||||
|
|
||||||
|
<!-- WebView 初始隐藏,加载完成后显示 -->
|
||||||
|
<WebView
|
||||||
|
android:id="@+id/carouselWebView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="@drawable/bg_carousel"
|
||||||
|
android:elevation="4dp"
|
||||||
|
android:visibility="invisible"/>
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
<!-- 功能网格标题 -->
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="功能"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="#1F2937"
|
||||||
|
android:layout_marginStart="24dp"
|
||||||
|
android:layout_marginBottom="12dp"/>
|
||||||
|
|
||||||
|
<!-- 功能网格 -->
|
||||||
|
<GridLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:rowCount="2"
|
||||||
|
android:columnCount="4"
|
||||||
|
android:paddingHorizontal="16dp"
|
||||||
|
android:alignmentMode="alignMargins">
|
||||||
|
|
||||||
|
<!-- 备忘录 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnMemo"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_memo"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/memo"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 二维码 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnQRCode"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_qrcode"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/qrcode"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 谁在干活 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnWhoWorking"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_star"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/who_working"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- PVE -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnPVE"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_pve"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/pve"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 快递 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnExpress"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_express"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/express"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 纪念日 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnAnniversary"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_anniversary"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/anniversary"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 记账 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnAccounting"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_accounting"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/accounting"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 更多 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btnMore"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_columnWeight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="48dp"
|
||||||
|
android:layout_height="48dp"
|
||||||
|
android:src="@drawable/ic_more"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="更多"
|
||||||
|
android:textColor="#374151"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:layout_marginTop="6dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
</GridLayout>
|
||||||
|
|
||||||
|
<!-- 博客标题 -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:orientation="horizontal"
|
||||||
android:orientation="vertical"
|
android:gravity="center_vertical"
|
||||||
android:gravity="center_vertical">
|
android:layout_marginTop="24dp"
|
||||||
|
android:layout_marginStart="24dp"
|
||||||
|
android:layout_marginEnd="24dp"
|
||||||
|
android:layout_marginBottom="12dp">
|
||||||
|
|
||||||
<View
|
<ImageView
|
||||||
android:layout_width="120dp"
|
android:layout_width="24dp"
|
||||||
android:layout_height="16dp"
|
android:layout_height="24dp"
|
||||||
android:background="#E5E7EB"
|
android:src="@drawable/ic_blog"
|
||||||
android:layout_marginBottom="8dp"/>
|
android:layout_marginEnd="8dp"/>
|
||||||
|
|
||||||
<View
|
<TextView
|
||||||
android:layout_width="200dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="12dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="#F3F4F6"/>
|
android:layout_weight="1"
|
||||||
|
android:text="@string/blog_title"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="#1F2937"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="更多 >"
|
||||||
|
android:textColor="#6366F1"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:clickable="true"
|
||||||
|
android:focusable="true"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<!-- 博客列表占位 -->
|
||||||
android:layout_width="60dp"
|
|
||||||
android:layout_height="60dp"
|
|
||||||
android:background="#E5E7EB"
|
|
||||||
android:layout_marginStart="12dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- 博客占位 3 -->
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="80dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:background="@drawable/bg_blog_card"
|
|
||||||
android:elevation="2dp"
|
|
||||||
android:layout_marginBottom="12dp"
|
|
||||||
android:padding="12dp"
|
|
||||||
android:gravity="center_vertical">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:gravity="center_vertical">
|
android:paddingHorizontal="24dp"
|
||||||
|
android:layout_marginBottom="16dp">
|
||||||
|
|
||||||
<View
|
<!-- 博客占位 1 -->
|
||||||
android:layout_width="120dp"
|
<LinearLayout
|
||||||
android:layout_height="16dp"
|
android:layout_width="match_parent"
|
||||||
android:background="#E5E7EB"
|
android:layout_height="80dp"
|
||||||
android:layout_marginBottom="8dp"/>
|
android:orientation="horizontal"
|
||||||
|
android:background="@drawable/bg_blog_card"
|
||||||
|
android:elevation="2dp"
|
||||||
|
android:layout_marginBottom="12dp"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
<View
|
<LinearLayout
|
||||||
android:layout_width="200dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="12dp"
|
android:layout_height="match_parent"
|
||||||
android:background="#F3F4F6"/>
|
android:layout_weight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="120dp"
|
||||||
|
android:layout_height="16dp"
|
||||||
|
android:background="#E5E7EB"
|
||||||
|
android:layout_marginBottom="8dp"/>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="200dp"
|
||||||
|
android:layout_height="12dp"
|
||||||
|
android:background="#F3F4F6"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="60dp"
|
||||||
|
android:layout_height="60dp"
|
||||||
|
android:background="#E5E7EB"
|
||||||
|
android:layout_marginStart="12dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 博客占位 2 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="80dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:background="@drawable/bg_blog_card"
|
||||||
|
android:elevation="2dp"
|
||||||
|
android:layout_marginBottom="12dp"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="120dp"
|
||||||
|
android:layout_height="16dp"
|
||||||
|
android:background="#E5E7EB"
|
||||||
|
android:layout_marginBottom="8dp"/>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="200dp"
|
||||||
|
android:layout_height="12dp"
|
||||||
|
android:background="#F3F4F6"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="60dp"
|
||||||
|
android:layout_height="60dp"
|
||||||
|
android:background="#E5E7EB"
|
||||||
|
android:layout_marginStart="12dp"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<!-- 博客占位 3 -->
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="80dp"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:background="@drawable/bg_blog_card"
|
||||||
|
android:elevation="2dp"
|
||||||
|
android:layout_marginBottom="12dp"
|
||||||
|
android:padding="12dp"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="120dp"
|
||||||
|
android:layout_height="16dp"
|
||||||
|
android:background="#E5E7EB"
|
||||||
|
android:layout_marginBottom="8dp"/>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="200dp"
|
||||||
|
android:layout_height="12dp"
|
||||||
|
android:background="#F3F4F6"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="60dp"
|
||||||
|
android:layout_height="60dp"
|
||||||
|
android:background="#E5E7EB"
|
||||||
|
android:layout_marginStart="12dp"/>
|
||||||
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="60dp"
|
|
||||||
android:layout_height="60dp"
|
|
||||||
android:background="#E5E7EB"
|
|
||||||
android:layout_marginStart="12dp"/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</ScrollView>
|
||||||
|
|
||||||
<!-- 底部导航 -->
|
<!-- 底部导航(固定在底部) -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|||||||
Reference in New Issue
Block a user