Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19db690d authored by Stephen Bird's avatar Stephen Bird
Browse files

Login and Intro Updates

-Setup the ability to login to cloud storage
-Update the first intro screen
-Design cloud storage login card
-Add cloud storage login to navdrawer

Change-Id: Ia1c3a6c7c1aa622b46d4dc8bc43b3c4bfceba837
parent 4f0bce4d
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -28,13 +28,14 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
LOCAL_SRC_FILES += $(call all-java-files-under, libs/android-syntax-highlight/src)
LOCAL_SRC_FILES += $(call all-java-files-under, libs/color-picker-view/src)

LOCAL_STATIC_JAVA_LIBRARIES += libtruezip
LOCAL_STATIC_JAVA_LIBRARIES += juniversalchardet
LOCAL_STATIC_JAVA_LIBRARIES += cmfm-ambientsdk
LOCAL_STATIC_JAVA_LIBRARIES += cmfm-android-support-v4
LOCAL_STATIC_JAVA_LIBRARIES += cmfm-android-support-v7-appcompat
LOCAL_STATIC_JAVA_LIBRARIES += cmfm-android-support-design
LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-cardview
LOCAL_STATIC_JAVA_LIBRARIES := \
    libtruezip \
    juniversalchardet \
    cmfm-android-support-v4 \
    cmfm-android-support-v7-appcompat \
    cmfm-android-support-design \
    android-support-v7-cardview \
    cmfm-ambientsdk \

LOCAL_PACKAGE_NAME := CMFileManager
LOCAL_CERTIFICATE := platform
@@ -42,7 +43,10 @@ LOCAL_CERTIFICATE := platform
LOCAL_PROGUARD_ENABLED := disabled

LOCAL_AAPT_FLAGS := --auto-add-overlay
LOCAL_AAPT_FLAGS += --extra-packages android.support.design:android.support.v7.appcompat:android.support.v7.cardview
LOCAL_AAPT_FLAGS += --extra-packages android.support.design
LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
LOCAL_AAPT_FLAGS += --extra-packages com.cyanogen.ambient
LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.cardview

include $(BUILD_PACKAGE)
include $(CLEAR_VARS)
+1 −0
Original line number Diff line number Diff line
@@ -189,6 +189,7 @@
      android:name=".activities.WelcomeActivity"
      android:label="@string/app_name"
      android:launchMode="singleTop"
      android:theme="@style/Base.WelcomeTheme"
      android:configChanges="keyboardHidden|screenSize">
    </activity>

+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
    <item>
        <shape
            android:shape="rectangle">
            <solid android:color="@color/material_palette_blue_primary" />
            <solid android:color="@android:color/transparent" />
        </shape>
    </item>

+36 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (c) 2015 The CyanogenMod Project

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="360dp"
    android:height="120dp"
    android:viewportWidth="360"
    android:viewportHeight="120">

    <group>
        <path
            android:fillColor="#1E88E5"
            android:pathData="M396,0c-17.6,0-32.2,12.6-35.4,29.2C346.4,20.8,329.8,16,312,16c-27.1,0-51.6,11.3-69.1,29.4
c-5.5-3.4-12-5.4-18.9-5.4c-11,0-20.9,4.9-27.5,12.7C188,44.8,176.6,40,164,40c-7.4,0-14.5,1.7-20.7,4.7
C139.9,28.3,125.4,16,108,16c-7.8,0-15.1,2.5-21,6.8C82.8,2.9,65.1-12,44-12v120h360V0.9C401.4,0.3,398.8,0,396,0z" />
        <path
            android:fillColor="#2196F3"
            android:pathData="M404,100V42.2c-5.1-1.4-10.5-2.2-16-2.2c-20.1,0-37.9,9.9-48.8,25.1
c-2.3-0.5-4.8-0.7-7.2-0.7c-15.9,0-29.5,10.4-34.2,24.7c-9.4-3.1-19.4-4.7-29.8-4.7c-10.7,0-20.9,1.7-30.5,5
c-8.6-8-20.1-13-32.8-13c-8.8,0-17,2.4-24,6.5c-8.5-13.5-23.5-22.5-40.6-22.5c-11.4,0-21.9,4-30.1,10.6C98.7,45.7,73.4,28,44,28v80
h360V100L404,100z" />
    </group>
</vector>
 No newline at end of file
+133 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (c) 2015 The CyanogenMod Project

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="403.8dp"
    android:height="320.4dp"
    android:viewportWidth="403.8"
    android:viewportHeight="320.4">

    <path
        android:fillColor="#000000"
        android:fillAlpha="0.2"
        android:strokeAlpha="0.2"
        android:pathData="M402,171.3L373.7,143c-1.1-1.1-2.6-1.8-4.2-1.8c-1.6,0-3.1,0.6-4.2,1.8L320,188.3c-2.3,2.3-2.3,6.1,0,8.5
l28.3,28.3c1.1,1.1,2.6,1.8,4.2,1.8s3.1-0.6,4.2-1.8l45.3-45.3c1.1-1.1,1.8-2.6,1.8-4.2C403.8,173.9,403.2,172.4,402,171.3z
M363.8,150.1l31.1,31.1L358.2,218l-31.1-31.1L363.8,150.1z
M351.1,222.2l-28.3-28.3c-0.8-0.8-0.8-2,0-2.8l1.4-1.4l31.1,31.1
l-1.4,1.4C353.2,222.9,351.9,222.9,351.1,222.2z
M399.2,176.9l-1.4,1.4l-31.1-31.1l1.4-1.4c0.4-0.4,0.9-0.6,1.4-0.6
c0.5,0,1,0.2,1.4,0.6l28.3,28.3c0.4,0.4,0.6,0.9,0.6,1.4S399.6,176.6,399.2,176.9z
M360.2,191.7v-32.3L344,175.5L360.2,191.7z M356.2,182l-6.5-6.5l6.5-6.5V182z
M185.9,154.1l4.2-7l-5.5-5.5c2.6-3.9,2.1-9.2-1.3-12.6c-1.9-1.9-4.4-2.9-7.1-2.9
c-2,0-3.9,0.6-5.5,1.7l-5.5-5.5l-7,4.2l-10.4-10.4L43.3,220.7l70.7,70.7l104.7-104.7L185.9,154.1z
M170.7,133.3l1.4-1.4
c1.1-1.1,2.6-1.8,4.2-1.8c1.6,0,3.1,0.6,4.2,1.8c2.3,2.3,2.3,6.1,0,8.5l-1.4,1.4l6,6l-6.4,10.6l-24.7-24.7l10.6-6.4L170.7,133.3z
M147.9,121.7l6.9,6.9l-7.1,4.3l31.9,31.9l4.3-7.1l23.5,23.5l-99,99l-59.4-59.4L147.9,121.7z
M111.1,283l99-99l2.8,2.8l-99,99 L111.1,283z
M173.2,139.2c-0.8-0.8-1.2-1.8-1.2-2.8s0.4-2.1,1.2-2.8s1.8-1.2,2.8-1.2c1.1,0,2.1,0.4,2.8,1.2c0.8,0.8,1.2,1.8,1.2,2.8
s-0.4,2.1-1.2,2.8c-0.8,0.8-1.8,1.2-2.8,1.2C175,140.4,174,140,173.2,139.2z
M179,200.9L128.1,150l5.7-5.7l50.9,50.9L179,200.9z
M123.9,154.3l2.8-2.8l50.9,50.9l-2.8,2.8L123.9,154.3z
M84.9,150.7l-8.5-8.5l0,0l-17-17l0,0l-5.7-5.7L0,173.3l8.5,8.5l0,0l17,17
l0,0l5.7,5.7L84.9,150.7z M48.1,136.6l-2.8-2.8l2.8-2.8l2.8,2.8L48.1,136.6z
M45.3,139.4l-2.8,2.8l-2.8-2.8l2.8-2.8L45.3,139.4z
M39.6,145.1l-2.8,2.8l-2.8-2.8l2.8-2.8L39.6,145.1z
M33.9,150.7l-1.4,1.4l-1.4,1.4l-2.8-2.8l2.8-2.8L33.9,150.7z M28.3,156.4
l-2.8,2.8l-2.8-2.8l2.8-2.8L28.3,156.4z
M22.6,162l-2.8,2.8L17,162l2.8-2.8L22.6,162z
M17,167.7l-2.8,2.8l-2.8-2.8l2.8-2.8L17,167.7 z
M35.4,155l7.1-7.1L56.6,162l-7.1,7.1l-7.1,7.1L28.3,162L35.4,155z
M42.4,181.8l2.8,2.8l-2.8,2.8l-2.8-2.8L42.4,181.8z M45.3,179
l2.8-2.8l2.8,2.8l-2.8,2.8L45.3,179z
M50.9,173.3l1.4-1.4l1.4-1.4l2.8,2.8l-2.8,2.8L50.9,173.3z
M56.6,167.7l2.8-2.8l2.8,2.8 l-2.8,2.8L56.6,167.7z
M62.2,162l2.8-2.8l2.8,2.8l-2.8,2.8L62.2,162z
M67.9,156.4l2.8-2.8l2.8,2.8l-2.8,2.8L67.9,156.4z M36.8,187.5
l2.8,2.8l-2.8,2.8l-2.8-2.8L36.8,187.5z
M76.4,153.5l-2.8-2.8l2.8-2.8l2.8,2.8L76.4,153.5z
M59.4,159.2l-14.1-14.1l14.1-14.1 l14.1,14.1L59.4,159.2z
M56.6,128.1l-2.8,2.8l-2.8-2.8l2.8-2.8L56.6,128.1z
M8.5,170.5l2.8,2.8l-2.8,2.8l-2.8-2.8L8.5,170.5z
M25.5,164.9L39.6,179l-14.1,14.1L11.3,179L25.5,164.9z
M31.1,193.1l2.8,2.8l-2.8,2.8l-2.8-2.8L31.1,193.1z M99,136.6l70.7-70.7
l-48.1-48.1L50.9,88.5L99,136.6z M164,65.9L99,130.9L56.6,88.5l65.1-65.1L164,65.9z
M148.5,72.9L114.6,39l2.8-2.8l33.9,33.9 L148.5,72.9z
M137.9,83.5l-33.9-33.9l2.8-2.8l33.9,33.9L137.9,83.5z
M132.2,89.2L98.3,55.3l2.8-2.8l33.9,33.9L132.2,89.2z
M126.6,94.9L92.6,60.9l2.8-2.8L129.4,92L126.6,94.9z
M120.9,100.5L87,66.6l2.8-2.8l33.9,33.9L120.9,100.5z M81.3,72.2l2.8-2.8
l17,17l-2.8,2.8L81.3,72.2z
M99,110.8c-1.6,0-3.1,0.6-4.2,1.8c-1.1,1.1-1.8,2.6-1.8,4.2c0,1.6,0.6,3.1,1.8,4.2
c1.1,1.1,2.6,1.8,4.2,1.8s3.1-0.6,4.2-1.8c1.1-1.1,1.8-2.6,1.8-4.2c0-1.6-0.6-3.1-1.8-4.2C102.1,111.4,100.6,110.8,99,110.8z
M100.4,118.2c-0.8,0.8-2.1,0.8-2.8,0c-0.4-0.4-0.6-0.9-0.6-1.4c0-0.5,0.2-1,0.6-1.4c0.4-0.4,0.9-0.6,1.4-0.6s1,0.2,1.4,0.6
c0.4,0.4,0.6,0.9,0.6,1.4C101,117.3,100.8,117.8,100.4,118.2z
M268.4,190.3l-5.7-5.7l-5.7,5.7l-5.7-5.7L175,261l59.4,59.4l5.7-5.7
l5.7,5.7l5.7-5.7l5.7,5.7l76.4-76.4L274,184.6L268.4,190.3z
M234.4,314.7L180.7,261l70.7-70.7l2.8,2.8L186.4,261l50.9,50.9 L234.4,314.7z
M245.8,314.7L192,261l70.7-70.7l2.8,2.8L197.7,261l50.9,50.9L245.8,314.7z
M257.1,314.7L203.3,261l70.7-70.7 l53.7,53.7L257.1,314.7z
M62.2,48.9l-2.8-2.8l4.2-4.2c7-7,7-18.4,0-25.5c-3.4-3.4-7.9-5.3-12.7-5.3s-9.3,1.9-12.7,5.3l-4.2,4.2
l-2.8-2.8L5.7,43.2l31.1,31.1L62.2,48.9z
M41,19.2c2.6-2.6,6.2-4.1,9.9-4.1s7.3,1.5,9.9,4.1c5.5,5.5,5.5,14.3,0,19.8l-4.2,4.2
L36.8,23.4L41,19.2z M31.1,23.4l25.5,25.5L36.8,68.7L11.3,43.2L31.1,23.4z
M36.8,49.2c1.6,0,3.1-0.6,4.2-1.8c2.3-2.3,2.3-6.1,0-8.5
c-1.1-1.1-2.6-1.8-4.2-1.8c-1.6,0-3.1,0.6-4.2,1.8c-1.1,1.1-1.8,2.6-1.8,4.2c0,0.9,0.2,1.8,0.6,2.6l-4.5,4.5l2.8,2.8l4.5-4.5
C35,49,35.9,49.2,36.8,49.2z
M35.4,41.8c0.4-0.4,0.9-0.6,1.4-0.6c0.5,0,1,0.2,1.4,0.6c0.8,0.8,0.8,2,0,2.8c-0.8,0.8-2.1,0.8-2.8,0
c-0.4-0.4-0.6-0.9-0.6-1.4C34.8,42.7,35,42.2,35.4,41.8z
M280.6,164c21.9,0,42.5-8.5,58-24c15.5-15.5,24-36.1,24-58s-8.5-42.5-24-58
c-15.5-15.5-36.1-24-58-24s-42.5,8.5-58,24c-15.5,15.5-24,36.1-24,58s8.5,42.5,24,58C238.1,155.5,258.7,164,280.6,164z
M225.5,26.8
C240.2,12.1,259.8,4,280.6,4s40.4,8.1,55.2,22.8s22.8,34.3,22.8,55.2s-8.1,40.4-22.8,55.2S301.5,160,280.6,160s-40.4-8.1-55.2-22.8
s-22.8-34.3-22.8-55.2S210.7,41.6,225.5,26.8z
M280.6,116c9.1,0,17.6-3.5,24-10c6.4-6.4,10-15,10-24s-3.5-17.6-10-24
c-6.4-6.4-15-10-24-10s-17.6,3.5-24,10c-6.4,6.4-10,15-10,24s3.5,17.6,10,24C263,112.5,271.5,116,280.6,116z
M259.4,60.8
c5.7-5.7,13.2-8.8,21.2-8.8s15.5,3.1,21.2,8.8c5.7,5.7,8.8,13.2,8.8,21.2s-3.1,15.5-8.8,21.2c-5.7,5.7-13.2,8.8-21.2,8.8
s-15.5-3.1-21.2-8.8c-5.7-5.7-8.8-13.2-8.8-21.2S253.7,66.5,259.4,60.8z
M287.7,89.1c3.9-3.9,3.9-10.2,0-14.1
c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2,1-7.1,2.9c-3.9,3.9-3.9,10.2,0,14.1c1.9,1.9,4.4,2.9,7.1,2.9S285.8,91,287.7,89.1z
M276.4,77.8
c1.1-1.1,2.6-1.8,4.2-1.8s3.1,0.6,4.2,1.8c2.3,2.3,2.3,6.1,0,8.5c-1.1,1.1-2.6,1.8-4.2,1.8s-3.1-0.6-4.2-1.8
C274,83.9,274,80.1,276.4,77.8z
M234,128.7c-6.6-6.6-11.6-14.4-15-23l3.7-1.4c3.1,8.1,7.8,15.4,14.1,21.6
c6.2,6.2,13.5,10.9,21.6,14.1l-1.4,3.7C248.3,140.3,240.6,135.3,234,128.7z
M239.6,123c-3.8-3.8-7.1-8.2-9.7-12.9l3.5-1.9
c2.4,4.4,5.5,8.4,9.1,12c3.6,3.6,7.6,6.6,12,9.1l-1.9,3.5C247.8,130.1,243.4,126.9,239.6,123z
M245.3,117.4
c-1.6-1.6-3.2-3.4-4.6-5.3l3.2-2.4c1.3,1.7,2.7,3.3,4.2,4.8c1.5,1.5,3.1,2.9,4.8,4.2l-2.4,3.2C248.7,120.5,246.9,119,245.3,117.4z
M302.5,79.3l4-0.5c0.1,1.1,0.2,2.1,0.2,3.2c0,1.1-0.1,2.1-0.2,3.2l-4-0.5c0.1-0.9,0.2-1.8,0.2-2.7
C302.6,81.1,302.6,80.2,302.5,79.3z
M286.9,103.1c3.5-1,6.6-2.9,9.2-5.5l0.1-0.1l1.3,1.5l1.5,1.3l-0.1,0.1c-3,3-6.8,5.3-10.9,6.5
L286.9,103.1z
M301.7,88.3l3.8,1.1c-0.8,2.8-2.1,5.3-3.8,7.7l-3.3-2.3C300,92.8,301,90.6,301.7,88.3z
M283.4,103.8l0.5,4
c-1.1,0.1-2.2,0.2-3.2,0.2c-1.1,0-2.1-0.1-3.2-0.2l0.5-4C279.7,104.1,281.6,104.1,283.4,103.8z
M267.9,99.9c2,1.4,4.2,2.5,6.5,3.2 l-1.1,3.8c-2.8-0.8-5.4-2.1-7.7-3.7L267.9,99.9z
M301.7,75.7c-1-3.5-2.9-6.7-5.5-9.3l2.8-2.9l0.1,0.1c3,3,5.3,6.8,6.5,10.9
L301.7,75.7z
M258.8,84.8l-4,0.5c-0.1-1.1-0.2-2.2-0.2-3.3c0-1.1,0.1-2.1,0.2-3.2l4,0.5c-0.1,0.9-0.2,1.8-0.2,2.7
C258.6,82.9,258.7,83.8,258.8,84.8z
M262.2,100.4c-3-3-5.3-6.8-6.5-10.9l3.8-1.1c1,3.5,2.9,6.6,5.5,9.2l0.1,0.1L262.2,100.4z
M262.2,100.4C262.2,100.4,262.2,100.4,262.2,100.4l1.4-1.3L262.2,100.4L262.2,100.4z
M262.2,100.4L262.2,100.4L262.2,100.4 L262.2,100.4z
M277.8,60.2l-0.5-4c2.1-0.3,4.3-0.3,6.4,0l-0.5,4C281.5,59.9,279.6,59.9,277.8,60.2z
M293.3,64.1 c-2-1.4-4.2-2.5-6.5-3.2l1.1-3.8c2.8,0.8,5.4,2.1,7.7,3.7L293.3,64.1z
M259.5,75.8l-3.8-1.1c0.8-2.8,2.1-5.4,3.7-7.7l3.3,2.3
C261.3,71.2,260.2,73.4,259.5,75.8z
M265.1,66.4l-2.9-2.8l0.1-0.1c3-3,6.8-5.3,10.9-6.5l1.1,3.8C270.8,62,267.6,63.9,265.1,66.4z" />
</vector>
 No newline at end of file
Loading