界面样式优化

master
liuyx 2 years ago
parent 4a6219c302
commit 1c70e3bfa3

@ -25,11 +25,6 @@
<show-object-properties value="false" />
<loaded-nodes />
</component>
<component name="DBNavigator.Project.DatabaseConsoleManager">
<connection id="f1b3c634-3f7d-4ad0-b409-c0a3065b31f8">
<console name="Connection" type="STANDARD" schema="main" session="Main"><![CDATA[select * from notes]]></console>
</connection>
</component>
<component name="DBNavigator.Project.DatabaseEditorStateManager">
<last-used-providers />
</component>
@ -42,6 +37,9 @@
<component name="DBNavigator.Project.EditorStateManager">
<last-used-providers />
</component>
<component name="DBNavigator.Project.ExecutionManager">
<retain-sticky-names value="false" />
</component>
<component name="DBNavigator.Project.MethodExecutionManager">
<method-browser />
<execution-history>
@ -57,99 +55,14 @@
<last-used-operator value="EQUAL" />
<filters />
</component>
<component name="DBNavigator.Project.ParserDiagnosticsManager">
<diagnostics-history />
</component>
<component name="DBNavigator.Project.ScriptExecutionManager" clear-outputs="true">
<recently-used-interfaces />
</component>
<component name="DBNavigator.Project.Settings">
<connections>
<connection id="f1b3c634-3f7d-4ad0-b409-c0a3065b31f8" active="true" signed="true">
<database>
<name value="Connection" />
<description value="" />
<database-type value="SQLITE" />
<config-type value="BASIC" />
<database-version value="3.21" />
<driver-source value="BUILTIN" />
<driver-library value="" />
<driver value="" />
<url-type value="FILE" />
<host value="localhost" />
<port value="1234" />
<database value="database" />
<files>
<file path="C:\Users\Sungod\Desktop\notes" schema="main" />
</files>
<type value="NONE" />
<user value="" />
<deprecated-pwd value="" />
</database>
<properties>
<auto-commit value="false" />
</properties>
<ssh-settings>
<active value="false" />
<proxy-host value="" />
<proxy-port value="22" />
<proxy-user value="" />
<deprecated-proxy-pwd value="" />
<auth-type value="PASSWORD" />
<key-file value="" />
<key-passphrase value="" />
</ssh-settings>
<ssl-settings>
<active value="false" />
<certificate-authority-file value="" />
<client-certificate-file value="" />
<client-key-file value="" />
</ssl-settings>
<details>
<charset value="UTF-8" />
<session-management value="true" />
<ddl-file-binding value="true" />
<database-logging value="false" />
<connect-automatically value="true" />
<restore-workspace value="true" />
<restore-workspace-deep value="true" />
<environment-type value="default" />
<connectivity-timeout value="10" />
<idle-time-to-disconnect value="30" />
<idle-time-to-disconnect-pool value="5" />
<credential-expiry-time value="10" />
<max-connection-pool-size value="7" />
<alternative-statement-delimiter value="" />
</details>
<object-filters hide-empty-schemas="false" hide-pseudo-columns="false">
<object-type-filter>
<object-type name="SCHEMA" enabled="true" />
<object-type name="USER" enabled="true" />
<object-type name="ROLE" enabled="true" />
<object-type name="PRIVILEGE" enabled="true" />
<object-type name="CHARSET" enabled="true" />
<object-type name="TABLE" enabled="true" />
<object-type name="VIEW" enabled="true" />
<object-type name="MATERIALIZED_VIEW" enabled="true" />
<object-type name="NESTED_TABLE" enabled="true" />
<object-type name="COLUMN" enabled="true" />
<object-type name="INDEX" enabled="true" />
<object-type name="CONSTRAINT" enabled="true" />
<object-type name="DATASET_TRIGGER" enabled="true" />
<object-type name="DATABASE_TRIGGER" enabled="true" />
<object-type name="SYNONYM" enabled="true" />
<object-type name="SEQUENCE" enabled="true" />
<object-type name="PROCEDURE" enabled="true" />
<object-type name="FUNCTION" enabled="true" />
<object-type name="PACKAGE" enabled="true" />
<object-type name="TYPE" enabled="true" />
<object-type name="TYPE_ATTRIBUTE" enabled="true" />
<object-type name="ARGUMENT" enabled="true" />
<object-type name="DIMENSION" enabled="true" />
<object-type name="CLUSTER" enabled="true" />
<object-type name="DBLINK" enabled="true" />
</object-type-filter>
<object-name-filters />
</object-filters>
</connection>
</connections>
<connections />
<browser-settings>
<general>
<display-mode value="TABBED" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:top="20dp">
<shape android:shape="rectangle">
<solid android:color="?attr/lvBackground" />
<corners android:radius="15dp"/>
</shape>
</item>
<item android:bottom="10dp">
<shape android:shape="rectangle">
<solid android:color="?attr/tvBackground" />
<padding android:bottom="20dp"
android:top="20dp"
android:right="20dp"
android:left="20dp"/>
<corners android:radius="15dp"/>
</shape>
</item>
</layer-list>

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffff" />
<padding
android:left="15dp"
android:top="12dp"
android:right="15dp"
android:bottom="12dp" />
<corners android:radius="10dp"/>
</shape>

@ -0,0 +1,97 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="?attr/lvBackground"
tools:context="cc.liuyx.note.activity.AboutActivity">
<android.support.v7.widget.Toolbar
android:id="@+id/my_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:elevation="4dp"
app:titleTextColor="?attr/titleColor"
app:title="关于我"
android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="25dp">
<ImageView
android:layout_width="128dp"
android:layout_height="128dp"
android:layout_gravity="center"
android:src="@mipmap/ic_avatar" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/sentence"
android:textSize="18sp"
android:layout_marginTop="18dp"
android:layout_marginBottom="20dp"
android:background="@drawable/shape_text"/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#303F9F"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/contact"
android:textAlignment="center"
android:textSize="18sp"
android:textStyle="bold"
android:background="@drawable/shape_text"
android:layout_marginTop="20dp"
android:layout_marginBottom="10dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/github"
android:textAlignment="center"
android:background="@drawable/shape_text"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/blog"
android:textAlignment="center"
android:background="@drawable/shape_text"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/qq"
android:textAlignment="center"
android:background="@drawable/shape_text"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/email"
android:textAlignment="center"
android:background="@drawable/shape_text"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"/>
</LinearLayout>
</LinearLayout>

@ -6,7 +6,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="0dp"
android:background="?attr/lvBackground"
android:background="@drawable/bg_img"
android:orientation="vertical"
tools:context="cc.liuyx.note.activity.MainActivity">
@ -84,7 +84,6 @@
android:layout_marginLeft="10dp"
android:layout_marginTop="8dp"
android:layout_marginRight="10dp"
android:divider="?attr/lvBackground"
android:dividerHeight="8dp">
</ListView>

@ -96,7 +96,7 @@
android:layout_height="match_parent"
android:layout_margin="8dp"
android:autofillHints=""
android:background="@null"
android:background="@drawable/shape_edit"
android:gravity="top"
android:hint="@string/plan_content"
android:inputType="text"

@ -33,10 +33,14 @@
android:id="@+id/et"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="8dp"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:gravity="top"
android:background="@null"
android:background="@drawable/shape_edit"
android:textColor="?attr/tvMainColor"
android:textSize="24dp" />
android:textSize="22sp"
android:hint="写下你的想法吧!" />
</LinearLayout>

@ -6,7 +6,7 @@
android:paddingRight="10dp"
android:paddingTop="5dp"
android:paddingBottom="12dp"
android:background="@drawable/note_shape"
android:background="@drawable/shape_note"
android:outlineAmbientShadowColor="@color/black">
<TextView

@ -6,7 +6,7 @@
android:paddingRight="12dp"
android:paddingTop="5dp"
android:paddingBottom="12dp"
android:background="@drawable/note_shape"
android:background="@drawable/shape_note"
android:outlineAmbientShadowColor="@color/black">
<LinearLayout
@ -19,7 +19,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Title"
android:textSize="28dp"
android:textSize="20sp"
android:singleLine="true"
android:textColor="?attr/tvMainColor"/>
<TextView
@ -28,7 +28,7 @@
android:layout_height="wrap_content"
android:text="Time"
android:gravity="center"
android:textSize="24dp"
android:textSize="20sp"
android:textColor="?attr/tvMainColor"/>
</LinearLayout>
@ -37,7 +37,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Content"
android:textSize="20dp"
android:textSize="16sp"
android:textColor="?attr/tvSubColor"
android:singleLine="true"/>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_avatar_background"/>
<foreground android:drawable="@mipmap/ic_avatar_foreground"/>
</adaptive-icon>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_avatar_background"/>
<foreground android:drawable="@mipmap/ic_avatar_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_avatar_background">#FFFFFF</color>
</resources>

@ -20,4 +20,10 @@
<string name="setting">设置</string>
<string name="about">关于我</string>
<string name="add_tag">添加标签</string>
<string name="qq">QQ: 1517482303</string>
<string name="email">Email: liuyxcc@foxmail.com</string>
<string name="github">Github: https://github.com/liuyxcc</string>
<string name="blog">Blog: http://blog.liuyx.cc</string>
<string name="sentence">无人问津也好,技不如人也罢,你都要试着安静下来,去做自己该做的事,而不是让内心的焦虑、烦躁,毁掉你本就不多的热情和定力。</string>
<string name="contact">My contact information</string>
</resources>

Loading…
Cancel
Save