108 lines
4.1 KiB
XML
108 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
|
|
<com.stardust.theme.widget.ThemeColorToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:theme="@style/ToolBarStyle"
|
|
android:background="?attr/colorPrimary"
|
|
android:title="@string/_app_name"
|
|
app:popupTheme="@style/AppTheme.PopupOverlay">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/toolbar_menu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="right"/>
|
|
|
|
</com.stardust.theme.widget.ThemeColorToolbar>
|
|
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
|
|
<android.support.v4.widget.DrawerLayout
|
|
android:id="@+id/drawer_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<org.autojs.autojs.ui.edit.editor.CodeEditor
|
|
android:id="@+id/editor"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/input_method_enhance_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:background="#77f2f3f7">
|
|
|
|
<org.autojs.autojs.ui.edit.completion.CodeCompletionBar
|
|
android:id="@+id/symbol_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="35dp"
|
|
android:layout_alignParentBottom="true"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/functions"
|
|
android:layout_width="40dp"
|
|
android:layout_height="35dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentTop="true"
|
|
android:background="?selectableItemBackgroundBorderless"
|
|
android:padding="6dp"
|
|
android:src="@drawable/ic_ali_fx"
|
|
android:tint="#222329"/>
|
|
|
|
<org.autojs.autojs.ui.edit.completion.CodeCompletionBar
|
|
android:id="@+id/code_completion_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="35dp"
|
|
android:layout_above="@+id/symbol_bar"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_toRightOf="@+id/functions"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<org.autojs.autojs.ui.edit.keyboard.FunctionsKeyboardView
|
|
android:id="@+id/functions_keyboard"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="gone"/>
|
|
|
|
|
|
<org.autojs.autojs.ui.edit.debug.DebugBar
|
|
android:id="@+id/debug_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<org.autojs.autojs.ui.widget.EWebView
|
|
android:id="@+id/docs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="start"/>
|
|
</android.support.v4.widget.DrawerLayout>
|
|
|
|
</LinearLayout> |