fix layout scroll
This commit is contained in:
parent
c6c113a8f3
commit
a6527661f1
4 changed files with 8 additions and 10 deletions
|
|
@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
|
|||
|
||||
android {
|
||||
compileSdkVersion 25
|
||||
buildToolsVersion "25.0.0"
|
||||
buildToolsVersion "25.0.2"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.github.axet.audiorecorder"
|
||||
|
|
@ -38,10 +38,10 @@ android {
|
|||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
testCompile 'junit:junit:4.12'
|
||||
compile 'com.android.support:appcompat-v7:25.1.0'
|
||||
compile 'com.android.support:support-v4:25.1.0'
|
||||
compile 'com.android.support:design:25.1.0'
|
||||
compile 'com.android.support:appcompat-v7:25.1.1'
|
||||
compile 'com.android.support:support-v4:25.1.1'
|
||||
compile 'com.android.support:design:25.1.1'
|
||||
compile 'com.google.android.gms:play-services-appindexing:9.8.0'
|
||||
compile 'org.apache.commons:commons-math3:3.6.1'
|
||||
compile 'com.github.axet:android-library:1.6.9' // compile project(':android-library')
|
||||
compile 'com.github.axet:android-library:1.7.4' // compile project(':android-library')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -631,7 +631,9 @@ public class MainActivity extends AppCompatActivity implements AbsListView.OnScr
|
|||
}
|
||||
}
|
||||
|
||||
public static final String[] PERMISSIONS = new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE};
|
||||
public static final String READ_EXTERNAL_STORAGE = "android.permission.READ_EXTERNAL_STORAGE"; // Manifest.permission.READ_EXTERNAL_STORAGE
|
||||
|
||||
public static final String[] PERMISSIONS = new String[]{READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE};
|
||||
|
||||
boolean permitted(String[] ss) {
|
||||
if (Build.VERSION.SDK_INT < 11)
|
||||
|
|
|
|||
|
|
@ -137,10 +137,8 @@ public class PitchView extends ViewGroup {
|
|||
@Override
|
||||
void post(long delay) {
|
||||
if (delay < slow) {
|
||||
Log.d(TAG, "fallback " + delay + " " + slow);
|
||||
this.fallback.run();
|
||||
} else {
|
||||
Log.d(TAG, "run " + delay + " " + slow);
|
||||
this.run.run();
|
||||
}
|
||||
if (delay > 0)
|
||||
|
|
|
|||
|
|
@ -18,9 +18,7 @@
|
|||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:theme="@style/AppThemeLight.AppBarOverlay"
|
||||
app:layout_scrollFlags="scroll|enterAlways"
|
||||
app:popupTheme="@style/AppThemeLight.PopupOverlay" />
|
||||
|
||||
</android.support.design.widget.AppBarLayout>
|
||||
|
||||
<include layout="@layout/content_main" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue