Clean ups.
This commit is contained in:
parent
9c98fc1cf6
commit
14516092f5
30 changed files with 133 additions and 164 deletions
|
|
@ -38,7 +38,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/title_view_height"
|
||||
android:height="@dimen/title_view_height"
|
||||
android:background="?default_bar_color"
|
||||
android:background="?attr/defaultFooterColor"
|
||||
android:elevation="@dimen/toolbar_elevation"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center_vertical"
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/title_view_height"
|
||||
android:height="@dimen/title_view_height"
|
||||
android:background="?default_bar_color"
|
||||
android:background="?attr/defaultFooterColor"
|
||||
android:elevation="@dimen/toolbar_elevation"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:gravity="center_vertical"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="-8dp"
|
||||
android:background="?divider_color" />
|
||||
android:background="?attr/dividerColor" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -54,7 +54,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_info_outline_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -86,7 +88,7 @@
|
|||
android:id="@+id/changelog"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -99,7 +101,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_history_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -117,7 +121,7 @@
|
|||
android:id="@+id/intro"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -130,7 +134,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_book_open_variant_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -148,7 +154,7 @@
|
|||
android:id="@+id/licenses"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -161,7 +167,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_description_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -42,7 +42,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_person_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -72,7 +74,7 @@
|
|||
android:id="@+id/add_to_google_plus_circles"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -85,7 +87,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_google_circles_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -103,7 +107,7 @@
|
|||
android:id="@+id/follow_on_twitter"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -116,7 +120,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_twitter_box_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -134,7 +140,7 @@
|
|||
android:id="@+id/fork_on_git_hub"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -147,7 +153,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_github_circle_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -165,7 +173,7 @@
|
|||
android:id="@+id/visit_website"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -178,7 +186,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_web_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
android:id="@+id/report_bugs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -43,7 +43,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_bug_report_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -73,7 +75,7 @@
|
|||
android:id="@+id/join_google_plus_community"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -86,7 +88,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_google_circles_communities_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -116,7 +120,7 @@
|
|||
android:id="@+id/translate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -129,7 +133,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_flag_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -159,7 +165,7 @@
|
|||
android:id="@+id/rate_on_google_play"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -172,7 +178,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_play_shopping_bag_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -202,7 +210,7 @@
|
|||
android:id="@+id/donate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:clickable="true"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="@dimen/md_listitem_height"
|
||||
|
|
@ -215,7 +223,9 @@
|
|||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_attach_money_white_24dp"
|
||||
tools:ignore="ContentDescription" />
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription,UnusedAttribute" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
android:layout_height="@dimen/mini_player_height"
|
||||
android:clickable="true"
|
||||
android:focusable="false"
|
||||
android:background="?cardBackgroundColor"
|
||||
android:transitionName="@string/transition_mini_player"
|
||||
tools:ignore="UnusedAttribute">
|
||||
|
||||
|
|
@ -23,6 +24,9 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_margin="16dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/ic_keyboard_arrow_up_white_24dp"
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
android:layout_marginRight="-8dp"
|
||||
android:layout_toLeftOf="@+id/dummy_fab"
|
||||
android:layout_toStartOf="@+id/dummy_fab"
|
||||
android:background="?round_selector"
|
||||
android:background="?attr/roundSelector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_skip_previous_white_36dp" />
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
android:layout_marginStart="-8dp"
|
||||
android:layout_toEndOf="@+id/dummy_fab"
|
||||
android:layout_toRightOf="@+id/dummy_fab"
|
||||
android:background="?round_selector"
|
||||
android:background="?attr/roundSelector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_skip_next_white_36dp" />
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:background="?round_selector"
|
||||
android:background="?attr/roundSelector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_repeat_white_36dp" />
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="?round_selector"
|
||||
android:background="?attr/roundSelector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_shuffle_white_36dp" />
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?rect_selector"
|
||||
android:background="?attr/rectSelector"
|
||||
android:orientation="horizontal"
|
||||
android:paddingBottom="@dimen/md_simplelistitem_padding_top"
|
||||
android:paddingEnd="@dimen/md_dialog_frame_margin"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:foreground="?rect_selector">
|
||||
android:foreground="?attr/rectSelector">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
android:layout_height="148dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:foreground="?rect_selector"
|
||||
android:foreground="?attr/rectSelector"
|
||||
app:cardBackgroundColor="?cardBackgroundColor">
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="72dp"
|
||||
android:foreground="?rect_selector"
|
||||
android:foreground="?attr/rectSelector"
|
||||
tools:ignore="UnusedAttribute">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
android:layout_marginLeft="-8dp"
|
||||
android:layout_marginStart="-8dp"
|
||||
android:src="@drawable/ic_drag_vertical_white_24dp"
|
||||
android:tint="?icon_color"
|
||||
android:tint="?attr/iconColor"
|
||||
android:visibility="gone"
|
||||
android:tintMode="src_in"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="?divider_color"
|
||||
android:background="?attr/dividerColor"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
|
|
@ -107,6 +107,6 @@
|
|||
android:layout_gravity="bottom"
|
||||
android:layout_marginLeft="72dp"
|
||||
android:layout_marginStart="72dp"
|
||||
android:background="?divider_color" />
|
||||
android:background="?attr/dividerColor" />
|
||||
|
||||
</FrameLayout>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="64dp"
|
||||
android:foreground="?rect_selector"
|
||||
android:foreground="?attr/rectSelector"
|
||||
tools:ignore="UnusedAttribute">
|
||||
|
||||
<ImageView
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
android:layout_marginLeft="-8dp"
|
||||
android:layout_marginStart="-8dp"
|
||||
android:src="@drawable/ic_drag_vertical_white_24dp"
|
||||
android:tint="?icon_color"
|
||||
android:tint="?attr/iconColor"
|
||||
android:tintMode="src_in"
|
||||
android:visibility="gone"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="?divider_color"
|
||||
android:background="?attr/dividerColor"
|
||||
android:visibility="gone" />
|
||||
|
||||
<View
|
||||
|
|
@ -92,6 +92,6 @@
|
|||
android:layout_gravity="bottom"
|
||||
android:layout_marginLeft="72dp"
|
||||
android:layout_marginStart="72dp"
|
||||
android:background="?divider_color" />
|
||||
android:background="?attr/dividerColor" />
|
||||
|
||||
</FrameLayout>
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="true"
|
||||
android:foreground="?rect_selector">
|
||||
android:foreground="?attr/rectSelector">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue