Commit 07b3e5cb authored by Joey's avatar Joey

Eleven: fix card styles... 2 years later

This style was just an experiment and it was
never supposed to be shipped ( 120fc6dd ).

Change-Id: I302ded8c0ca6e6fdc4b0de6eba489531cda43015
Signed-off-by: default avatarJoey <joey@lineageos.org>
parent 48591811
......@@ -20,11 +20,10 @@
android:layout_width="156dp"
android:layout_height="222dp"
android:layout_marginRight="8dp"
android:paddingBottom="8dp"
android:foreground="@drawable/selectable_background"
android:elevation="3dp"
card_view:cardElevation="4dp"
card_view:cardCornerRadius="2dp"
card_view:cardCornerRadius="4dp"
card_view:cardBackgroundColor="@color/cards_bg_color">
<RelativeLayout
......@@ -47,7 +46,7 @@
android:layout_alignParentRight="true"
android:layout_marginBottom="1dp"
android:gravity="center_vertical"
android:src="@drawable/menu_button_light" />
android:src="@drawable/menu_button" />
<LinearLayout
android:layout_width="match_parent"
......
......@@ -20,8 +20,10 @@
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
card_view:cardElevation="4dp"
card_view:cardCornerRadius="2dp"
card_view:cardCornerRadius="4dp"
card_view:cardBackgroundColor="@color/cards_bg_color" >
<LinearLayout
......@@ -65,8 +67,8 @@
android:id="@+id/popup_menu_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingRight="@dimen/grid_item_padding_right"
android:src="@drawable/menu_button_light" />
android:layout_marginRight="@dimen/grid_item_padding_right"
android:src="@drawable/menu_button" />
</LinearLayout>
......
......@@ -49,9 +49,9 @@
<color name="default_text_color_light">@color/white</color>
<!-- Cards -->
<color name="cards_bg_color">#273139</color>
<color name="cardOne">@color/white</color>
<color name="cardTwo">#e0e0e0</color>
<color name="cards_bg_color">#fefefe</color>
<color name="cardOne">@color/black</color>
<color name="cardTwo">#424242</color>
<!-- Transparent colors -->
<color name="transparent">#00000000</color>
......
......@@ -51,15 +51,15 @@
<!-- List view fast scroll padding right -->
<dimen name="fast_scroll_padding_right">8dp</dimen>
<!-- grid view vertical and horizontal spacing -->
<dimen name="grid_item_horizontal_spacing">2dp</dimen>
<dimen name="grid_item_vertical_spacing">2dp</dimen>
<dimen name="grid_item_horizontal_spacing">8dp</dimen>
<dimen name="grid_item_vertical_spacing">8dp</dimen>
<!-- List item detailed height -->
<dimen name="list_item_detailed_height">128dp</dimen>
<!-- Top margin of "line_two" -->
<dimen name="list_item_line_two_margin_top">8dp</dimen>
<!-- Left padding in the grid text -->
<dimen name="grid_item_padding_left">16dp</dimen>
<dimen name="grid_item_padding_right">16dp</dimen>
<dimen name="grid_item_padding_left">8dp</dimen>
<dimen name="grid_item_padding_right">8dp</dimen>
<!-- Left padding in the grid text -->
<dimen name="grid_bottom_height">44dip</dimen>
<!-- Grid and list item normal height -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment