Files
Android-key-of-love/app/src/main/res/layout/keyboard_emoji.xml
pengxiaolong 7814a10815 完善
2025-12-26 22:01:04 +08:00

91 lines
3.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/background"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="3dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="30dp"
android:orientation="horizontal"
android:gravity="center_vertical">
<TextView
android:id="@+id/key_abc"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:background="@drawable/bg_top_tab"
android:text="ABC"
android:textSize="16sp"
android:layout_marginRight="6dp"/>
<TextView
android:id="@+id/tab_emoji"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="Emoji"
android:textSize="15sp"
android:background="@drawable/bg_top_tab"
android:layout_marginRight="6dp"
android:layout_marginLeft="6dp"/>
<TextView
android:id="@+id/tab_kaomoji"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="Kaomoji"
android:textSize="15sp"
android:background="@drawable/bg_top_tab"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"/>
<TextView
android:id="@+id/key_del"
android:layout_width="0dp"
android:layout_height="match_parent"
android:gravity="center"
android:layout_weight="1"
android:background="@drawable/bg_top_tab"
android:text="⌫"
android:textSize="18sp"
android:layout_marginLeft="6dp"/>
</LinearLayout>
<!-- 分页内容 -->
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="176dp" />
<!-- PageIndicator 点点 -->
<!-- <LinearLayout
android:id="@+id/page_indicator"
android:layout_width="match_parent"
android:layout_height="22dp"
android:gravity="center"
android:orientation="horizontal" /> -->
<HorizontalScrollView
android:id="@+id/subcategory_scroll"
android:layout_width="match_parent"
android:layout_height="30dp"
android:overScrollMode="never"
android:scrollbars="none">
<LinearLayout
android:id="@+id/subcategory_bar"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal" />
</HorizontalScrollView>
</LinearLayout>