mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
feat: 自定义设备页按钮
This commit is contained in:
parent
b6ba206511
commit
391dce160a
@ -39,8 +39,6 @@ public class DeviceAddPowerSwitchActivity extends BaseActivity {
|
||||
|
||||
// 设置标题栏信息
|
||||
this.setTitle(null, getString(R.string.power_switch_add), null, R.drawable.ic_confrim_32);
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -6,4 +6,25 @@
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.custom.DeviceCustomActivity">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world"/>
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world"/>
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
x
Reference in New Issue
Block a user