Refactoring

pull/153/head
M66B 6 years ago
parent d887687904
commit a69c96adbe

@ -8,7 +8,7 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:foreground="?attr/selectableItemBackground">
<View

@ -8,7 +8,7 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:foreground="?attr/selectableItemBackground">
<TextView

@ -8,7 +8,7 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:foreground="?attr/selectableItemBackground"
android:paddingTop="6dp"
android:paddingBottom="6dp">

@ -8,7 +8,7 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:foreground="?attr/selectableItemBackground">
<View

@ -8,7 +8,7 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:foreground="?attr/selectableItemBackground">
<View

@ -8,7 +8,7 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:foreground="?attr/selectableItemBackground"
android:padding="6dp">

@ -8,11 +8,10 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:descendantFocusability="beforeDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:foreground="?attr/selectableItemBackground">
android:focusableInTouchMode="true">
<TextView
android:id="@+id/tvDay"

@ -8,11 +8,10 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:descendantFocusability="beforeDescendants"
android:focusable="true"
android:focusableInTouchMode="true"
android:foreground="?attr/selectableItemBackground">
android:focusableInTouchMode="true">
<TextView
android:id="@+id/tvDay"

@ -8,7 +8,7 @@
android:id="@+id/clItem"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/drawableItemBackground"
android:background="?attr/activatableItemBackground"
android:foreground="?attr/selectableItemBackground">
<TextView

@ -5,7 +5,7 @@
<attr name="colorDrawerScrim" format="reference" />
<attr name="colorDrawerText" format="reference" />
<attr name="colorDrawerBackground" format="reference" />
<attr name="drawableItemBackground" format="reference" />
<attr name="activatableItemBackground" format="reference" />
<style name="AppThemeLight" parent="Base.Theme.AppCompat.Light.DarkActionBar">
<item name="android:windowDisablePreview">true</item>
@ -21,7 +21,7 @@
<item name="colorDrawerText">@color/lightColorDrawerText</item>
<item name="colorDrawerBackground">@color/lightColorDrawerBackground</item>
<item name="drawableItemBackground">@drawable/item_background_light</item>
<item name="activatableItemBackground">@drawable/activatable_item_background_light</item>
<item name="android:checkboxStyle">@style/checkboxStyle</item>
<item name="android:buttonStyle">@style/buttonStyle</item>
@ -43,7 +43,7 @@
<item name="colorDrawerText">@color/darkColorDrawerText</item>
<item name="colorDrawerBackground">@color/darkColorDrawerBackground</item>
<item name="drawableItemBackground">@drawable/item_background_dark</item>
<item name="activatableItemBackground">@drawable/activatable_item_background_dark</item>
<item name="android:checkboxStyle">@style/checkboxStyle</item>
<item name="android:buttonStyle">@style/buttonStyle</item>

Loading…
Cancel
Save