diff --git a/C5/app/build.gradle b/C5/app/build.gradle index 6acc3ab..76fdd8a 100644 --- a/C5/app/build.gradle +++ b/C5/app/build.gradle @@ -82,14 +82,17 @@ repositories { dependencies { - compile 'com.android.support:appcompat-v7:23.4.0' - compile 'com.android.support:support-v4:23.4.0' + implementation fileTree(include: ['*.jar'], dir: 'libs') + androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { + exclude group: 'com.android.support', module: 'support-annotations' + }) + implementation 'com.android.support:appcompat-v7:26.+' compile files('libs/ant.jar') compile project(':udpmodule') - compile project(':xpadprotocal') compile(name: 'ycanfilereadfunc-release', ext: 'aar') compile(name: 'ycanreaderfileshow-release', ext: 'aar') compile(name: 'ycan-release', ext: 'aar') + compile project(':statusBar') compile 'com.bm.photoview:library:1.4.1' compile 'com.github.barteksc:android-pdf-viewer:2.7.0' compile 'cn.yipianfengye.android:zxing-library:2.2' diff --git a/C5/app/src/main/AndroidManifest.xml b/C5/app/src/main/AndroidManifest.xml index d405802..d06ff8a 100644 --- a/C5/app/src/main/AndroidManifest.xml +++ b/C5/app/src/main/AndroidManifest.xml @@ -70,6 +70,15 @@ + + + + + + 0){//允许另选他人 + list_election_item_add_btn.setEnabled(true); + }else{ + list_election_item_add_btn.setEnabled(false); + } }else{ - //list_election_item_add_btn.setVisibility(View.GONE); list_election_item_add_btn.setEnabled(false); } } diff --git a/C5/app/src/main/res/layout/activity_main.xml b/C5/app/src/main/res/layout/activity_main.xml index 6f11de3..89631a8 100644 --- a/C5/app/src/main/res/layout/activity_main.xml +++ b/C5/app/src/main/res/layout/activity_main.xml @@ -6,7 +6,7 @@ tools:context="com.sunvote.xpadapp.MainActivity" android:background="#720600"> - + + + android:layout_below="@id/title_status"/> + android:background="#E5E5E5" + android:visibility="gone">