-Added styles list for dark and light themes -Updated libs -Auto refactored resources for easy editing -Improved amoled theme
112 lines
4.3 KiB
XML
112 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<FrameLayout
|
|
android:orientation="horizontal"
|
|
android:id="@id/music_toolbar"
|
|
android:background="?accent"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?actionBarSize"
|
|
style="@style/Toolbar">
|
|
|
|
<ImageView
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/music_left_btn"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:layout_marginLeft="4.0dip"
|
|
android:src="@drawable/ic_back_24"
|
|
style="@style/ActionButton.White" />
|
|
|
|
<ImageView
|
|
android:layout_gravity="center|right"
|
|
android:id="@id/music_right_btn"
|
|
android:layout_width="48.0dip"
|
|
android:layout_height="48.0dip"
|
|
android:layout_marginRight="4.0dip"
|
|
android:src="@drawable/ic_menu_search"
|
|
style="@style/ActionButton.White" />
|
|
|
|
<TextView
|
|
android:textColor="?text_primary"
|
|
android:ellipsize="end"
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/music_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="64.0dip"
|
|
android:layout_marginRight="48.0dip"
|
|
android:maxLines="1"
|
|
style="@style/title_text" />
|
|
|
|
<EditText
|
|
android:textStyle="normal"
|
|
android:gravity="center_vertical"
|
|
android:layout_gravity="center_vertical"
|
|
android:id="@id/music_search"
|
|
android:visibility="gone"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="64.0dip"
|
|
android:layout_marginRight="52.0dip"
|
|
android:hint="@string/music_hint_search"
|
|
android:fontFamily="sans-serif"
|
|
style="@style/SearchInput" />
|
|
</FrameLayout>
|
|
|
|
<android.support.v4.widget.SwipeRefreshLayout
|
|
android:id="@id/music_refresh_layout"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="0.0dip"
|
|
android:layout_weight="1.0">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@id/music_recycler"
|
|
android:paddingTop="8.0dip"
|
|
android:paddingBottom="8.0dip"
|
|
android:clipToPadding="false"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" />
|
|
</android.support.v4.widget.SwipeRefreshLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@id/music_attach_button"
|
|
android:background="@drawable/music_blue_btn"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="48.0dip">
|
|
|
|
<TextView
|
|
android:textSize="16.0sp"
|
|
android:textStyle="normal"
|
|
android:textColor="?text_primary"
|
|
android:id="@id/music_attach_button_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="20.0sp"
|
|
android:text="@string/music_save_button_label"
|
|
android:layout_centerInParent="true"
|
|
android:textAllCaps="true"
|
|
android:fontFamily="@string/font_family_medium"
|
|
style="@style/TextStyle" />
|
|
|
|
<TextView
|
|
android:textStyle="normal"
|
|
android:textColor="@color/music_text_counter"
|
|
android:gravity="center"
|
|
android:id="@id/music_attach_button_counter"
|
|
android:background="@drawable/white_circle"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="8.0dip"
|
|
android:minWidth="20.0dip"
|
|
android:minHeight="20.0dip"
|
|
android:layout_toRightOf="@id/music_attach_button_label"
|
|
android:layout_centerVertical="true"
|
|
android:fontFamily="@string/font_family_medium"
|
|
style="@style/TextStyle" />
|
|
</RelativeLayout>
|
|
</LinearLayout> |