<?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:id="@+id/crbox_layout" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="> <ScrollView android:id="@+id/scrollView" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_above="@+id/m_table_menu"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <EditText android:id="@+id/new_box_title" android:layout_width="match_parent" android:layout_height="wrap_content" android:ems="10" android:hint="Title" android:inputType="textPersonName" /> <EditText android:id="@+id/new_box_descri" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="Description" android:gravity="top" android:inputType="textCapSentences|textMultiLine" android:lines="5" android:windowSoftInputMode="stateAlwaysVisible" /> </LinearLayout> </ScrollView> <LinearLayout android:id="@+id/m_table_menu" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_alignParentBottom="true"> <ImageButton android:id="@+id/cameraButton" android:layout_width="wrap_content" android:layout_height="40dp" android:layout_weight="1" android:background="@android:color/white" android:contentDescription="Open Camera" app:srcCompat="@drawable/ic_box_camera_icon" /> <ImageButton android:id="@+id/galleryButton" android:layout_width="wrap_content" android:layout_height="40dp" android:layout_weight="1" android:background="@android:color/white" android:contentDescription="Choose Image" app:srcCompat="@drawable/ic_box_image_icon" /> <ImageButton android:id="@+id/imageButton" android:layout_width="wrap_content" android:layout_height="40dp" android:layout_weight="1" android:background="@android:color/white" android:contentDescription="Choose Color" app:srcCompat="@drawable/ic_box_color_icon" /> </LinearLayout> </RelativeLayout>
new_box_title
new_box_descri
orientation
RelativeLayout
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)