-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
activity_converters.xml
46 lines (40 loc) · 1.62 KB
/
activity_converters.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:local="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
local:MvxBind="Text StringToLower(LowercaseConverterTestText)"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
local:MvxBind="Text StringToUpper(UppercaseConverterTestText)"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="I am visible! Click button below to hide me."
local:MvxBind="Visibility Visibility(ShowText)"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Toggle Visibility"
local:MvxBind="Click ToggleVisibilityCommand" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
local:MvxBind="Text ColorText; TextColor TextToColor(ColorText)"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Toggle Color"
local:MvxBind="Click ToggleColorCommand" />
</LinearLayout>