Viser innlegg med etiketten android. Vis alle innlegg
Viser innlegg med etiketten android. Vis alle innlegg

onsdag 3. januar 2018

Android with support actionbar, two buttons at the bottom and a scrollview in between


I recently ran into a problem with buttons located at the bottom of my screen no longer showing when the soft keyboard was present.

To investigate I created this small project:

https://bitbucket.org/ovestoerholt/layout_bottom_buttons_move_with_softkeyboard

Hope the example can be of help to someone!


onsdag 5. juli 2017

Android note to self #1: Google Maven repository

From support library version 25.4.0 and newer you need to add 'google' as a repository.
Application build.gradle:


dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:25.4.0'
    compile 'com.android.support:cardview-v7:25.4.0'
    compile 'com.android.support:design:25.4.0'
    compile 'com.android.support:recyclerview-v7:25.4.0'
}
repositories {
    mavenCentral()
    google()
}