-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathactivity_main.xml
More file actions
64 lines (55 loc) · 2.5 KB
/
activity_main.xml
File metadata and controls
64 lines (55 loc) · 2.5 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aztec="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<org.wordpress.aztec.toolbar.AztecToolbar
android:id="@+id/formatting_toolbar"
android:layout_width="match_parent"
android:layout_height="@dimen/aztec_format_bar_height"
android:layout_alignParentBottom="true">
</org.wordpress.aztec.toolbar.AztecToolbar>
<ScrollView
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/formatting_toolbar"
android:layout_alignParentTop="true"
android:fillViewport="true">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/container_frame_layout">
<org.wordpress.aztec.AztecText
android:id="@+id/aztec"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top|start"
android:inputType="textCapSentences|textMultiLine"
android:paddingEnd="16dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:scrollbars="vertical"
android:imeOptions="flagNoExtractUi"
aztec:historyEnable="true"
aztec:historySize="10"/>
<org.wordpress.aztec.source.SourceViewEditText
android:id="@+id/source"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top|start"
android:inputType="textNoSuggestions|textMultiLine"
android:paddingEnd="16dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:scrollbars="vertical"
android:textSize="14sp"
android:visibility="gone"
android:imeOptions="flagNoExtractUi"
aztec:codeBackgroundColor="@android:color/transparent"
aztec:codeTextColor="@android:color/white"/>
</FrameLayout>
</ScrollView>
</RelativeLayout>