1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 11:26:47 +01:00

removed button settings

This commit is contained in:
Daniel Dakhno 2020-01-19 15:11:54 +01:00
parent 132d97ee95
commit 39d948860d

View File

@ -1,69 +1,81 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:weightSum="1"> android:weightSum="1">
<ListView <ListView
android:id="@+id/qhybrid_action_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_weight="0.4"
android:layout_height="0dp" android:layout_height="0dp"
android:id="@+id/qhybrid_action_list"/> android:layout_weight="0.4" />
<Button <Button
android:id="@+id/qhybrid_action_add"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="add action" android:text="add action" />
android:id="@+id/qhybrid_action_add"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView <TextView
android:id="@+id/qhybrid_button_top_single_press"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="top button single press" android:text="top button single press"
android:id="@+id/qhybrid_button_top_single_press"
android:textSize="20dp" /> android:textSize="20dp" />
<TextView <TextView
android:id="@+id/qhybrid_button_middle_single_press"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="middle button single press" android:text="middle button single press"
android:id="@+id/qhybrid_button_middle_single_press"
android:textSize="20dp" /> android:textSize="20dp" />
<TextView <TextView
android:id="@+id/qhybrid_button_bottom_single_press"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="bottom button single press" android:text="bottom button single press"
android:id="@+id/qhybrid_button_bottom_single_press"
android:textSize="20dp" /> android:textSize="20dp" />
</LinearLayout>
<Space <Space
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="20dp" /> android:layout_height="20dp" />
<TextView <TextView
android:id="@+id/qhybrid_button_widget_top"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="top widget" android:text="top widget"
android:id="@+id/qhybrid_button_widget_top"
android:textSize="20dp" /> android:textSize="20dp" />
<TextView <TextView
android:id="@+id/qhybrid_button_widget_right"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="right widget" android:text="right widget"
android:id="@+id/qhybrid_button_widget_right"
android:textSize="20dp" /> android:textSize="20dp" />
<TextView <TextView
android:id="@+id/qhybrid_button_widget_bottom"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="bottom widget" android:text="bottom widget"
android:id="@+id/qhybrid_button_widget_bottom"
android:textSize="20dp" /> android:textSize="20dp" />
<TextView <TextView
android:id="@+id/qhybrid_button_widget_left"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="left widget" android:text="left widget"
android:id="@+id/qhybrid_button_widget_left"
android:textSize="20dp" /> android:textSize="20dp" />
@ -73,15 +85,15 @@
android:text="custom widgets" /> android:text="custom widgets" />
<ListView <ListView
android:id="@+id/qhybrid_widget_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_weight="0.4"
android:layout_height="0dp" android:layout_height="0dp"
android:id="@+id/qhybrid_widget_list"/> android:layout_weight="0.4" />
<Button <Button
android:id="@+id/qhybrid_widget_add"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="add widget" android:text="add widget" />
android:id="@+id/qhybrid_widget_add"/>
</LinearLayout> </LinearLayout>