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

53 lines
2.4 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:layout_width="match_parent"
android:layout_height="match_parent">
<com.ubt.jimu.main.widget.CardLayout
android:id="@+id/card_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerVertical="true"
app:cl_hPadding="@dimen/home_card_padding"
app:cl_hSpacing="@dimen/home_card_spacing"
app:cl_ratioWH="1.53"
app:cl_splitCount="4">
<TextView
android:id="@+id/card_build"
android:background="@drawable/home_build"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/button_text_build"
style="@style/home_card_txt"/>
<TextView
android:id="@+id/card_control"
android:background="@drawable/home_control"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/button_text_control"
style="@style/home_card_txt"/>
<TextView
android:id="@+id/card_action"
android:background="@drawable/home_action"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/setting_study_actions"
style="@style/home_card_txt"/>
<TextView
android:id="@+id/card_code"
android:background="@drawable/home_coding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/button_text_code"
style="@style/home_card_txt"/>
</com.ubt.jimu.main.widget.CardLayout>
<com.ubt.jimu.main.widget.RobotSwitchView
android:id="@+id/robot_switch"
android:background="@drawable/connection_status_bg"
android:layout_width="@dimen/switch_robot_img"
android:layout_height="@dimen/switch_robot_img"
android:layout_marginRight="@dimen/home_switch_margin_vertical"
android:layout_marginBottom="@dimen/home_switch_margin_vertical"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"/>
</RelativeLayout>