You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SmsForwarder/app/src/main/res/layout/activity_main.xml

62 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.idormy.sms.forwarder.ReFlashListView
android:id="@+id/list_view_log"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp"
android:layout_weight="1" />
<!-- <ListView-->
<!-- android:id="@+id/list_view_log"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- android:layout_margin="8dp"-->
<!-- android:layout_weight="1" />-->
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="9"
android:orientation="horizontal">
<Button
android:id="@+id/bt_refresh_log"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
android:background="@android:color/holo_blue_dark"
android:onClick="cleanLog"
android:text="清空记录"
tools:ignore="NestedWeights" />
<Button
android:id="@+id/bt_rule_set"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
android:background="@android:color/holo_blue_dark"
android:onClick="toRuleSetting"
android:text="设置转发规则"
tools:ignore="NestedWeights" />
<Button
android:id="@+id/bt_send_set"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:layout_weight="1"
android:background="@android:color/holo_blue_dark"
android:onClick="toSendSetting"
android:text="设置发送方" />
</LinearLayout>
</LinearLayout>