|
|
|
@ -1,12 +1,14 @@
|
|
|
|
|
<?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:focusable="true"
|
|
|
|
|
android:background="?attr/lvBackground"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:background="?attr/lvBackground">
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
|
android:id="@+id/my_toolbar"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
@ -14,80 +16,117 @@
|
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
|
android:elevation="4dp"
|
|
|
|
|
android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
|
|
|
|
|
app:navigationIcon="@mipmap/ic_app"
|
|
|
|
|
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
|
|
|
|
app:title="简言"
|
|
|
|
|
app:titleTextColor="?attr/titleColor"/>
|
|
|
|
|
app:titleTextColor="?attr/titleColor" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
|
|
|
|
|
tools:ignore="MissingConstraints,UseCompoundDrawables">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/setting_settings_image"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:src="@drawable/ic_setting" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/setting_settings_text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="@string/setting"
|
|
|
|
|
android:textColor="?attr/tvMainColor"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
|
|
|
|
|
tools:ignore="MissingConstraints,UseCompoundDrawables">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/setting_about_image"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:src="@drawable/ic_more" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/setting_about_text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="@string/about"
|
|
|
|
|
android:textColor="?attr/tvMainColor"
|
|
|
|
|
android:textSize="18sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
>
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
|
|
|
|
|
>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/setting_settings_image"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:src="?attr/settingIcon"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
/>
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/setting_settings_text"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="设置"
|
|
|
|
|
android:textColor="?attr/tvMainColor"
|
|
|
|
|
android:layout_marginStart="10dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:textSize="18sp"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="@color/black"
|
|
|
|
|
android:alpha="0.2"/>
|
|
|
|
|
<ListView
|
|
|
|
|
android:id="@+id/lv_tag"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
|
android:alpha="0.2"
|
|
|
|
|
android:background="@color/black" />
|
|
|
|
|
|
|
|
|
|
</ListView>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="48dp"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:background="?attr/tvBackground">
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="44dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:src="?attr/addTag"/>
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_margin="10dp"
|
|
|
|
|
android:src="@drawable/ic_edit" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/add_tag"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:text="Add New Tag"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:focusable="true"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:text="@string/add_tag"
|
|
|
|
|
android:textColor="?attr/tvMainColor"
|
|
|
|
|
android:textSize="20sp"
|
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
|
android:focusable="true" />
|
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
|
android:id="@+id/lv_tag"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|