Skip to content
Snippets Groups Projects
Commit 708fbe85 authored by John Carlson's avatar John Carlson
Browse files

Add Lift and use default card color for dark theme

parent 200b1f67
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -94,6 +94,7 @@ dependencies {
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.1.0'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.github.Commit451:EventBusProGuardRules:3.0.0.0'
compile 'io.reactivex:rxjava:1.2.2'
compile 'com.artemzin.rxjava:proguard-rules:1.2.2.0'
compile 'io.reactivex:rxandroid:1.2.1'
Loading
Loading
@@ -119,13 +120,14 @@ dependencies {
compile 'com.github.Commit451:ForegroundViews:2.3.1'
compile 'com.github.Commit451:MorphTransitions:2.0.0'
compile 'com.github.Commit451:Alakazam:0.0.1'
compile 'com.github.Commit451:Lift:1.0.1'
compile 'me.zhanghai.android.materialprogressbar:library:1.3.0'
compile 'com.github.Jawnnypoo:PhysicsLayout:2.1.0'
compile 'com.alexgwyn.recyclerviewsquire:recyclerviewsquire:0.0.6'
compile 'com.github.ivbaranov:materiallettericon:0.2.2'
compile 'com.github.johnkil.android-robototextview:robototextview:2.5.1'
compile 'com.github.alorma:diff-textview:1.3.0'
compile 'com.wdullaer:materialdatetimepicker:2.5.0'
compile 'com.wdullaer:materialdatetimepicker:3.0.0'
compile 'com.wefika:flowlayout:0.4.1'
compile 'com.github.novoda:simple-chrome-custom-tabs:0.1.4'
compile 'com.afollestad.material-dialogs:core:0.9.1.0'
Loading
Loading
Loading
Loading
@@ -17,6 +17,7 @@ import com.commit451.gitlab.api.converter.UriTypeConverter;
import com.commit451.gitlab.data.Prefs;
import com.commit451.gitlab.model.Account;
import com.commit451.gitlab.util.FabricUtil;
import com.commit451.lift.Lift;
import com.novoda.simplechromecustomtabs.SimpleChromeCustomTabs;
import com.squareup.leakcanary.LeakCanary;
import com.squareup.picasso.Picasso;
Loading
Loading
@@ -92,6 +93,13 @@ public class App extends Application {
if(!accounts.isEmpty()) {
setAccount(accounts.get(0));
}
Lift.check(this, new Lift.Callback() {
@Override
public void onUpgrade(int oldVersion, int newVersion) {
}
});
}
 
@VisibleForTesting
Loading
Loading
Loading
Loading
@@ -20,7 +20,6 @@
<color name="blue_background">#414d5b</color>
<color name="other_blue">#5b6b7e</color>
 
<color name="card_background">@color/other_blue</color>
<color name="window_background">#303030</color>
 
<color name="scrim">#99323232</color>
Loading
Loading
Loading
Loading
@@ -6,7 +6,6 @@
<item name="colorPrimary">@color/main_blue</item>
<item name="colorAccent">@color/yellow</item>
<item name="colorPrimaryDark">@color/main_blue_darker</item>
<item name="cardBackgroundColor">@color/card_background</item>
<item name="android:navigationBarColor" tools:targetApi="lollipop">@color/main_blue_darker</item>
<item name="android:windowContentTransitions" tools:ignore="NewApi">true</item>
<item name="android:windowBackground">@color/window_background</item>
Loading
Loading
@@ -65,7 +64,6 @@
<item name="cardUseCompatPadding">true</item>
<item name="cardElevation">2dp</item>
<item name="cardCornerRadius">1dp</item>
<item name="cardBackgroundColor">@color/card_background</item>
<item name="android:foreground">?attr/selectableItemBackground</item>
</style>
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment