Эх сурвалжийг харах

2.修改Android Apex Mobile Result Menu图标。

Pen Li 7 жил өмнө
parent
commit
913b3e2ba3

+ 1 - 1
ApexDrivers/RAUtilsLibrary/src/main/java/com/usai/redant/rautils/actionsheet/ActionSheet.java

@@ -64,7 +64,7 @@ public class ActionSheet extends Dialog implements View.OnClickListener {
             buttonListenerMap.put(button,clickListener);
         }
 
-        button.setTitleColorForState(RAButton.RAButtonState.RAButtonStateHighlight,Color.RED);
+        button.setTitleColorForState(RAButton.RAButtonState.RAButtonStateHighlight,Color.GRAY);
         button.setBackgroundDrawableForState(RAButton.RAButtonState.RAButtonStateNormal,mCtx.getResources().getDrawable(R.drawable.actionsheet_round_corner_normal_bg));
 
         LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,dp2px(mCtx,50));

+ 1 - 0
ApexDrivers/apexmobile/src/main/java/com/usai/apex/apexresult/ApexResultActivity.java

@@ -108,6 +108,7 @@ public class ApexResultActivity extends AppCompatActivity implements ApexResultP
         if (savedInstanceState != null) {
             mPresenter.onRestoreInstanceState(savedInstanceState);
         } else {
+            mPresenter.dirty = true;
             mPresenter.loadData();
         }
     }

+ 1 - 1
ApexDrivers/apexmobile/src/main/res/menu/apex_result_menu.xml

@@ -4,7 +4,7 @@
 
     <item
         android:id="@+id/apex_result_menu"
-        android:icon="@drawable/ic_setting"
+        android:icon="@drawable/ic_menu"
         android:title=""
         app:showAsAction="always"
         />