From 3f3bee97064dcf99e26a743e95a4ea9fc0fdbd50 Mon Sep 17 00:00:00 2001 From: moko256 Date: Fri, 8 Dec 2017 23:33:49 +0900 Subject: [PATCH] fix layout --- .idea/vcs.xml | 6 ++++++ app/build.gradle | 3 +-- app/src/main/res/layout/activity_main.xml | 12 ++++-------- 3 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index cff59dd..5529404 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,8 +20,7 @@ android { } dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation 'com.android.support.constraint:constraint-layout:1.0.2' + //implementation fileTree(dir: 'libs', include: ['*.jar']) testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 7075130..d5430f9 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,6 +1,5 @@ - + android:textColor="@android:color/primary_text_light" + android:text="次のコマンドを実行してください\n\nadb shell pm grant com.github.moko256.usbdebugswitch android.permission.WRITE_SECURE_SETTINGS" /> - +