Changeset View
Changeset View
Standalone View
Standalone View
res/layout/activity_mousepad.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | 3 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
4 | android:keepScreenOn="true" | 4 | android:id="@+id/mousepad_view" | ||
5 | android:orientation="vertical" | | |||
6 | android:layout_width="match_parent" | 5 | android:layout_width="match_parent" | ||
7 | android:layout_height="match_parent" | 6 | android:layout_height="match_parent" | ||
8 | android:id="@+id/mousepad_view"> | 7 | android:keepScreenOn="true" | ||
8 | android:orientation="vertical"> | ||||
9 | 9 | | |||
10 | <TextView | 10 | <TextView | ||
11 | style="@android:style/TextAppearance.Medium" | ||||
11 | android:layout_width="match_parent" | 12 | android:layout_width="match_parent" | ||
12 | android:layout_height="wrap_content" | 13 | android:layout_height="wrap_content" | ||
13 | android:text="@string/mousepad_info" | | |||
14 | android:gravity="center" | | |||
15 | style="@android:style/TextAppearance.Medium" | | |||
16 | android:layout_centerInParent="true" | 14 | android:layout_centerInParent="true" | ||
17 | android:padding="12dip" /> | 15 | android:gravity="center" | ||
16 | android:padding="12dip" | ||||
17 | android:text="@string/mousepad_info" /> | ||||
18 | 18 | | |||
19 | <view | 19 | <view | ||
20 | android:layout_width="wrap_content" | 20 | android:id="@+id/keyListener" | ||
21 | android:layout_height="wrap_content" | | |||
22 | class="org.kde.kdeconnect.Plugins.MousePadPlugin.KeyListenerView" | 21 | class="org.kde.kdeconnect.Plugins.MousePadPlugin.KeyListenerView" | ||
23 | android:id="@+id/keyListener" /> | 22 | android:layout_width="wrap_content" | ||
23 | android:layout_height="wrap_content" /> | ||||
24 | 24 | | |||
25 | </RelativeLayout> | 25 | </RelativeLayout> | ||
26 | No newline at end of file | 26 | No newline at end of file |