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

62 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/servo_mode_button_margin">
<ImageView
android:id="@+id/iv_left"
android:background="@mipmap/icon_round_back"
android:layout_width="@dimen/theme_navigation_large_size"
android:layout_height="@dimen/theme_navigation_large_size"
android:layout_marginLeft="@dimen/servo_mode_button_margin"
android:layout_alignParentLeft="true"/>
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true">
<TextView
android:textSize="@dimen/theme_18sp"
android:textColor="@color/theme_txt"
android:ellipsize="end"
android:layout_gravity="center"
android:id="@+id/tv_title"
android:paddingLeft="@dimen/theme_navigation_size"
android:paddingRight="@dimen/theme_navigation_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/servo_mode"
android:singleLine="true"/>
<TextView
android:textSize="@dimen/theme_14sp"
android:textColor="@color/theme_txt_light"
android:ellipsize="end"
android:layout_gravity="center"
android:id="@+id/tv_subhead"
android:background="@null"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/servo_mode_subhead"
android:singleLine="true"/>
</LinearLayout>
<ImageView
android:id="@+id/iv_help"
android:background="@mipmap/ic_help"
android:visibility="gone"
android:layout_width="@dimen/theme_navigation_large_size"
android:layout_height="@dimen/theme_navigation_large_size"
android:layout_marginRight="@dimen/help_margin_left"
android:layout_toLeftOf="@+id/iv_right"
android:layout_centerVertical="true"/>
<ImageView
android:id="@+id/iv_right"
android:background="@mipmap/affirm_controller"
android:visibility="gone"
android:layout_width="@dimen/theme_navigation_large_size"
android:layout_height="@dimen/theme_navigation_large_size"
android:layout_marginRight="@dimen/servo_mode_button_margin"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
</RelativeLayout>