- note_view_full modified

This commit is contained in:
Matan Bar Yosef 2016-07-09 21:03:16 +03:00
parent 9ffd24c101
commit ce683b3191
2 changed files with 82 additions and 57 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

View file

@ -2,79 +2,104 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical"
android:padding="15dp">
<LinearLayout
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/imageView10"
android:src="@drawable/new_note"
android:layout_gravity="center_vertical" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge" android:textAppearance="?android:attr/textAppearanceLarge"
android:text="New Note" android:text="New Note"
android:id="@+id/textView" /> android:id="@+id/textView"
android:layout_marginLeft="10dp"
android:layout_gravity="center_vertical" />
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText <EditText
android:id="@+id/nvf_note_title" android:id="@+id/nvf_note_title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:autoText="false" android:autoText="false"
android:editable="true" android:editable="true"
android:elegantTextHeight="false" android:elegantTextHeight="false"
android:maxLines="1" android:maxLines="1"
android:textColor="#c5c4c4" android:textColor="#c5c4c4"
android:hint="Title" /> android:hint="Title"
android:layout_marginTop="15dp" />
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:id="@+id/scrollView" android:id="@+id/scrollView"
android:layout_weight="0.5"> android:layout_weight="0.5"
android:layout_marginTop="10dp">
<EditText <EditText
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="textMultiLine" android:inputType="textMultiLine"
android:ems="10" android:ems="10"
android:id="@+id/nvf_note_content" android:id="@+id/nvf_note_content"
android:hint="Note Body" android:hint="Note Body"
android:layout_weight="0.24" /> android:layout_weight="0.24" />
</ScrollView> </ScrollView>
<Switch <Switch
android:id="@+id/nvf_note_permission" android:id="@+id/nvf_note_permission"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="25dp" android:layout_marginTop="25dp"
android:checked="true" android:checked="true"
android:text="@string/nvf_public_label" android:text="@string/nvf_public_label"
android:layout_gravity="center_horizontal" /> android:layout_gravity="center_horizontal" />
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal">
<Button
android:id="@+id/nvf_note_submit_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/note_me" android:layout_gravity="center_horizontal">
android:layout_margin="15dp"
android:drawableLeft="@android:drawable/ic_menu_send"
android:background="@color/colorPrimary"
android:textColor="#ffffff"
android:paddingLeft="5dp"
android:paddingRight="5dp" />
<Button <Button
android:id="@+id/nvf_note_cancel_btn" android:id="@+id/nvf_note_submit_btn"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/throw_me" android:text="@string/note_me"
android:layout_marginTop="15dp" android:layout_margin="15dp"
android:drawableLeft="@android:drawable/ic_menu_delete" /> android:drawableLeft="@android:drawable/ic_menu_send"
android:background="@color/colorPrimary"
android:textColor="#ffffff"
android:paddingLeft="5dp"
android:paddingRight="5dp" />
</LinearLayout> <Button
android:id="@+id/nvf_note_cancel_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/throw_me"
android:layout_marginTop="15dp"
android:drawableLeft="@android:drawable/ic_menu_delete" />
</LinearLayout>
</LinearLayout>
</LinearLayout> </LinearLayout>