jenly1314 5 years ago
parent bd74ae12ce
commit b68626587a
  1. 2
      app-dialog/src/main/res/values/strings.xml
  2. 2
      app/src/main/java/com/king/appupdater/MainActivity.java
  3. 2
      app/src/main/res/values/styles.xml

@ -3,5 +3,5 @@
<string name="app_dialog_title">提示</string>
<string name="app_dialog_cancel">取消</string>
<string name="app_dialog_ok"></string>
<string name="app_dialog_ok"></string>
</resources>

@ -258,7 +258,7 @@ public class MainActivity extends AppCompatActivity {
}
public void OnClick(View v){
public void onClick(View v){
switch (v.getId()){
case R.id.btn1:
clickBtn1();

@ -11,6 +11,6 @@
<style name="OnClick">
<item name="android:clickable">true</item>
<item name="android:onClick">OnClick</item>
<item name="android:onClick">onClick</item>
</style>
</resources>

Loading…
Cancel
Save