diff --git a/.idea/misc.xml b/.idea/misc.xml index fbb68289f4..5d19981032 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -37,7 +37,7 @@ - + diff --git a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/WearableListItemLayout.java b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/WearableListItemLayout.java index a97305d7e2..89925cc9b8 100644 --- a/wear/src/main/java/info/nightscout/androidaps/interaction/utils/WearableListItemLayout.java +++ b/wear/src/main/java/info/nightscout/androidaps/interaction/utils/WearableListItemLayout.java @@ -17,7 +17,7 @@ import info.nightscout.androidaps.R; public class WearableListItemLayout extends LinearLayout implements WearableListView.OnCenterProximityListener { - private ImageView mCircle; + //private ImageView mCircle; private TextView mName; private final float mFadedTextAlpha; @@ -45,19 +45,19 @@ public class WearableListItemLayout extends LinearLayout @Override protected void onFinishInflate() { super.onFinishInflate(); - mCircle = (ImageView) findViewById(R.id.circle); + //mCircle = (ImageView) findViewById(R.id.circle); mName = (TextView) findViewById(R.id.actionitem); } @Override public void onCenterPosition(boolean animate) { mName.setAlpha(1f); - ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); + //((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor); } @Override public void onNonCenterPosition(boolean animate) { - ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); + //((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor); mName.setAlpha(mFadedTextAlpha); } } diff --git a/wear/src/main/res/layout/list_item.xml b/wear/src/main/res/layout/list_item.xml index 6bb172b3d9..a6193efc3e 100644 --- a/wear/src/main/res/layout/list_item.xml +++ b/wear/src/main/res/layout/list_item.xml @@ -3,17 +3,18 @@ android:gravity="center_vertical" android:layout_width="match_parent" android:layout_height="80dp"> - + android:src="@drawable/wl_circle"/-->