Files
Nebula-domain-server-amlogic/app/src/main/res/layout/activity_main_layout.xml
2025-09-29 08:52:07 +08:00

83 lines
2.6 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ll_dish_root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:gravity="center"
android:text="DomainServer"
android:textColor="#ffffff"
android:textSize="18sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="30dp">
<Button
android:id="@+id/btn_start_sdk"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="start connect" />
<Button
android:id="@+id/btn_clear_log"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="clear log" />
</LinearLayout>
<!-- <ScrollView-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent">-->
<!-- <LinearLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content">-->
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginBottom="20dp"
android:text=" 点击START CONNECT按钮开始请求数据然后显示在下面\n点击CLEAR LOG按钮清除获取到的数据\n每隔2分钟自动获取一次数据
\n\n请求结果如下:"
android:textColor="@color/lb_tv_white"
android:textSize="18sp" />
<EditText
android:id="@+id/log_text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:enabled="false"
android:focusable="false"
android:gravity="top"
android:inputType="textMultiLine|textPersonName"
android:overScrollMode="always"
android:padding="20dp"
android:scrollbarStyle="insideInset"
android:scrollbars="vertical"
android:textColor="@color/lb_tv_white"
android:textSize="18sp" />
<!-- </LinearLayout>-->
<!-- </ScrollView>-->
</LinearLayout>