Вы находитесь на странице: 1из 9

<vector android:height="24dp" <vector android:height="24dp"

android:tint="#FFFFFF" android:tint="#BBBBBB"
android:viewportHeight="24.0" android:viewportHeight="24.0"
android:viewportWidth="24.0" android:viewportWidth="24.0"
android:width="24dp" android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res xmlns:android="http://schemas.android.com/apk/res
/android"> /android">
<path android:fillColor="#FF000000" <path android:fillColor="#FF000000"
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v android:pathData="M10,20v-6h4v6h5v-8h3L12,3
6h6v2z"/> 2,12h3v8z"/>
</vector> </vector>

<vector android:height="24dp" <?xml version="1.0" encoding="utf-8"?>


android:tint="#BBBBBB" <vector
android:viewportHeight="24.0" xmlns:android="http://schemas.android.com/apk/res
android:viewportWidth="24.0" /android"
android:width="24dp" android:width="108dp"
xmlns:android="http://schemas.android.com/apk/res android:height="108dp"
/android"> android:viewportHeight="108"
<path android:fillColor="#FF000000" android:viewportWidth="108">
android:pathData="M17.66,7.93L12,2.27 <path
6.34,7.93c-3.12,3.12 -3.12,8.19 0,11.31C7.9,20.8 android:fillColor="#26A69A"
9.95,21.58 12,21.58c2.05,0 4.1,-0.78 5.66,-2.34 android:pathData="M0,0h108v108h-108z"
3.12,-3.12 3.12,-8.19 0,-11.31zM12,19.59c-1.6,0 />
-3.11,-0.62 -4.24,-1.76C6.62,16.69 6,15.19 <path
6,13.59s0.62,-3.11 1.76,-4.24L12,5.1v14.49z"/> android:fillColor="#00000000"
</vector> android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF"
<vector android:height="24dp" android:strokeWidth="0.8" />
android:tint="#FFFFFF" <path
android:viewportHeight="24.0" android:fillColor="#00000000"
android:viewportWidth="24.0" android:pathData="M19,0L19,108"
android:width="24dp" android:strokeColor="#33FFFFFF"
xmlns:android="http://schemas.android.com/apk/res android:strokeWidth="0.8" />
/android"> <path
<path android:fillColor="#FF000000" android:fillColor="#00000000"
android:pathData="M6,19c0,1.1 0.9,2 2,2h8c1.1,0 android:pathData="M29,0L29,108"
2,-0.9 android:strokeColor="#33FFFFFF"
2,-2V7H6v12zM19,4h-3.5l-1,-1h-5l-1,1H5v2h14V4z"/> android:strokeWidth="0.8" />
</vector> <path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,29L108,29"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M49,0L49,108" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,39L108,39"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M59,0L59,108" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,49L108,49"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M69,0L69,108" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,59L108,59"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M79,0L79,108" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,69L108,69"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M89,0L89,108" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,79L108,79"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M99,0L99,108" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,89L108,89"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M0,9L108,9" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M0,99L108,99"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M0,19L108,19" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
android:pathData="M19,29L89,29" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M59,19L59,89"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M19,39L89,39" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M69,19L69,89"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M19,49L89,49" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" <path
android:strokeWidth="0.8" /> android:fillColor="#00000000"
<path android:pathData="M79,19L79,89"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF"
android:pathData="M19,59L89,59" android:strokeWidth="0.8" />
android:strokeColor="#33FFFFFF" </vector>
android:strokeWidth="0.8" />
<path <vector android:height="24dp" android:tint="#BBBBBB"

android:fillColor="#00000000" android:viewportHeight="24.0"

android:pathData="M19,69L89,69" android:viewportWidth="24.0"

android:strokeColor="#33FFFFFF" android:width="24dp"

android:strokeWidth="0.8" /> xmlns:android="http://schemas.android.com/apk/res/andro

<path id">

android:fillColor="#00000000" <path android:fillColor="#FF000000"

android:pathData="M19,79L89,79" android:pathData="M22,10l-6,-6L4,4c-1.1,0 -2,0.9

android:strokeColor="#33FFFFFF" -2,2v12.01c0,1.1 0.9,1.99 2,1.99l16,-0.01c1.1,0 2,-0.89

android:strokeWidth="0.8" /> 2,-1.99v-8zM15,5.5l5.5,5.5L15,11L15,5.5z"/>

<path </vector>

android:fillColor="#00000000" <vector android:height="24dp" android:tint="#BBBBBB"

android:pathData="M29,19L29,89" android:viewportHeight="24.0"

android:strokeColor="#33FFFFFF" android:viewportWidth="24.0"

android:strokeWidth="0.8" /> android:width="24dp"

<path xmlns:android="http://schemas.android.com/apk/res/andro

android:fillColor="#00000000" id">

android:pathData="M39,19L39,89" <path android:fillColor="#FF000000"

android:strokeColor="#33FFFFFF" android:pathData="M19.43,12.98c0.04,-0.32 0.07,-0.64

android:strokeWidth="0.8" /> 0.07,-0.98s-0.03,-0.66

<path -0.07,-0.98l2.11,-1.65c0.19,-0.15 0.24,-0.42

android:fillColor="#00000000" 0.12,-0.64l-2,-3.46c-0.12,-0.22 -0.39,-0.3

android:pathData="M49,19L49,89" -0.61,-0.22l-2.49,1c-0.52,-0.4 -1.08,-0.73

android:strokeColor="#33FFFFFF" -1.69,-0.98l-0.38,-2.65C14.46,2.18 14.25,2


14,2h-4c-0.25,0 -0.46,0.18 android:viewportHeight="108"

-0.49,0.42l-0.38,2.65c-0.61,0.25 -1.17,0.59 android:viewportWidth="108">

-1.69,0.98l-2.49,-1c-0.23,-0.09 -0.49,0 <path

-0.61,0.22l-2,3.46c-0.13,0.22 -0.07,0.49 android:fillType="evenOdd"

0.12,0.64l2.11,1.65c-0.04,0.32 -0.07,0.65 android:pathData="M32,64C32,64 38.39,52.99

-0.07,0.98s0.03,0.66 0.07,0.98l-2.11,1.65c-0.19,0.15 44.13,50.95C51.37,48.37 70.14,49.57

-0.24,0.42 -0.12,0.64l2,3.46c0.12,0.22 0.39,0.3 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z

0.61,0.22l2.49,-1c0.52,0.4 1.08,0.73 "

1.69,0.98l0.38,2.65c0.03,0.24 0.24,0.42 android:strokeColor="#00000000"

0.49,0.42h4c0.25,0 0.46,-0.18 android:strokeWidth="1">

0.49,-0.42l0.38,-2.65c0.61,-0.25 1.17,-0.59 <aapt:attr name="android:fillColor">

1.69,-0.98l2.49,1c0.23,0.09 0.49,0 <gradient

0.61,-0.22l2,-3.46c0.12,-0.22 0.07,-0.49 android:endX="78.5885"

-0.12,-0.64l-2.11,-1.65zM12,15.5c-1.93,0 -3.5,-1.57 android:endY="90.9159"

-3.5,-3.5s1.57,-3.5 3.5,-3.5 3.5,1.57 3.5,3.5 -1.57,3.5 android:startX="48.7653"

-3.5,3.5z"/> android:startY="61.0927"

</vector> android:type="linear">

<vector android:height="24dp" android:tint="#FFFFFF" <item

android:viewportHeight="24.0" android:color="#44000000"

android:viewportWidth="24.0" android:offset="0.0" />

android:width="24dp" <item

xmlns:android="http://schemas.android.com/apk/res/andro android:color="#00000000"

id"> android:offset="1.0" />

<path android:fillColor="#FF000000" </gradient>

android:pathData="M18,16.08c-0.76,0 -1.44,0.3 </aapt:attr>

-1.96,0.77L8.91,12.7c0.05,-0.23 0.09,-0.46 </path>

0.09,-0.7s-0.04,-0.47 -0.09,-0.7l7.05,-4.11c0.54,0.5 <path

1.25,0.81 2.04,0.81 1.66,0 3,-1.34 3,-3s-1.34,-3 -3,-3 android:fillColor="#FFFFFF"

-3,1.34 -3,3c0,0.24 0.04,0.47 android:fillType="nonZero"

0.09,0.7L8.04,9.81C7.5,9.31 6.79,9 6,9c-1.66,0 -3,1.34

-3,3s1.34,3 3,3c0.79,0 1.5,-0.31 android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07

2.04,-0.81l7.12,4.16c-0.05,0.21 -0.08,0.43 -0.08,0.65 76,56.61 76,64L32,64C32,56.61 35.56,50.11

0,1.61 1.31,2.92 2.92,2.92 1.61,0 2.92,-1.31 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3

2.92,-2.92s-1.31,-2.92 -2.92,-2.92z"/> 36.18,38.56C36.91,37.81 38.05,37.81

</vector> 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71

54,41.71C57.48,41.71 60.78,42.57

<vector 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81

xmlns:android="http://schemas.android.com/apk/res/andro 71.71,38.56C72.44,39.3 72.44,40.45

id" 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92
xmlns:aapt="http://schemas.android.com/aapt" 65,56.01 65,54.88C65,53.76 64.08,52.85

android:width="108dp" 62.94,52.85C61.8,52.85 60.88,53.76

android:height="108dp" 60.88,54.88C60.88,56.01 61.8,56.92


62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 android:paddingStart="12dp"

47.13,54.88C47.13,53.76 46.2,52.85 android:paddingTop="4dp"

45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 tools:text="@tools:sample/lorem/random"

43.92,56.92 45.06,56.92Z"

android:strokeColor="#00000000" />

android:strokeWidth="1" /> </RelativeLayout>

</vector> <?xml version="1.0" encoding="utf-8"?>


<?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/andro

xmlns:android="http://schemas.android.com/apk/res/andro id"

id" xmlns:app="http://schemas.android.com/apk/res-auto"

xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"

xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"

android:layout_width="match_parent" android:layout_height="match_parent"

android:layout_height="match_parent" tools:context=".MainActivity">

tools:context="com.ixidev.simplenotepad.EditNoteActivit <android.support.design.widget.AppBarLayout

y"> android:layout_width="match_parent"

android:layout_height="wrap_content"

android:theme="@style/AppTheme.AppBarOverlay">

<android.support.v7.widget.Toolbar

android:id="@+id/edit_note_activity_toolbar" <android.support.v7.widget.Toolbar

android:layout_width="match_parent" android:id="@+id/toolbar"

android:layout_height="wrap_content" android:layout_width="match_parent"

android:layout_alignParentStart="true" android:layout_height="?attr/actionBarSize"

android:layout_alignParentTop="true" android:background="?attr/colorPrimary"

android:background="?attr/colorPrimary"

android:minHeight="?attr/actionBarSize" app:popupTheme="@style/AppTheme.PopupOverlay" />

android:theme="?attr/actionBarTheme" />

</android.support.design.widget.AppBarLayout>

<EditText

<include layout="@layout/content_main" />

android:layout_below="@id/edit_note_activity_toolbar"

android:id="@+id/input_note" <android.support.design.widget.FloatingActionButton

android:layout_width="match_parent" android:id="@+id/fab"

android:layout_height="match_parent" android:layout_width="wrap_content"

android:layout_gravity="top" android:layout_height="wrap_content"

android:ems="10" android:layout_gravity="bottom|end"

android:hint="@string/whats_in_your_mind" android:layout_margin="@dimen/fab_margin"
android:gravity="top" android:src="@drawable/ic_add_black_24dp" />

android:inputType="textMultiLine"

android:paddingEnd="12dp" </android.support.design.widget.CoordinatorLayout>
<?xml version="1.0" encoding="utf-8"?> android:id="@+id/checkBox"

<RelativeLayout android:layout_width="wrap_content"

xmlns:android="http://schemas.android.com/apk/res/andro android:layout_height="wrap_content"

id" android:layout_gravity="center_vertical"

xmlns:app="http://schemas.android.com/apk/res-auto" android:visibility="gone" />

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent" <LinearLayout

android:layout_height="match_parent" android:layout_width="match_parent"

android:layout_height="wrap_content"

app:layout_behavior="@string/appbar_scrolling_view_beha android:layout_marginEnd="10dp"

vior" android:layout_marginStart="10dp"

tools:context=".MainActivity" android:orientation="vertical">

tools:showIn="@layout/activity_main">

<TextView

<android.support.v7.widget.RecyclerView android:id="@+id/note_text"

android:visibility="gone" android:layout_width="match_parent"

android:id="@+id/notes_list" android:layout_height="wrap_content"

android:layout_width="match_parent" android:layout_margin="4dp"

android:layout_height="match_parent" /> android:layout_marginBottom="3dp"

android:maxLines="3"

<TextView android:textSize="18sp" />

android:id="@+id/empty_notes_view"

android:layout_width="wrap_content" <TextView

android:layout_height="wrap_content" android:id="@+id/note_date"

android:layout_centerInParent="true" android:layout_width="wrap_content"

android:text="@string/no_notes" android:layout_height="wrap_content"

android:textSize="18sp" /> android:layout_marginBottom="5dp"

android:layout_marginStart="12dp"

android:layout_marginTop="3dp"

</RelativeLayout> android:textSize="12sp" />

<?xml version="1.0" encoding="utf-8"?>


<LinearLayout <LinearLayout

xmlns:android="http://schemas.android.com/apk/res/andro android:layout_width="match_parent"

id" android:layout_height="0.5dp"

android:layout_width="match_parent" android:layout_marginTop="3dp"

android:layout_height="wrap_content"

android:clickable="true" android:background="@color/view_backg_color" />

android:focusable="true" </LinearLayout>

android:orientation="horizontal">

<!-- TODO: add checkBox --> </LinearLayout>

<android.support.v7.widget.AppCompatCheckBox
<?xml version="1.0" encoding="utf-8"?> tools:context="com.ixidev.simplenotepad.MainActivity">

<menu <item

xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/action_settings"

android:orderInCategory="100"

xmlns:android="http://schemas.android.com/apk/res/andro android:title="@string/action_settings"

id"> app:showAsAction="never" />

</menu>

<item <?xml version="1.0" encoding="utf-8"?>


android:id="@+id/save_note" <adaptive-icon

android:title="SAVE" xmlns:android="http://schemas.android.com/apk/res/andro

app:showAsAction="ifRoom" /> id">

</menu> <background

android:drawable="@color/ic_launcher_background"/>

<?xml version="1.0" encoding="utf-8"?> <foreground

<menu android:drawable="@mipmap/ic_launcher_foreground"/>

xmlns:android="http://schemas.android.com/apk/res/andro </adaptive-icon>

id" <?xml version="1.0" encoding="utf-8"?>


<adaptive-icon

xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:android="http://schemas.android.com/apk/res/andro

id">

<item <background

android:id="@+id/action_checked_count" android:drawable="@color/ic_launcher_background"/>

app:showAsAction="always" <foreground

android:title="0" /> android:drawable="@mipmap/ic_launcher_foreground"/>

<item </adaptive-icon>

android:id="@+id/action_share_note"

android:icon="@drawable/ic_share_black_24dp"

android:title="@string/share_note"

app:showAsAction="ifRoom" />

<item

android:id="@+id/action_delete_notes"

android:icon="@drawable/ic_delete_black_24dp"

android:title="@string/delete_notes"

app:showAsAction="always" />

</menu>

<menu

xmlns:android="http://schemas.android.com/apk/res/andro

id"
xmlns:app="http://schemas.android.com/apk/res-auto"

xmlns:tools="http://schemas.android.com/tools"
PROJECT IN MOBILE
PROGRAMMING

SIMPLE NOTEPAD
APPLICATION

Вам также может понравиться