Rabbit-R1/switch port/java/resources/res/layout/layout_setting_title.xml
2024-05-21 17:08:36 -04:00

53 lines
2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:focusable="true"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxHeight="38dp"
android:minHeight="36dp"
android:defaultFocusHighlightEnabled="false">
<LinearLayout
android:orientation="horizontal"
android:id="@+id/ll_focus_title"
android:background="@drawable/bg_setting_choose"
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<ImageView
android:layout_gravity="center_vertical"
android:layout_width="24dp"
android:layout_height="24dp"
android:src="@drawable/ic_setting_back"/>
<TextView
android:textSize="30dp"
android:textColor="@color/black"
android:layout_gravity="center_vertical"
android:id="@+id/tv_focus_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:layout_marginTop="-2dp"
android:text="settings"
android:maxLines="1"
android:singleLine="true"
android:fontFamily="@font/power_grotesk_regular"
android:textFontWeight="400"/>
</LinearLayout>
<TextView
android:textSize="30dp"
android:textColor="@color/white"
android:ellipsize="marquee"
android:layout_gravity="center_vertical"
android:id="@+id/tv_normal_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="settings"
android:maxLines="1"
android:singleLine="true"
android:fontFamily="@font/power_grotesk_regular"
android:textFontWeight="400"/>
</LinearLayout>